summaryrefslogtreecommitdiff
path: root/tox.ini
Commit message (Collapse)AuthorAgeFilesLines
* Replace deprecated UPPER_CONSTRAINTS_FILE variableXinxin Shen2023-02-071-3/+3
| | | | | | | | | UPPER_CONSTRAINTS_FILE is old name and deprecated See https://zuul-ci.org/docs/zuul-jobs/python-roles.html#rolevar-tox.tox_constraints_file Co-Authored-By: Cyril Roelandt <cyril@redhat.com> Change-Id: If844b485970c4d0e0b13dcf431fe0e5138004b6e
* Fix tox4 error4.2.0Ghanshyam Mann2022-12-271-1/+0
| | | | | | | | | | | tox.ini started failing with Tox4 which had some incompatible changes. Fixing tox.ini for tox4 changes. Depends-On: https://review.opendev.org/c/openstack/glance/+/868530 Change-Id: I96feba843ca5ebecdc7313961207369da30e72f5
* Update python testing as per zed cycle teting runtime4.0.0Ghanshyam Mann2022-05-101-1/+1
| | | | | | | | | | In Zed cycle, we have dropped the python 3.6/3.7[1] testing and its support. Moving the py36 job to py3 based so that they run on latest supported python 3. Updating the python classifier also to reflect the same. [1] https://governance.openstack.org/tc/reference/runtimes/zed.html Change-Id: Ida582daf7db6fb3cedb3c7e37fc512d094b37c6e
* Updating python testing classifier as per Yoga testing runtimeGhanshyam Mann2021-12-131-1/+1
| | | | | | | | | | | | | | Yoga testing runtime[1] has been updated to add py39 testing as voting. Unit tests update are handled by the job template change in openstack-zuul-job - https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/820286 this commit updates the classifier in setup.cfg file. [1] https://governance.openstack.org/tc/reference/runtimes/yoga.html Change-Id: I2241143bb4936d7258f156b8e9d760607ed61d0e
* Drop lower-constraints jobRajat Dhasmana2021-08-121-6/+1
| | | | Change-Id: I1de76a70e07bbf2bd70900b4d93104a1b0fda74b
* Bump default tox env from py37 to py38Sean McGinnis2020-04-241-1/+1
| | | | | | | | | | | | | | Python 3.8 is now our highest level supported python runtime. This updates the default tox target environments to swap out py37 for py38 to make sure local development testing is covering this version. This does not impact zuul jobs in any way, nor prevent local tests against py37. It just changes the default if none is explicitly provided. Change-Id: I3548e78806a925c95641f9de355edd12971ea620 Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
* Enforce constraints for docs dependenciesSean McGinnis2020-04-081-2/+6
| | | | | | | | | Tox targets for docs jobs were missing the upper constraints enforcement. This adds constrained dependency installation for these targets. Change-Id: I187cfced08ec8dde561b947e797807dbbf723fe6 Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
* Update hacking for Python3Andreas Jaeger2020-04-021-1/+3
| | | | | | | | | | | | The repo is Python 3 now, so update hacking to version 3.0 which supports Python 3. Fix problems found. Remove hacking and friends from lower-constraints, they are not needed for installation. Change-Id: I99b8b24f714858f6b289e5e7b5976e519bb81c11
* Add S3 store support to glance_storeNaohiro Sameshima2020-03-261-1/+1
| | | | | | | | | | | Revive the S3 driver that was supported up to Mitaka and add multiple store support to correspond with the features added to glance_store from Newton to U cycle. In addition, the use of the S3 SDK used by the Mitaka S3 driver has been deprecated, so this implementation will be changed to use the new version. Change-Id: I203134837319080ead96da69048baf90086d2117 Implements: blueprint re-support-s3-driver
* Drop python 2.7 support and testingGhanshyam Mann2020-01-221-8/+4
| | | | | | | | | | | | | | | OpenStack is dropping the py2.7 support in ussuri cycle. glance_store 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://review.opendev.org/#/c/691178/ Change-Id: I6166a20610f77e0df7da75198e0c8273bb121d1f
* Merge "Remove outdated line in tox.ini"Zuul2019-07-191-1/+0
|\
| * Remove outdated line in tox.iniVladislav Kuzmin2019-06-051-1/+0
| | | | | | | | Change-Id: Ia720cba4b1d75f114a1099efa4ef4fef7e2b264a
* | Add Python 3 Train unit testsCorey Bryant2019-06-241-1/+1
|/ | | | | | | | | | | | This is a mechanically generated patch to ensure unit testing is in place for all of the Tested Runtimes for Train. See the Train python3-updates goal document for details: https://governance.openstack.org/tc/goals/train/python3-updates.html Change-Id: I30e3405b21d6c9100f05fe3141bb30faaa86283e Story: #2005924 Task: #34208
* Merge "Dropping the py35 testing"Zuul2019-06-021-1/+1
|\
| * Dropping the py35 testingGhanshyam Mann2019-05-281-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: I7baf4fd7aeef4b012268fd95208019c1fa744fef
* | Merge "Replace git.openstack.org URLs with opendev.org URLs"Zuul2019-05-301-1/+1
|\ \ | |/ |/|
| * Replace git.openstack.org URLs with opendev.org URLscaoyuan2019-05-051-1/+1
| | | | | | | | Change-Id: Ia0b66aac906b7920f246c4710ed06d63e11276d8
* | remove bandit from testingErno Kuvaja2018-08-161-15/+0
|/ | | | Change-Id: Ib9f7b9976382535aea946912b0e8b0ab32189b21
* Merge "Update tox.ini to conform to the PTI"Zuul2018-07-161-8/+12
|\
| * Update tox.ini to conform to the PTIBrian Rosmaita2018-07-161-8/+12
| | | | | | | | | | | | | | | | | | The current Python Testing Interface specifies the use of stester, so update tox.ini to use it. Closes-bug: #1780272 Change-Id: I6b6c60486a26cfbb5793c074fe6f554c6a324846 Co-Authored-By: Nguyen Hai <nguyentrihai93@gmail.com>
* | Follow the new PTI for document buildNguyen Hai2018-07-161-1/+3
|/ | | | | | | | | For compliance with the Project Testing Interface as described in: [1] https://governance.openstack.org/tc/reference/project-testing-interface.html [2] http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html [3] http://lists.openstack.org/pipermail/openstack-dev/2018-March/128594.html Change-Id: I06d510a44b9e8c0024f5e41f10f4446e18bf86cc
* fix tox python3 overridesDoug Hellmann2018-06-061-0/+6
| | | | | | | | | | | | | | | 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: Ife7b0078c67df55b4b5d5b3d27f4228907a5531b Signed-off-by: Doug Hellmann <doug@doughellmann.com>
* Remove tox_install.shPaul Belanger2018-04-241-4/+4
| | | | | | | | Fully removing tox_install.sh as it is no longer needed with zuulv3. Closes-bug: #1766500 Change-Id: Ic332b54bd5fbc64efc23f1118a8416291ae65df8 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
* add lower-constraints jobDoug Hellmann2018-04-091-1/+8
| | | | | | | | | | | | | | | | | Create a tox environment for running the unit tests against the lower bounds of the dependencies. Create a lower-constraints.txt to be used to enforce the lower bounds in those tests. Add openstack-tox-lower-constraints job to the zuul configuration. See http://lists.openstack.org/pipermail/openstack-dev/2018-March/128352.html for more details. Change-Id: Iaf938db5d3d45a7187f2c2c619d0f86e90128fb2 Depends-On: https://review.openstack.org/555034 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
* Merge "Migrate legacy jobs to project repository"Zuul2018-02-281-2/+4
|\
| * Migrate legacy jobs to project repositoryBrian Rosmaita2018-02-191-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | Brings the legacy functional test jobs into the project repository, rewritten for zuul3. The base functional test class has been refactored to use clouds.yaml, and the functional-swift test has been refactored to use keystoneauth1. The devstack hooks have been removed as they are not necessary with zuul3. Needed-By: I2a5ff2ee29e2fb8a730406f9f0e6a450b96c85b8 Needed-By: I96600383c072e6d2926f5ff5b6a51057e53d35fd Change-Id: Iecea4375d1c4832b020b542ca4188b02444325ca
* | Add doc8 to pep8 check for glance_store projectHoang Trung Hieu2018-02-011-0/+4
|/ | | | | | | | 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. Co-authored-By: Nguyen Van Trung <trungnv@vn.fujitsu.com> Change-Id: If35a7a9ea64c7482306ef6403e9585b78da27fb9
* Add python 3.5 in classifier and envlistLi Wei2017-04-061-1/+1
| | | | | | | Now we can support py35 in classifier,and add the convenience py35 env. Change-Id: I98ac5543d995dca021fc3aff3993dc07fb2c4b7a
* Use constraints for all tox environmentsAndreas Jaeger2016-08-101-9/+0
| | | | | | | | | | Infra is now ready to use constraints everywhere, adapt the environments to use the default install command instead of a specific non-constrainted install command. With this change, now all tox environments use constraints. Change-Id: Ia5b7e42108395c593e900accadc447932c51f314
* Merge "Don't include openstack/common in flake8 exclude list"Jenkins2016-08-011-1/+1
|\
| * Don't include openstack/common in flake8 exclude listsong jian2016-07-121-1/+1
| | | | | | | | | | | | | | | | The directory openstack/common was used to keep codes from oslo-incubator, we have retired oslo-incubator, so don't use this directory any more. Change-Id: I3a72d3b7126037e98fde627233f26a4f1475b416
* | Merge "Split functional tests apart"Jenkins2016-07-301-3/+8
|\ \
| * | Split functional tests apartNiall Bunting2016-07-011-3/+8
| |/ | | | | | | | | | | | | | | | | | | | | Currently all the functional tests are ran together in one job. This patch breaks the tests apart so only certain parts of them have to be ran. This will mean the tests can be ran in parallel and only the particular ones that are required, as the functional tests require that backend to be avalible. Change-Id: I61ba679b8041a89fb5a7589a62db8b6f42cd1058
* | Remove S3 driverNikhil Komawar2016-07-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As per the deprecation indicated in change I139c36c2d591a55f0f91ea32efa963f80c28e444 , we are on track to removing the S3 driver from glance_store in Newton. The process of maintainers for individual drives was initiated in [1]. However, S3 doesn't have a maintainer and has been deprecated in Mitaka. This commit intends to remove the S3 driver completely from the glance_store source tree. If required, we recommend that this driver be maintained outside of the glance_store source tree until you or someone you know intend to support the code for long term. In the later case, we hope that you will welcome our spec process to help plan the project priorities. DocImpact UpgradeImpact [1] http://lists.openstack.org/pipermail/openstack-dev/2015-December/081966.html Change-Id: I032b0fc16400cbd2112687d38e010128be699221
* | Add bandit to pep8 and bandit testenv0.14.0Eric Brown2016-07-081-0/+15
|/ | | | | | | | | | This patch adds bandit security linter to tox jobs. It ignores files in the 'tests' directory. This patch will also fix or exclude any issues as a result from scan. Change-Id: I9caa41f596a17a8b961a542d4bc6bb121e7a147f
* Remove -c from tox.iniNiall Bunting2016-06-071-1/+1
| | | | | | | | | | | | An extra -c causes the script to read the url in error. The tools/tox_install.sh script is using this -c option: https://github.com/openstack/glance_store/blob/ea4483c0bfb39a39d6d4c4634d04cbfaca4de7f5/tools/tox_install.sh#L26 So, -c is unnecessary in tox.ini. Change-Id: I04227b92a13f075dc18dfbbb6d47f17da3629ef3 Closes-Bug: 1590048
* Merge "Add functional tests for swift"Jenkins2016-06-071-1/+2
|\
| * Add functional tests for swiftNiall Bunting2016-05-091-1/+2
| | | | | | | | | | | | | | | | This change adds functional tests for swift. Co-Authored-By: Louis Taylor <louis@kragniz.eu> Change-Id: Ibdd17eebb49a5d96c5cfb02c0ec6bac4826aac7f
* | tox respects upper-constraints.txtNikhil Komawar2016-06-031-1/+10
|/ | | | | | | | | | | | | | | | | | | This will force pip install to use the upper-constraints.txt specified version of pip modules. When you don't do this, you are out on the bleeding edge and become unstable everytime some python library in the wide world changes in a way that you don't expect. There are a few 'post' jobs as Andreas has mentioned on this review, that have the install_command overridden (until that will be supported in upstream infra). This change has been inspired by Ie1133e4c020106e8098685ba9125f84b356d8e0c , notes from jaegerandi in the openstack/glance's tox.ini file and Ihar's python-neutronclient's fix I33302cdcab980a42c39dc9ec1e430add459615ff Change-Id: I1f8be8184683c9a3671f750ebaa87c38163c9795 Closes-Bug: 1563038
* tox: use os-testr instead of testrDanny Al-Gaaf2016-04-051-1/+1
| | | | | | | | | | Make use of the testr OpenStack wrapper ostestr instead of testr directly. Closes-Bug: #1566354 Change-Id: I396be386c34e5e2a6587921aacd8eefa4622713a Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
* Merge "Add base for functional tests"Jenkins2016-03-121-0/+5
|\
| * Add base for functional testsLouis Taylor2016-02-181-0/+5
| | | | | | | | | | | | | | This adds the basic functional testing structure and initial support for the filesystem driver. Change-Id: Ia7f03b9ed91cc38a12d33479f75af167b45caeb0
* | Merge "Deprecated tox -downloadcache option removed"Jenkins2016-01-191-3/+0
|\ \
| * | Deprecated tox -downloadcache option removedOndřej Nový2016-01-021-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Caching is enabled by default from pip version 6.0 More info: https://testrun.org/tox/latest/config.html#confval-downloadcache=path https://pip.pypa.io/en/stable/reference/pip_install/#caching Change-Id: I5a8aecadc2dedca3f34f0e240fc5ba977b2cebb3
* | | Remove the gridfs driverFlavio Percoco2016-01-181-1/+1
|/ / | | | | | | | | | | | | The gridfs driver was marked as deprecated some releases ago. This patch removes the deprecated driver from the tree. Change-Id: I72785eb77447909fc67d42e17d805eaa77cf45a2
* | Add docs section to tox.iniFlavio Percoco2015-12-151-0/+3
| | | | | | | | Change-Id: I694de56e3927968e179e7e101dfb740c627699a8
* | Merge "Add reno for release notes management in glance_store"Jenkins2015-12-071-0/+3
|\ \
| * | Add reno for release notes management in glance_storeDrew Varner2015-12-041-0/+3
| |/ | | | | | | Change-Id: Idf4fd68514beef1afc90aaa6dd7625c30febfb93
* | Put py34 first in the env order of toxShuquan Huang2015-12-021-1/+1
|/ | | | | | | | | To solve the problem of "db type could not be determined" on py34 we have to run first the py34 env to, then, run py27. This patch puts py34 first on the tox.ini list of envs to avoid this problem to happen. Change-Id: I2bd65c7af7c87b6c36439e6e4bb6230eca8d33ee Closes-Bug: #1489059
* Activate pep8 check that _ is importedTHOMAS J. COCOZZELLO2015-10-051-1/+0
| | | | | | | | | | | Remove the specification in tox.ini that _ is a builtin so that it will no longer assume that _ does not need to be imported. This helps ensure that the _ from i18n is used. Activating this check did flag violations and they were fixed in this patch. Change-Id: Ia7e4c75b2126a67784683d1c22f0e24bc44113a4