Don't include type stub packages in upper-constraints

We don't need to version these as they don't affect runtime. Heck, in
most cases they shouldn't be included in the requirements.txt files,
though we still need to denylist them here if we want to include them in
e.g. a typing extra.

We also remove 'typing' from global-requirements since this is a stdlib
package, not a third-party one [1]. typing-extensions is kept since this
is third-party as is used at runtime (though we correct the name used in
upper-constraints).

[1] https://docs.python.org/3/library/typing.html

Change-Id: I01dc6aa8e6389fc927d03c4997052d237639b9fe
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
Stephen Finucane
2025-12-10 17:04:43 +00:00
parent e3fe37b571
commit e0f2f0d6bb
3 changed files with 13 additions and 13 deletions

View File

@@ -20,6 +20,18 @@ pycodestyle
pylint
yamllint
# type stub packages - these do not affect runtime and are effectively only
# for linting
types-Jinja2
types-jsonschema
types-paramiko
types-python-dateutil
types-PyYAML
types-requests
types-setuptools
types-simplejson
types-urllib3
# The following Neutron libraries need to be denylisted
# as they do not use cycle-with-intermediary. The only time they
# would be updated is at release time.

View File

@@ -272,12 +272,6 @@ testrepository # Apache-2.0/BSD
testresources # Apache-2.0/BSD
testscenarios # Apache-2.0/BSD
testtools # MIT
types-paramiko # Apache-2.0
types-python-dateutil # Apache-2.0
types-requests # Apache-2.0
types-setuptools # Apache-2.0
types-simplejson # Apache-2.0
typing # PSF
typing-extensions # PSF
tzdata # MIT
valkey # MIT

View File

@@ -91,13 +91,11 @@ psycopg2===2.9.11
networkx===3.4.2
cheroot===11.0.0
XStatic-Angular===1.8.2.2
types-requests===2.31.0.6
zuul-sphinx===0.7.0
ply===3.11
google-api-core===2.27.0
requests-toolbelt===1.0.0
simplejson===3.20.2
types-paramiko===4.0.0.20250822
python-swiftclient===4.9.0
pyOpenSSL===24.2.1
typing-inspection===0.4.2
@@ -119,7 +117,6 @@ horizon===25.5.1
octavia-lib===3.10.0
python-watcherclient===4.9.0
MarkupSafe===3.0.3
types-python-dateutil===2.9.0.20251008
ruamel.yaml.clib===0.2.14
doc8===2.0.0
pymongo===4.15.3
@@ -158,7 +155,7 @@ openstack-doc-tools===4.0.1
oslo.messaging===17.1.0
jira===3.10.5
PyJWT===2.10.1
typing_extensions===4.15.0
typing-extensions===4.15.0
XStatic-lodash===4.16.4.2
zVMCloudConnector===1.6.3
paramiko===4.0.0
@@ -305,7 +302,6 @@ oslo.serialization===5.8.0
warlock===2.1.0
exabgp===4.2.25
aiomysql===0.3.2
types-simplejson===3.20.0.20250822
sphinxcontrib-httpdomain===1.8.1
metalsmith===2.5.0
s3transfer===0.10.0
@@ -318,7 +314,6 @@ gitdb===4.0.12
python-monascaclient===2.8.0
opentelemetry-api===1.38.0
automaton===3.3.0
types-urllib3===1.26.25.14
os-service-types===1.8.2
keyring===25.6.0
elementpath===4.8.0
@@ -360,7 +355,6 @@ yamlloader===1.5.2
protobuf===6.33.0
sushy===5.9.0
python-neutronclient===11.6.0
types-setuptools===80.9.0.20250822
pika===1.3.2
oslo.cache===4.0.0
WebTest===3.0.7