summaryrefslogtreecommitdiff
path: root/lower-constraints.txt
Commit message (Collapse)AuthorAgeFilesLines
* Add attrs to lower-constraintsTim Burke2023-01-091-0/+1
| | | | | | | | 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
* Switch to pytestTim Burke2022-12-091-4/+3
| | | | | | | | | | 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
* internal-client: pass global_conf to loadappAlistair Coles2021-12-201-1/+1
| | | | | | | | | | | | | | | | | | 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
* Update some constraints for py2Tim Burke2021-04-061-0/+1
| | | | | | | We've recently started seeing some failures in the gate related to these projects, and they have final py2-supporting versions. Change-Id: If81fc352c8b2b1f03f3fa7b79c56dfcf981ced70
* Give functional tests another chance to passTim Burke2021-03-261-1/+0
| | | | | | In the process, move from using os-testr to stestr. Change-Id: Ib6651aab8b009605bf0855ec217003936c0fae6e
* Clean up requirements a bitTim Burke2020-12-011-1/+0
| | | | | | | | | | | | | | * 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
* Remove the unused coding style moduleslikui2020-10-271-1/+0
| | | | | | | | 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
* Switch to newer openstackdocstheme and reno versionsAndreas Jaeger2020-06-031-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Update hacking for Python3Andreas Jaeger2020-04-031-4/+0
| | | | | | | | | | | | | 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
* Add unittest2 back to lower-constraints.txtTim Burke2020-01-271-0/+1
| | | | | | | | | | | | | | | | 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
* Drop use of unittest2Sean McGinnis2020-01-121-1/+0
| | | | | | | | | | | | 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>
* Give ECAppIter greenthreads a chance to wrap upTim Burke2019-07-291-1/+1
| | | | | | | | | | 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
* Bump up our minimum eventlet versionTim Burke2019-06-241-3/+3
| | | | | | | | | | | 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
* Bump up minimum cryptography versionTim Burke2019-06-111-1/+1
| | | | | | | | | | | | | ...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
* Bump openstackdocstheme to 1.30.0翟小君2019-06-051-1/+1
| | | | | | ...to pick up many improvements, including the return of table borders. Change-Id: I166211b690b08521171b489582fa419d756b1972
* Start transition to boto3 in s3api tests.Timur Alperovich2019-05-211-0/+2
| | | | | | | | | | | | | | 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
* Fix lower-constraint deps handlingSean McGinnis2019-03-221-2/+3
| | | | | | | | | | | | | | | | | | | | | 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>
* add lower-constraints jobDoug Hellmann2018-07-271-0/+89
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>