From 6fe11b5188bbdbb39bff511fa0227e5785be17f7 Mon Sep 17 00:00:00 2001 From: Ghanshyam Mann Date: Sat, 30 Apr 2022 17:13:35 -0500 Subject: Drop lower-constraints.txt and its testing 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 (cherry picked from commit 0475709c0734d8314637298de2fd2b005ad5a1cb) Change-Id: Ia3f66b6805704c254295fd663f0260d5d963ed66 --- .zuul.yaml | 1 - lower-constraints.txt | 56 --------------------------------------------------- requirements.txt | 4 ++++ setup.cfg | 5 +++-- setup.py | 2 +- tox.ini | 8 +------- 6 files changed, 9 insertions(+), 67 deletions(-) delete mode 100644 lower-constraints.txt diff --git a/.zuul.yaml b/.zuul.yaml index f5d806c..ef0bb9c 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -3,6 +3,5 @@ - check-requirements - lib-forward-testing-python3 - openstack-cover-jobs - - openstack-lower-constraints-jobs - openstack-python3-ussuri-jobs - publish-openstack-docs-pti diff --git a/lower-constraints.txt b/lower-constraints.txt deleted file mode 100644 index 10d033e..0000000 --- a/lower-constraints.txt +++ /dev/null @@ -1,56 +0,0 @@ -alabaster==0.7.10 -appdirs==1.3.0 -Babel==2.3.4 -coverage==4.0 -debtcollector==1.2.0 -docutils==0.11 -dulwich==0.15.0 -extras==1.0.0 -fixtures==3.0.0 -flake8==2.2.4 -flake8-docstrings==0.2.1.post1 -hacking==0.10.3 -imagesize==0.7.1 -iso8601==0.1.11 -Jinja2==2.10 -keystoneauth1==3.4.0 -linecache2==1.0.0 -MarkupSafe==1.0 -mccabe==0.2.1 -mock==2.0.0 -monotonic==0.6 -mox3==0.20.0 -msgpack-python==0.4.0 -netaddr==0.7.18 -netifaces==0.10.4 -openstackdocstheme==1.20.0 -os-client-config==1.28.0 -oslo.config==5.2.0 -oslo.i18n==3.15.3 -oslo.serialization==2.18.0 -oslo.utils==3.33.0 -oslotest==3.2.0 -pbr==2.0.0 -pep257==0.7.0 -pep8==1.5.7 -pyflakes==0.8.1 -Pygments==2.2.0 -pyparsing==2.1.0 -python-mimeparse==1.6.0 -python-subunit==1.0.0 -pytz==2013.6 -PyYAML==3.12 -requests==2.14.2 -requestsexceptions==1.2.0 -rfc3986==0.3.1 -six==1.10.0 -snowballstemmer==1.2.1 -Sphinx==1.6.2 -sphinxcontrib-apidoc===0.2.0 -sphinxcontrib-websupport==1.0.1 -stevedore==1.20.0 -stestr==2.0.0 -testtools==2.2.0 -traceback2==1.4.0 -unittest2==1.1.0 -wrapt==1.7.0 diff --git a/requirements.txt b/requirements.txt index cf26f75..78604d3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,7 @@ +# Requirements lower bounds listed here are our best effort to keep them up to +# date but we do not test them so no guarantee of having them all correct. If +# you find any incorrect lower bounds, let us know or propose a fix. + # The order of packages is significant, because pip processes them in the order # of appearance. Changing the order has an impact on the overall integration # process, which may cause wedges in the gate later. diff --git a/setup.cfg b/setup.cfg index 054bc39..baa90f7 100644 --- a/setup.cfg +++ b/setup.cfg @@ -8,13 +8,14 @@ description-file = home-page = https://docs.openstack.org/pycadf/latest/ python-requires = >=3.6 classifier = - Development Status :: 3 - Alpha + Development Status :: 5 - Production/Stable Environment :: OpenStack Intended Audience :: Developers Intended Audience :: Information Technology License :: OSI Approved :: Apache Software License - Operating System :: OS Independent + Operating System :: POSIX :: Linux Programming Language :: Python + Programming Language :: Python :: 3 :: Only Programming Language :: Python :: 3 Programming Language :: Python :: 3.6 Programming Language :: Python :: 3.7 diff --git a/setup.py b/setup.py index 566d844..74c3ac9 100644 --- a/setup.py +++ b/setup.py @@ -25,5 +25,5 @@ except ImportError: pass setuptools.setup( - setup_requires=['pbr>=2.0.0'], + setup_requires=['pbr>=5.9.0'], pbr=True) diff --git a/tox.ini b/tox.ini index 7f2ef4f..ec5aa03 100644 --- a/tox.ini +++ b/tox.ini @@ -6,7 +6,7 @@ ignore_basepython_conflict = True [testenv] basepython = python3 deps = - -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} + -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/ussuri} -r{toxinidir}/test-requirements.txt -r{toxinidir}/requirements.txt commands = stestr run --slowest {posargs} @@ -56,9 +56,3 @@ show-source = True # D401: First line should be in imperative mood ignore = H405,D100,D101,D102,D103,D104,D105,D200,D202,D203,D204,D205,D208,D400,D401 exclude = .tox,dist,doc,*.egg,build - -[testenv:lower-constraints] -deps = - -c{toxinidir}/lower-constraints.txt - -r{toxinidir}/test-requirements.txt - -r{toxinidir}/requirements.txt -- cgit v1.2.1