| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: I1de76a70e07bbf2bd70900b4d93104a1b0fda74b
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|\ |
|
| |
| |
| |
| | |
Change-Id: Ia720cba4b1d75f114a1099efa4ef4fef7e2b264a
|
|/
|
|
|
|
|
|
|
|
|
|
| |
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
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \
| |/
|/| |
|
| |
| |
| |
| | |
Change-Id: Ia0b66aac906b7920f246c4710ed06d63e11276d8
|
|/
|
|
| |
Change-Id: Ib9f7b9976382535aea946912b0e8b0ab32189b21
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
|/
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|/
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Now we can support py35 in classifier,and add the convenience
py35 env.
Change-Id: I98ac5543d995dca021fc3aff3993dc07fb2c4b7a
|
|
|
|
|
|
|
|
|
|
| |
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
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|/
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
This change adds functional tests for swift.
Co-Authored-By: Louis Taylor <louis@kragniz.eu>
Change-Id: Ibdd17eebb49a5d96c5cfb02c0ec6bac4826aac7f
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
This adds the basic functional testing structure and initial support for the
filesystem driver.
Change-Id: Ia7f03b9ed91cc38a12d33479f75af167b45caeb0
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
|/ /
| |
| |
| |
| |
| |
| | |
The gridfs driver was marked as deprecated some releases ago. This patch
removes the deprecated driver from the tree.
Change-Id: I72785eb77447909fc67d42e17d805eaa77cf45a2
|
| |
| |
| |
| | |
Change-Id: I694de56e3927968e179e7e101dfb740c627699a8
|
|\ \ |
|
| |/
| |
| |
| | |
Change-Id: Idf4fd68514beef1afc90aaa6dd7625c30febfb93
|
|/
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|