summaryrefslogtreecommitdiff
path: root/tox.ini
Commit message (Collapse)AuthorAgeFilesLines
* Make tox.ini tox 4.0 compatibleEmma Foley2023-01-041-5/+13
| | | | | | | | | * passenv fixed as space separated list is not allowed any more * doc target uses requirements from requirements.txt as well as doc/requirements * skipsdist is not supported Change-Id: Ib60d63499fd021d9ec25357d20685573b18ade3e
* Add debug to tox environmentYadnesh Kulkarni2022-07-041-0/+5
| | | | | | | | | | | | | | | | The oslotest package distributes a shell file that may be used to assist in debugging python code. The shell file uses testtools, and supports debugging with pdb. To enable debugging, run tox with the debug environment. Below are the following ways to run it. * tox -e debug module * tox -e debug module.test_class * tox -e debug module.test_class.test_method Signed-off-by: Yadnesh Kulkarni <ykulkarn@redhat.com> Change-Id: I7015ab52ba3f5075b5e06992bb8d72f52104a24e
* Merge "Drop lower-constraints.txt and its testing"Zuul2022-06-271-6/+0
|\
| * Drop lower-constraints.txt and its testingGhanshyam Mann2022-05-011-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | As discussed in TC PTG[1] and TC resolution[2], we are dropping the lower-constraints.txt file and its testing. We will keep lower bounds in the requirements.txt file but with a note that these are not tested lower bounds and we try our best to keep them updated. [1] https://etherpad.opendev.org/p/tc-zed-ptg#L326 [2] https://governance.openstack.org/tc/resolutions/20220414-drop-lower-constraints.html#proposal Change-Id: I817e5112eb57df2e6192d3cfa681b7768832c77a
* | Update python testing as per zed cycle testing runtimeTakashi Kajinami2022-06-081-1/+1
|/ | | | | | | | | | | In Zed cycle, we have dropped the python 3.6/3.7[1] testing and its support. Add release notes and update the python classifier for the same. [1] https://governance.openstack.org/tc/reference/runtimes/zed.html Co-Authored-By: Ghanshyam Mann <gmann@ghanshyammann.com> Change-Id: Ieec37d300bca0c78f9420657066b1c60a64911e9
* Update requirements and lower_constraintsMatthias Runge2021-10-121-1/+1
| | | | | | | Also add the lower-constraints test to a more prominent place in tox. Change-Id: Ida5a27ef2af8536b91df23eb9af9ed4bdedcce4b
* Changed minversion in tox to 3.18.0wu.shiming2021-05-311-3/+3
| | | | | | | | The patch bumps min version of tox to 3.18.0 in order to replace tox's whitelist_externals by allowlist_externals option: https://github.com/tox-dev/tox/blob/master/docs/changelog.rst#v3180-2020-07-23 Change-Id: I89ec8e5ac9578c0fa6ec8612d20753e9dbb45aaa
* Use tox constraints instead of upper constraintsMatthias Runge2021-04-261-3/+4
| | | | | | | | | | | Drop cap on tenacity, since it is already capped by upper constraints. Make grenade jobs non-voting, until they have been fixed. Depends-on: https://review.opendev.org/c/openstack/telemetry-tempest-plugin/+/787739 Change-Id: Ie21f8db89fc2045fd6cc6b1b7a5886b7e87e08e2
* Update requirements URLs in tox configlikui2021-01-141-1/+1
| | | | | | | Update the URL to the upper-constraints file to point to the redirect rule on releases.openstack.org Change-Id: If5ce1830aab844fa34ec375e474fa1651693cad9
* Reuse the docs deps to benefit from constraintslikui2020-11-171-1/+3
| | | | | | | | Tox trying to install latest versions for building releasenotes, which may not be supported by stable and lower branches, so should be restricted by respective version's upper-constraints.txt Change-Id: If0b3ecffaccff9512ec43b853a8a6eaa8088251e
* Merge "Bump hacking min version to 3.0.1"Zuul2020-11-021-1/+1
|\
| * Bump hacking min version to 3.0.1likui2020-10-281-1/+1
| | | | | | | | | | | | | | | | | | | | hacking 3.0.1 fix the pinning of flake8 to avoid bringing in a new version with new checks. bumping the min version for hacking so that any older hacking versions which auto adopt the new checks are not used. Change-Id: I8189569f3f9f770bf623fabbdee2ef5dc0554d84
* | Drop py37 from toxMatthias Runge2020-10-141-1/+1
|/ | | | | | | For Wallaby cycle, python runtimes are python 3.6 and python 3.8, see https://governance.openstack.org/tc/reference/runtimes/wallaby.html Change-Id: I70d33a60373ed29af4dee23ec3ee6a7969194cbf
* Merge "add py38 in tox.ini"Zuul2020-10-131-1/+1
|\
| * add py38 in tox.inilikui2020-10-091-1/+1
| | | | | | | | | | | | | | | | in 'victoria' cycle, we should test py38 by default. [1] https://governance.openstack.org/tc/reference/runtimes/victoria.html Change-Id: I27f71b5ac069aff3b0a879171ff40cc375788368
* | Merge "Dep's should be restricted by upper-constraints"Zuul2020-10-101-1/+3
|\ \ | |/ |/|
| * Dep's should be restricted by upper-constraintswu.shiming2020-10-091-1/+3
| | | | | | | | | | | | | | | | Tox trying to install latest versions for building docs which may not be supported by stable and lower branches, so should be restricted by respective version's upper-constraints.txt Change-Id: Ica00ee97b12cc3074fbc6394923ed82309fe7466
* | Remove install unnecessary packageskuangcx2020-09-151-1/+0
|/ | | | | | | The docs requirements migrated to doc/requirements.txt we need not install things from requirements.txt. Change-Id: Ia08415406b586145bb7c0d6b2fac7c5527032ee9
* Refresh toxHervé Beraud2020-06-091-2/+2
| | | | | | | | | | | | | Add ignore_basepython_conflict [1], this will fix tox warnings about python versions. Bump tox minversion to 3.1.0 to ensure that ignore_basepython_conflict is supported. Use the default install_commandi [2]. [1] https://tox.readthedocs.io/en/latest/config.html#conf-ignore_basepython_conflict [2] https://tox.readthedocs.io/en/latest/config.html#conf-install_command Change-Id: Ic76f25bcd2d70525d02c565449da753c4ba58bc3
* Update hacking for Python3Andreas Jaeger2020-03-311-3/+11
| | | | | | | | | | | The repo is Python 3 now, so update hacking to version 3.0 which supports Python 3. Fix problems found. Update local hacking checks for new flake8. Change-Id: I129bc38e6663836e12610dd50a20c74dbc79891c
* [ussuri][goal] Drop python 2.7 support and testingGhanshyam Mann2019-11-261-9/+2
| | | | | | | | | | | | | | | | | | OpenStack is dropping the py2.7 support in ussuri cycle. ceilometer is ready with python 3 and ok to drop the python 2.7 support. Complete discussion & schedule can be found in - http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html - https://etherpad.openstack.org/p/drop-python2-support Ussuri Communtiy-wide goal: https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html Depends-On: https://review.opendev.org/#/c/693631/ Change-Id: Ie8523712ea2ebe828fe01a649b6add90e813608b
* PDF documentation buildzhurong2019-09-191-0/+9
| | | | Change-Id: Icf5f7f31b686d8ce97ae8cf145eaf1071860a75f
* Add lower-constraints jobzhurong2019-04-251-1/+8
| | | | Change-Id: Ib2524bbdcba4a50b3119a59e0879636399c5c89f
* Fix install_command in tox.iniZhongShengping2019-04-221-4/+4
| | | | | Co-Authored-By: zhurong <aaronzhu1121@gmail.com> Change-Id: Ib727161e05e1a837c5a1a0a968b2488ec9815eca
* Dropping the py35 testingGhanshyam Mann2019-04-151-1/+1
| | | | | | | | | | | | | | | | | All the integration testing has been moved to Bionic now[1] and py3.5 is not tested runtime for Train or stable/stein[2]. As per below ML thread, we are good to drop the py35 testing now: http://lists.openstack.org/pipermail/openstack-discuss/2019-April/005097.html [1] http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004647.html [2] https://governance.openstack.org/tc/reference/runtimes/stein.html https://governance.openstack.org/tc/reference/runtimes/train.html Change-Id: Id96750c6cc8fa645d907a58348c7f3ea5a12c1a2
* Update min tox version to 2.0Manik Bindlish2018-11-291-1/+1
| | | | | | | | The commands used by constraints need at least tox 2.0. Update to reflect reality, which should help with local running of constraints targets. Change-Id: Ic6e6b6922309829c7a311bc255a269bd8a458fb7
* Don't quote {posargs} in tox.iniNguyen Van Trung2018-10-091-1/+1
| | | | | | | | Quotes around {posargs} cause the entire string to be combined into one arg that gets passed to stestr. This prevents passing multiple args (e.g. '--concurrency=16 some-regex') Change-Id: Ieeaf4f9abcb06fdb38fc91fb58d2a684acba7082
* Follow the new PTI for document buildNguyen Van Trung2018-09-061-1/+3
| | | | | | | | | | For compliance with the Project Testing Interface as described in: https://governance.openstack.org/tc/reference/project-testing-interface.html For more details information, please refer to: http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html Change-Id: Ibdd264f0ef0c27762d47a70da192a858e62074a9
* Migrate to stestr for running testsWitold Bedyk2018-07-301-4/+7
| | | | | | | | | | | stestr is recommended by OpenStack Project Testing Interface for running tests [1]. This change migrates to stestr for running unit tests and coverage job. Modified `cover` env allows running it as Zuul job and visualising its results in Gerrit. [1] https://governance.openstack.org/tc/reference/pti/python.html#python-test-running Change-Id: I9e8b79d7a18cd36946daff10abb1a2f43b1aa3a1
* Remove unused tox targetMehdi Abaakouk2018-07-261-11/+0
| | | | Change-Id: Ia2079aa316aa23f7577c94f009fc1af727dac3ab
* fix tox python3 overridesDoug Hellmann2018-06-061-0/+7
| | | | | | | | | | | | | | | We want to default to running all tox environments under python 3, so set the basepython value in each environment. We do not want to specify a minor version number, because we do not want to have to update the file every time we upgrade python. We do not want to set the override once in testenv, because that breaks the more specific versions used in default environments like py35 and py36. Change-Id: I6f1df527590d7b9ffdf7dd97c0fedf27f11b9e21 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
* Remove run-tests.shJulien Danjou2018-01-291-3/+1
| | | | | | This is barely useful now, simplify test running. Change-Id: I21ab76248797cdc05ac64ec4018c4e472c5b7317
* Add doc8 to pep8 check for ceilometer projectNguyen Van Trung2017-12-251-0/+6
| | | | | | | | This patch adds a doc8 check of .rst files to the current pep8 check. It includes fixes to the .rst files that didn't pass the check. Change-Id: If159ab37e2f59d7fe9ee1d7c3ebf0f62f030c87f Co-authored-By: Hoang Trung Hieu <hieuht@vn.fujitsu.com>
* treat warnings as errors in release notes buildDoug Hellmann2017-11-201-1/+1
| | | | | Change-Id: Ia440af605a39b8cb765590f8f080fd2cdfbf2249 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
* Remove deprecated storage driversJulien Danjou2017-10-261-7/+2
| | | | Change-Id: I6b262dd440a72f25662b64d938ab9e5328709a97
* Remove Ceilometer APIJulien Danjou2017-10-251-16/+0
| | | | | | This removes the deprecated Ceilometer API. Change-Id: I752b36b3dfe8f935b68c4d3d59ccb5b8b60c582f
* Remove install-guide env which is not effectivenpraveen352017-08-091-7/+0
| | | | | | | The install-guide directory was moved to doc/source directory when migrating docs Change-Id: I51d2d502c8ea727bcc1d9fd59f1ec961c958aba5
* Adds a Zaqar publisherThomas Herve2017-05-021-1/+1
| | | | | | | This adds a new publisher supporting samples and events which can be used in the pipelines. Change-Id: I5f95228c38656522a14b20370e2cfd67cb911f80
* Remove support for py34liusheng2017-02-091-1/+1
| | | | | | | | The gating on python 3.4 is restricted to <= Mitaka. This is due to the change from Ubuntu Trusty to Xenial, where only python3.5 is available. There is no need to continue to keep these settings. Change-Id: Ic7ebd51a9a6eb21e9b695a873772a7bc476709e5
* check panko during integration testgord chung2017-01-231-1/+1
| | | | | | | check to see we got compute.instance.create.end event. Depends-On: I455419bd215c45ece19b27317bf10282b48b7a96 Change-Id: I322438f6af123a5c0aa32b181c6f8a4b6151d001
* Remove events storage and APIJulien Danjou2017-01-061-3/+2
| | | | | | This now has been moved to Panko. Change-Id: I179eb0d436752e3bb8abaed714664cf74f5615e6
* [doc] Note lack of constraints is a choiceTony Breeds2016-12-211-0/+1
| | | | Change-Id: I1eb824e155a6b868d7dd2b4a1308492c9e86abc2
* Merge "Bump hacking to 0.12"Jenkins2016-12-071-1/+1
|\
| * Bump hacking to 0.12Julien Danjou2016-11-071-1/+1
| | | | | | | | Change-Id: Ia3eae43f000c022e99981c6a1a5a45df8d0e693c
* | fix postgresql functional gategord chung2016-11-281-1/+1
|/ | | | | | we're testing unit tests against postgresql functional currently. Change-Id: I91009c07d168f9ae5b175fc500c0bb361d4b559b
* tests: fix tests for functional tests without dsvmMehdi Abaakouk2016-10-111-2/+2
| | | | | | | | | | | | | Currently functional tests pass in gate just because some calls are done on real devstack, and passed by chance. We don't need dsvm at all with pifpaf. This change fixes this tests and add bindep.txt file for new gate jobs without dsvm will be setup to ensure this doesn't happen again. The tox targets pyXX-psql are renamed pyXX-postgresql to match all other jobs names. Change-Id: I0e6cfb71cc53a47a11a12b5797fe262f9211ce22
* tox: refactor targetsMehdi Abaakouk2016-09-211-63/+14
| | | | | | This change allows to run any target on all python versions Change-Id: I9e8fc4de346ca65627b51b29f6c0c34a0a47451f
* tox: Remove useless envMehdi Abaakouk2016-09-141-8/+4
| | | | Change-Id: Ifc8dc30bbbb44f60a1693a7b03fd1c6a03f769e3
* Use deps extra for optional requirementsMehdi Abaakouk2016-09-141-1/+2
| | | | | Related-Bug: #1621384 Change-Id: I227c121b69ac1f51ed922e0b11bec005928aacab
* Fix a warning when running `tox -e api-ref`Tin Lam2016-08-221-0/+1
| | | | | | | | | | | | | When executing `tox -e api-ref`, the following warning appears. WARNING:test command found but not installed in testenv cmd: /bin/rm env: /Users/tl3438/oss/ceilometer/.tox/api-ref Maybe you forgot to specify a dependency? See also ... This patch set adds the whitelist_externals to api-ref. Change-Id: Ic663d229990c028888f0ecd7f7b85561ad618bf4