22605d21ee9c5cb25ad2f3b2f321c8593aefcbdf
25 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
Tim Burke
|
a2725ea99f |
CI: Move lower-constraints job to py37
This got missed when we dropped support for py36. Related-Change: I6f0cbde23f0a0db75bdb3e598ee862af0bad0dba Change-Id: I3dcca36744bbdbce7e5e22e50b3a3fa263071717 |
||
|
Tim Burke
|
ff45519447 |
tests: Use subTest
Depends-On: https://review.opendev.org/c/openstack/requirements/+/941708 Change-Id: I52f40bf0468236dc7ba78e08f2f9aea9336faae9 |
||
|
Tim Burke
|
128124cdd8 |
Remove py2-only code paths
Change-Id: Ic66b9ae89837afe31929ce07cc625dfc28314ea3 |
||
|
Tim Burke
|
7367907c58 |
Drop py2 support
* Remove py2 gate jobs. * Build non-universal, py3-only wheels. * Specify minimum python version in package metadata. * Clean up requirements/constraints/bindep (a little, anyway). Change-Id: I53153c4fde043e964e1daa7bbf2089e0471dede2 |
||
|
indianwhocodes
|
54e13ee9b5 |
bump lxml to 4.2.3
Change-Id: Ia83ab181277e04e473e33680b3f2d686f534a084 |
||
|
Clay Gerrard
|
6387949a54 |
lower-constraints: update to mock 3.0
The main motivation here is that mock.call becomes a namedtuple and you can say `m.call_args_list[0].args` instead of `m.call_args_list[0][0]` Change-Id: Ibb1a64ef0bfdebf06d26636cdb6ea191c10705f7 |
||
|
Tim Burke
|
f32f2dd023 |
CI: pin python-dateutil for py2
Their 2.9.0 release is known-broken for py27-py35. Change-Id: I40c1724fa673ac252f5052ac85006788ba69d5c7 |
||
|
Tim Burke
|
ee12a11e70 |
Add attrs to lower-constraints
Future work: Assuming we're going to keep the l-c job, we should make sure it fails if packages get installed that aren't in the constraints file. Change-Id: I61750a1083a1c97a6222ec9040f90980ee73acc8 |
||
|
Tim Burke
|
ef155bd74a |
Switch to pytest
nose has not seen active development for many years now. With py310, we can no longer use it due to import errors. Also update lower contraints Closes-Bug: #1993531 Change-Id: I215ba0d4654c9c637c3b97953d8659ac80892db8 |
||
|
Alistair Coles
|
5079d8429d |
internal-client: pass global_conf to loadapp
The internal client previously provided no easy way to programatically customise the configuration of the proxy-server app or other middlewares in its wsgi pipeline. This patch allows a global_conf dict to be passed via the InternalClient constructor to the wsgi loadapp function. Items in the global_conf dict will override options loaded from the config file. An example use case would be to change the log_name from the default 'swift', which would be useful to differentiate logs from different processes using an internal client. The minimum version of PasteDeploy is increased to 2.0.0 to make the global_conf behavior predictable: in older versions global_conf would not override options in the conf file DEFAULT section, but since 2.0.0 it will. Change-Id: Ida39ec7eb02a93cf4b2aa68fc07b7f0ae27b5439 |
||
|
Tim Burke
|
1895213d25 |
Update some constraints for py2
We've recently started seeing some failures in the gate related to these projects, and they have final py2-supporting versions. Change-Id: If81fc352c8b2b1f03f3fa7b79c56dfcf981ced70 |
||
|
Tim Burke
|
f819fc8c24 |
Give functional tests another chance to pass
In the process, move from using os-testr to stestr. Change-Id: Ib6651aab8b009605bf0855ec217003936c0fae6e |
||
|
Tim Burke
|
0d37492c65 |
Clean up requirements a bit
* Drop osc from test-requirements (and lower-constraints) I'm not clear on where/how we use it; I think it was a hold-over from swift3? * Pin python-keystoneclient in our py2-constraints Something sees to have changed with the pip resolver that means it keeps trying to install a newer, py3-only version for our py2 jobs. Change-Id: Ie37ac077517e1ece5fa6bf163d1ab5e316ced509 |
||
|
likui
|
0f97d8e920 |
Remove the unused coding style modules
Python modules related to coding style checks (listed in blacklist.txt in openstack/requirements repo) are dropped from lower-constraints.txt they are not needed during installation. Change-Id: Ic777b435723f663b408c778f661811439b486071 |
||
|
Andreas Jaeger
|
3d105b623d |
Switch to newer openstackdocstheme and reno versions
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using these versions will allow especially: * Linking from HTML to PDF document * Allow parallel building of documents * Fix some rendering problems Update Sphinx version as well. Disable openstackdocs_auto_name to use 'project' variable as name. Set openstackdocs_pdf_link to link to PDF file. Note that the link to the published document only works on docs.openstack.org where the PDF file is placed in the top-level html directory. The site-preview places the PDF in a pdf directory. Change pygments_style to 'native' since old theme version always used 'native' and the theme now respects the setting and using 'sphinx' can lead to some strange rendering. Remove docs requirements from lower-constraints, they are not needed during install or test but only for docs building. openstackdocstheme renames some variables, so follow the renames before the next release removes them. A couple of variables are also not needed anymore, remove them. See also http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html Change-Id: I131850d2a5c6164dfd48c9c95885d4754b5236c6 |
||
|
Andreas Jaeger
|
96b56519bf |
Update hacking for Python3
The repo is Python using both Python 2 and 3 now, so update hacking to version 2.0 which supports Python 2 and 3. Note that latest hacking release 3.0 only supports version 3. Fix problems found. Remove hacking and friends from lower-constraints, they are not needed for installation. Change-Id: I9bd913ee1b32ba1566c420973723296766d1812f |
||
|
Tim Burke
|
51c9b13082 |
Add unittest2 back to lower-constraints.txt
testtools (required by os-testr) still requires unittest2; until * testtools no longer requires unittest2 and * we bump up our minimum-supported version of testtools to a version that doesn't reference unittest2, we should continue listing unittest2 in lower-constraints.txt (just in case they ever have a new release). Admittedly, that seems unlikely at this point -- unittest2's latest release was back in 2015. Change-Id: I09301bf81d68357ec006a21dd37e72c56cefffe3 |
||
|
Sean McGinnis
|
5b26b749b5 |
Drop use of unittest2
unittest2 was needed for Python version <= 2.6, so it hasn't been needed for quite some time. See unittest2 note one: https://docs.python.org/2.7/library/unittest.html This drops unittest2 in favor of the standard unittest module. Change-Id: I2e787cfbf1709b7f9c889230a10c03689e032957 Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com> |
||
|
Tim Burke
|
c19d09f60b |
Give ECAppIter greenthreads a chance to wrap up
Otherwise, we can hit a "generator already executing" error in test/functional/test_slo.py:TestSlo.test_slo_multi_ranged_get Also, set a *slightly* newer lower-bound for greenlet (from 2011 instead of 2010) so the sleep() doesn't cause us to lose exception state. Change-Id: Id458fc0a43fd71aab9f6edbacc1f0b370c9f7537 |
||
|
Tim Burke
|
0ebfeddf65 |
Bump up our minimum eventlet version
We need 0.25.0 for py3 support, and increasing it for both is simplest. Also drag forward dnspython, as newer eventlet requires a newer dnspython. Note that we still don't explicitly list it as a dependency for py3; rather, it's been getting installed as a requirement for eventlet. Change-Id: If933b713bdd1dfc348959771d60c0756a9a94477 |
||
|
Tim Burke
|
b7b92b97b1 |
Bump up minimum cryptography version
...not because we strictly *need* newer cryptography, but rather because distro packages have moved forward to the point where the 1.x series won't compile from source and PyPI doesn't have wheels for them. See changes like: - https://github.com/pyca/cryptography/commit/6e7ea2e - https://github.com/pyca/cryptography/commit/f88aea5 Change-Id: I1ff5b61873cf382c7a89873ed4ba6153f299262a |
||
|
翟小君
|
98637dc1e7 |
Bump openstackdocstheme to 1.30.0
...to pick up many improvements, including the return of table borders. Change-Id: I166211b690b08521171b489582fa419d756b1972 |
||
|
Timur Alperovich
|
d4e7940457 |
Start transition to boto3 in s3api tests.
Adds the scaffolding required for tests to use boto3 and converts the test_bucket.py tests to the new interface. Follow on patches will convert the other tests to use the boto3 library. Notable changes: we no longer try to reach for the equivalent of `boto.make_request()` and instead rely on the boto3/botocore event system to mutate requests as necessary (or to disable pre-flight validators). Partial-Bug: 1557260 Change-Id: I3d77ef4a6b878c49ebfa0c8b8647d7199d87601e |
||
|
Sean McGinnis
|
10cb205fe0 |
Fix lower-constraint deps handling
When the lower-constraints tox target was added, it was assumed the install_command was just running the install and that the dependencies and constraints were being set using "deps = ". This fixed the install_command and deps to follow the expected pattern so the lower-constraints job actual does install the lower constraints. Also: * raise the minimum for netifaces as the existing version would fail to load * pin oslo.log to the minimum required by our minimum keystonemiddleware * fix up some error handling for ancient versions of pastedeploy * specify that we shouldn't install xattr on a platform we don't support anyway, because reasons Change-Id: Ie78c0dabe12e01109db2b6412166c3564b87ee96 Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com> |
||
|
Doug Hellmann
|
ba8447e056 |
add lower-constraints job
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: Iac4a202a1d723822d10f4d34a397eff9de3f2108 add the job in project-config: Depends-On: https://review.openstack.org/555034 remove branch optimiazation in check and add swift exclusions (series): Depends-On: https://review.openstack.org/560109 Signed-off-by: Doug Hellmann <doug@doughellmann.com> Co-Authored-By: Nguyen Hai <nguyentrihai93@gmail.com> |