Fix dependency upgrades (#15740)

* Update dependencies to fix offline build

* Downgrade cryptography due to compatibility issue with openssl

* Downgrade setuptools

* Run update script to assure constraints work

* Maintain pin on cryptography

* Small adjustment to comment

---------

Co-authored-by: Satoe Imaishi <simaishi@redhat.com>
This commit is contained in:
Alan Rominger
2025-01-10 16:18:48 -05:00
committed by GitHub
parent 3e50b019e0
commit c1572af1d4
4 changed files with 27 additions and 25 deletions

View File

@@ -70,7 +70,7 @@ RECEPTOR_IMAGE ?= quay.io/ansible/receptor:devel
SRC_ONLY_PKGS ?= cffi,pycparser,psycopg,twilio SRC_ONLY_PKGS ?= cffi,pycparser,psycopg,twilio
# These should be upgraded in the AWX and Ansible venv before attempting # These should be upgraded in the AWX and Ansible venv before attempting
# to install the actual requirements # to install the actual requirements
VENV_BOOTSTRAP ?= pip==21.2.4 setuptools==69.0.2 setuptools_scm[toml]==8.0.4 wheel==0.42.0 cython==0.29.37 VENV_BOOTSTRAP ?= pip==21.2.4 setuptools==70.3.0 setuptools_scm[toml]==8.1.0 wheel==0.45.1 cython==3.0.11
NAME ?= awx NAME ?= awx

View File

@@ -62,6 +62,8 @@ If modifying these libraries make sure testing with the offline build is perform
Versions need to match the versions used in the pip bootstrapping step Versions need to match the versions used in the pip bootstrapping step
in the top-level Makefile. in the top-level Makefile.
Verify ansible-runner's build dependency doesn't conflict with the changes made.
### cryptography ### cryptography
If modifying this library make sure testing with the offline build is performed to confirm it is functionally working. If modifying this library make sure testing with the offline build is performed to confirm it is functionally working.

View File

@@ -8,7 +8,7 @@ boto3
botocore botocore
channels channels
channels-redis channels-redis
cryptography>=41.0.7 # CVE-2023-49083 cryptography<42.0.0 # investigation is needed for 42+ to work with OpenSSL v3.0.x (RHEL 9.4) and v3.2.x (RHEL 9.5)
Cython Cython
daphne daphne
distro distro
@@ -33,7 +33,7 @@ JSON-log-formatter
jsonschema jsonschema
Markdown # used for formatting API help Markdown # used for formatting API help
maturin # pydantic-core build dep maturin # pydantic-core build dep
msgpack<1.0.6 # 1.0.6+ requires cython>=3 msgpack
msrestazure msrestazure
openshift openshift
opentelemetry-api~=1.24 # new y streams can be drastically different, in a good way opentelemetry-api~=1.24 # new y streams can be drastically different, in a good way
@@ -63,7 +63,7 @@ uWSGI
uwsgitop uwsgitop
wheel>=0.38.1 # CVE-2022-40898 wheel>=0.38.1 # CVE-2022-40898
pip==21.2.4 # see UPGRADE BLOCKERs pip==21.2.4 # see UPGRADE BLOCKERs
setuptools # see UPGRADE BLOCKERs setuptools<71.0.0 # see UPGRADE BLOCKERs, path hack in v71 breaks irc deps
setuptools_scm[toml] # see UPGRADE BLOCKERs, xmlsec build dep setuptools_scm[toml] # see UPGRADE BLOCKERs, xmlsec build dep
setuptools-rust>=0.11.4 # cryptography build dep setuptools-rust>=0.11.4 # cryptography build dep
pkgconfig>=1.5.1 # xmlsec build dep - needed for offline build pkgconfig>=1.5.1 # xmlsec build dep - needed for offline build

View File

@@ -2,7 +2,7 @@ adal==1.2.7
# via msrestazure # via msrestazure
aiohappyeyeballs==2.4.4 aiohappyeyeballs==2.4.4
# via aiohttp # via aiohttp
aiohttp==3.11.10 aiohttp==3.11.11
# via # via
# -r /awx_devel/requirements/requirements.in # -r /awx_devel/requirements/requirements.in
# aiohttp-retry # aiohttp-retry
@@ -63,9 +63,9 @@ azure-keyvault-secrets==4.9.0
# via azure-keyvault # via azure-keyvault
backports-tarfile==1.2.0 backports-tarfile==1.2.0
# via jaraco-context # via jaraco-context
boto3==1.35.82 boto3==1.35.96
# via -r /awx_devel/requirements/requirements.in # via -r /awx_devel/requirements/requirements.in
botocore==1.35.82 botocore==1.35.96
# via # via
# -r /awx_devel/requirements/requirements.in # -r /awx_devel/requirements/requirements.in
# boto3 # boto3
@@ -86,13 +86,13 @@ channels==4.2.0
# channels-redis # channels-redis
channels-redis==4.2.1 channels-redis==4.2.1
# via -r /awx_devel/requirements/requirements.in # via -r /awx_devel/requirements/requirements.in
charset-normalizer==3.4.0 charset-normalizer==3.4.1
# via requests # via requests
click==8.1.7 click==8.1.8
# via receptorctl # via receptorctl
constantly==23.10.4 constantly==23.10.4
# via twisted # via twisted
cryptography==44.0.0 cryptography==41.0.7
# via # via
# -r /awx_devel/requirements/requirements.in # -r /awx_devel/requirements/requirements.in
# adal # adal
@@ -173,9 +173,9 @@ frozenlist==1.5.0
# via # via
# aiohttp # aiohttp
# aiosignal # aiosignal
gitdb==4.0.11 gitdb==4.0.12
# via gitpython # via gitpython
gitpython==3.1.43 gitpython==3.1.44
# via -r /awx_devel/requirements/requirements.in # via -r /awx_devel/requirements/requirements.in
google-auth==2.37.0 google-auth==2.37.0
# via kubernetes # via kubernetes
@@ -183,7 +183,7 @@ googleapis-common-protos==1.66.0
# via # via
# opentelemetry-exporter-otlp-proto-grpc # opentelemetry-exporter-otlp-proto-grpc
# opentelemetry-exporter-otlp-proto-http # opentelemetry-exporter-otlp-proto-http
grpcio==1.68.1 grpcio==1.69.0
# via # via
# -r /awx_devel/requirements/requirements.in # -r /awx_devel/requirements/requirements.in
# opentelemetry-exporter-otlp-proto-grpc # opentelemetry-exporter-otlp-proto-grpc
@@ -201,7 +201,7 @@ idna==3.10
# yarl # yarl
importlib-metadata==8.5.0 importlib-metadata==8.5.0
# via opentelemetry-api # via opentelemetry-api
importlib-resources==6.4.5 importlib-resources==6.5.2
# via irc # via irc
incremental==24.7.2 incremental==24.7.2
# via twisted # via twisted
@@ -232,7 +232,7 @@ jaraco-text==4.0.0
# via # via
# irc # irc
# jaraco-collections # jaraco-collections
jinja2==3.1.4 jinja2==3.1.5
# via -r /awx_devel/requirements/requirements.in # via -r /awx_devel/requirements/requirements.in
jmespath==1.0.1 jmespath==1.0.1
# via # via
@@ -254,7 +254,7 @@ markdown==3.7
# via -r /awx_devel/requirements/requirements.in # via -r /awx_devel/requirements/requirements.in
markupsafe==3.0.2 markupsafe==3.0.2
# via jinja2 # via jinja2
maturin==1.7.8 maturin==1.8.1
# via -r /awx_devel/requirements/requirements.in # via -r /awx_devel/requirements/requirements.in
more-itertools==10.5.0 more-itertools==10.5.0
# via # via
@@ -268,7 +268,7 @@ msal==1.31.1
# msal-extensions # msal-extensions
msal-extensions==1.2.0 msal-extensions==1.2.0
# via azure-identity # via azure-identity
msgpack==1.0.5 msgpack==1.1.0
# via # via
# -r /awx_devel/requirements/requirements.in # -r /awx_devel/requirements/requirements.in
# channels-redis # channels-redis
@@ -345,11 +345,11 @@ propcache==0.2.1
# via # via
# aiohttp # aiohttp
# yarl # yarl
protobuf==5.29.1 protobuf==5.29.3
# via # via
# googleapis-common-protos # googleapis-common-protos
# opentelemetry-proto # opentelemetry-proto
psutil==6.1.0 psutil==6.1.1
# via -r /awx_devel/requirements/requirements.in # via -r /awx_devel/requirements/requirements.in
psycopg==3.2.3 psycopg==3.2.3
# via -r /awx_devel/requirements/requirements.in # via -r /awx_devel/requirements/requirements.in
@@ -462,20 +462,20 @@ six==1.17.0
# openshift # openshift
# pygerduty # pygerduty
# python-dateutil # python-dateutil
slack-sdk==3.33.5 slack-sdk==3.34.0
# via -r /awx_devel/requirements/requirements.in # via -r /awx_devel/requirements/requirements.in
smmap==5.0.1 smmap==5.0.2
# via gitdb # via gitdb
sqlparse==0.5.3 sqlparse==0.5.3
# via # via
# -r /awx_devel/requirements/requirements.in # -r /awx_devel/requirements/requirements.in
# django # django
# django-ansible-base # django-ansible-base
tempora==5.7.0 tempora==5.8.0
# via # via
# irc # irc
# jaraco-logging # jaraco-logging
twilio==9.4.1 twilio==9.4.2
# via -r /awx_devel/requirements/requirements.in # via -r /awx_devel/requirements/requirements.in
twisted[tls]==24.11.0 twisted[tls]==24.11.0
# via # via
@@ -494,7 +494,7 @@ typing-extensions==4.12.2
# opentelemetry-sdk # opentelemetry-sdk
# psycopg # psycopg
# twisted # twisted
urllib3==2.2.3 urllib3==2.3.0
# via # via
# botocore # botocore
# django-ansible-base # django-ansible-base
@@ -522,7 +522,7 @@ zope-interface==7.2
# The following packages are considered to be unsafe in a requirements file: # The following packages are considered to be unsafe in a requirements file:
pip==21.2.4 pip==21.2.4
# via -r /awx_devel/requirements/requirements.in # via -r /awx_devel/requirements/requirements.in
setuptools==75.6.0 setuptools==70.3.0
# via # via
# -r /awx_devel/requirements/requirements.in # -r /awx_devel/requirements/requirements.in
# asciichartpy # asciichartpy