From cad8f59fac6e1ff08094b94a5979e95cfd03ce57 Mon Sep 17 00:00:00 2001 From: Nathan Oyler Date: Thu, 4 Jun 2026 11:09:42 -0700 Subject: [PATCH] fix: remove lower-constraints.txt to resolve 41 Dependabot alerts Delete lower-constraints.txt and its tox env. This file pinned ancient package versions for lower-bound CI testing that was never run (no Zuul, GHA only runs default tox env). Dependabot flagged 41 CVEs against these floor versions that were never installed in production. The remaining 13 alerts require version bumps in the shared sapcc/requirements constraints file (urllib3 2.x, cryptography 46.x, GitPython 3.1.47+, requests 2.33.0, idna 3.15, webob 1.8.10). Also fix tox envlist to use py3 instead of py39 to match CI. --- lower-constraints.txt | 84 ------------------------------------------- tox.ini | 11 +----- 2 files changed, 1 insertion(+), 94 deletions(-) delete mode 100644 lower-constraints.txt diff --git a/lower-constraints.txt b/lower-constraints.txt deleted file mode 100644 index 7dffb8e..0000000 --- a/lower-constraints.txt +++ /dev/null @@ -1,84 +0,0 @@ -appdirs==1.4.3 -asn1crypto==0.24.0 -Babel==2.5.3 -bandit==1.1.0 -beautifulsoup4==4.6.0 -certifi==2018.1.18 -cffi==1.11.5 -chardet==3.0.4 -cliff==2.11.0 -cmd2==0.8.1 -coverage==4.0 -cryptography==2.1 -debtcollector==1.19.0 -dogpile.cache==0.6.5 -dulwich==0.19.0 -extras==1.0.0 -fixtures==3.0.0 -flake8-docstrings==0.2.1.post1 -flake8==2.2.4 -future==0.16.0 -gitdb2==2.0.3 -GitPython==2.1.8 -hacking==0.10.0 -idna==2.6 -iso8601==0.1.12 -keystoneauth1==3.12.0 -linecache2==1.0.0 -mccabe==0.2.1 -mock==2.0.0 -monotonic==1.4 -mox3==0.25.0 -msgpack==0.5.6 -netaddr==0.7.19 -netifaces==0.10.6 -openstack-requirements==1.2.0 -os-client-config==1.29.0 -os-testr==1.0.0 -oslo.cache==1.26.0 -oslo.config==5.2.0 -oslo.context==2.19.2 -oslo.i18n==3.15.3 -oslo.log==3.36.0 -oslo.messaging==5.29.0 -oslo.serialization==2.18.0 -oslo.utils==3.33.0 -oslotest==3.2.0 -packaging==17.1 -Parsley==1.3 -pbr==2.0.0 -pep257==0.7.0 -pep8==1.5.7 -prettytable==0.7.2 -pycadf==1.1.0 -pycparser==2.18 -pyflakes==0.8.1 -pyinotify==0.9.6 -pyparsing==2.2.0 -pyperclip==1.6.0 -python-dateutil==2.7.0 -python-keystoneclient==3.20.0 -python-memcached==1.59 -python-mimeparse==1.6.0 -python-subunit==1.2.0 -pytz==2018.3 -PyYAML==3.12 -reno==2.5.0 -requests-mock==1.2.0 -requests==2.14.2 -requestsexceptions==1.4.0 -rfc3986==1.1.0 -smmap2==2.0.3 -stestr==2.0.0 -stevedore==1.20.0 -testrepository==0.0.18 -testresources==2.0.0 -testtools==2.2.0 -traceback2==1.4.0 -unittest2==1.1.0 -urllib3==1.22 -voluptuous==0.11.1 -waitress==1.1.0 -WebOb==1.7.1 -WebTest==2.0.27 -wrapt==1.10.11 diff --git a/tox.ini b/tox.ini index 29dddd4..8372a50 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,7 @@ [tox] minversion = 2.5.0 skipsdist = True -envlist = py39,pep8,releasenotes +envlist = py3,pep8,releasenotes [testenv] usedevelop = True @@ -93,15 +93,6 @@ extensions = .rst, .yaml # lines should not be longer than 79 characters. max-line-length = 79 -[testenv:lower-constraints] -basepython = python3 -deps = - -c{toxinidir}/lower-constraints.txt - -r{toxinidir}/test-requirements.txt - -r{toxinidir}/requirements.txt -setenv = - PYTHONWARNINGS = ignore - PYTHON_LOGGER_LEVEL = DEBUG [testenv:lint] deps =