From f8972e0c37cef151ae1b312cb7ed006c6d856313 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 8 May 2025 10:42:43 -0400 Subject: [PATCH] Specify cryptography version. --- .../py310/base_image_requirements.txt | 54 ++++++++++-------- .../py311/base_image_requirements.txt | 54 ++++++++++-------- .../py312/base_image_requirements.txt | 56 +++++++++++-------- .../py39/base_image_requirements.txt | 52 +++++++++-------- .../container/run_generate_requirements.sh | 2 +- sdks/python/setup.py | 1 + 6 files changed, 126 insertions(+), 93 deletions(-) diff --git a/sdks/python/container/py310/base_image_requirements.txt b/sdks/python/container/py310/base_image_requirements.txt index b5e58532709f..e57959ec97b3 100644 --- a/sdks/python/container/py310/base_image_requirements.txt +++ b/sdks/python/container/py310/base_image_requirements.txt @@ -22,6 +22,7 @@ # Reach out to a committer if you need help. annotated-types==0.7.0 +anyio==4.9.0 async-timeout==5.0.1 attrs==25.3.0 backports.tarfile==1.2.0 @@ -29,12 +30,12 @@ beautifulsoup4==4.13.4 bs4==0.0.2 build==1.2.2.post1 cachetools==5.5.2 -certifi==2025.1.31 +certifi==2025.4.26 cffi==1.17.1 -charset-normalizer==3.4.1 +charset-normalizer==3.4.2 click==8.1.8 crcmod==1.7 -cryptography==44.0.2 +cryptography==44.0.3 Cython==3.0.12 Deprecated==1.2.18 deprecation==2.1.0 @@ -50,13 +51,13 @@ fasteners==0.19 freezegun==1.5.1 future==1.0.0 google-api-core==2.24.2 -google-api-python-client==2.167.0 +google-api-python-client==2.169.0 google-apitools==0.5.31 -google-auth==2.39.0 +google-auth==2.40.1 google-auth-httplib2==0.2.0 -google-cloud-aiplatform==1.89.0 +google-cloud-aiplatform==1.92.0 google-cloud-bigquery==3.31.0 -google-cloud-bigquery-storage==2.30.0 +google-cloud-bigquery-storage==2.31.0 google-cloud-bigtable==2.30.1 google-cloud-core==2.4.3 google-cloud-datastore==2.21.0 @@ -67,22 +68,26 @@ google-cloud-pubsub==2.29.0 google-cloud-pubsublite==1.12.0 google-cloud-recommendations-ai==0.10.17 google-cloud-resource-manager==1.14.2 -google-cloud-spanner==3.53.0 +google-cloud-spanner==3.54.0 google-cloud-storage==2.19.0 google-cloud-videointelligence==2.16.1 google-cloud-vision==3.10.1 google-crc32c==1.7.1 +google-genai==1.14.0 google-resumable-media==2.7.2 googleapis-common-protos==1.70.0 -greenlet==3.2.0 +greenlet==3.2.1 grpc-google-iam-v1==0.14.2 grpc-interceptor==0.15.4 grpcio==1.65.5 grpcio-status==1.65.5 guppy3==3.1.5 +h11==0.16.0 hdfs==2.7.3 +httpcore==1.0.9 httplib2==0.22.0 -hypothesis==6.131.2 +httpx==0.28.1 +hypothesis==6.131.15 idna==3.10 importlib_metadata==8.6.1 iniconfig==2.1.0 @@ -91,26 +96,26 @@ jaraco.context==6.0.1 jaraco.functools==4.1.0 jeepney==0.9.0 Jinja2==3.1.6 -joblib==1.4.2 +joblib==1.5.0 jsonpickle==3.4.2 jsonschema==4.23.0 -jsonschema-specifications==2024.10.1 +jsonschema-specifications==2025.4.1 keyring==25.6.0 keyrings.google-artifactregistry-auth==1.1.2 MarkupSafe==3.0.2 mmh3==5.1.0 mock==5.2.0 -more-itertools==10.6.0 +more-itertools==10.7.0 nltk==3.9.1 -numpy==2.2.4 +numpy==2.2.5 oauth2client==4.1.3 objsize==0.7.1 opentelemetry-api==1.32.1 opentelemetry-sdk==1.32.1 opentelemetry-semantic-conventions==0.53b1 -orjson==3.10.16 +orjson==3.10.18 overrides==7.7.0 -packaging==24.2 +packaging==25.0 pandas==2.2.3 parameterized==0.9.0 pluggy==1.5.0 @@ -118,25 +123,26 @@ proto-plus==1.26.1 protobuf==5.29.4 psycopg2-binary==2.9.9 pyarrow==16.1.0 -pyarrow-hotfix==0.6 +pyarrow-hotfix==0.7 pyasn1==0.6.1 pyasn1_modules==0.4.2 pycparser==2.22 -pydantic==2.11.3 -pydantic_core==2.33.1 +pydantic==2.11.4 +pydantic_core==2.33.2 pydot==1.4.2 PyHamcrest==2.1.0 -pymongo==4.12.0 +PyJWT==2.9.0 +pymongo==4.12.1 PyMySQL==1.1.1 pyparsing==3.2.3 pyproject_hooks==1.2.0 pytest==7.4.4 -pytest-timeout==2.3.1 +pytest-timeout==2.4.0 pytest-xdist==3.6.1 python-dateutil==2.9.0.post0 pytz==2025.2 PyYAML==6.0.2 -redis==5.2.1 +redis==5.3.0 referencing==0.36.2 regex==2024.11.6 requests==2.32.3 @@ -148,8 +154,9 @@ scipy==1.15.2 SecretStorage==3.3.3 shapely==2.1.0 six==1.17.0 +sniffio==1.3.1 sortedcontainers==2.4.0 -soupsieve==2.6 +soupsieve==2.7 SQLAlchemy==2.0.40 sqlparse==0.5.3 tenacity==8.5.0 @@ -163,6 +170,7 @@ tzdata==2025.2 uritemplate==4.1.1 urllib3==2.4.0 virtualenv-clone==0.5.7 +websockets==15.0.1 wrapt==1.17.2 zipp==3.21.0 zstandard==0.23.0 diff --git a/sdks/python/container/py311/base_image_requirements.txt b/sdks/python/container/py311/base_image_requirements.txt index 804fd3b8304a..c37df0c0ed1b 100644 --- a/sdks/python/container/py311/base_image_requirements.txt +++ b/sdks/python/container/py311/base_image_requirements.txt @@ -22,18 +22,19 @@ # Reach out to a committer if you need help. annotated-types==0.7.0 +anyio==4.9.0 attrs==25.3.0 backports.tarfile==1.2.0 beautifulsoup4==4.13.4 bs4==0.0.2 build==1.2.2.post1 cachetools==5.5.2 -certifi==2025.1.31 +certifi==2025.4.26 cffi==1.17.1 -charset-normalizer==3.4.1 +charset-normalizer==3.4.2 click==8.1.8 crcmod==1.7 -cryptography==44.0.2 +cryptography==44.0.3 Cython==3.0.12 Deprecated==1.2.18 deprecation==2.1.0 @@ -48,13 +49,13 @@ fasteners==0.19 freezegun==1.5.1 future==1.0.0 google-api-core==2.24.2 -google-api-python-client==2.167.0 +google-api-python-client==2.169.0 google-apitools==0.5.31 -google-auth==2.39.0 +google-auth==2.40.1 google-auth-httplib2==0.2.0 -google-cloud-aiplatform==1.89.0 +google-cloud-aiplatform==1.92.0 google-cloud-bigquery==3.31.0 -google-cloud-bigquery-storage==2.30.0 +google-cloud-bigquery-storage==2.31.0 google-cloud-bigtable==2.30.1 google-cloud-core==2.4.3 google-cloud-datastore==2.21.0 @@ -65,22 +66,26 @@ google-cloud-pubsub==2.29.0 google-cloud-pubsublite==1.12.0 google-cloud-recommendations-ai==0.10.17 google-cloud-resource-manager==1.14.2 -google-cloud-spanner==3.53.0 +google-cloud-spanner==3.54.0 google-cloud-storage==2.19.0 google-cloud-videointelligence==2.16.1 google-cloud-vision==3.10.1 google-crc32c==1.7.1 +google-genai==1.14.0 google-resumable-media==2.7.2 googleapis-common-protos==1.70.0 -greenlet==3.2.0 +greenlet==3.2.1 grpc-google-iam-v1==0.14.2 grpc-interceptor==0.15.4 grpcio==1.65.5 grpcio-status==1.65.5 guppy3==3.1.5 +h11==0.16.0 hdfs==2.7.3 +httpcore==1.0.9 httplib2==0.22.0 -hypothesis==6.131.2 +httpx==0.28.1 +hypothesis==6.131.15 idna==3.10 importlib_metadata==8.6.1 iniconfig==2.1.0 @@ -89,26 +94,26 @@ jaraco.context==6.0.1 jaraco.functools==4.1.0 jeepney==0.9.0 Jinja2==3.1.6 -joblib==1.4.2 +joblib==1.5.0 jsonpickle==3.4.2 jsonschema==4.23.0 -jsonschema-specifications==2024.10.1 +jsonschema-specifications==2025.4.1 keyring==25.6.0 keyrings.google-artifactregistry-auth==1.1.2 MarkupSafe==3.0.2 mmh3==5.1.0 mock==5.2.0 -more-itertools==10.6.0 +more-itertools==10.7.0 nltk==3.9.1 -numpy==2.2.4 +numpy==2.2.5 oauth2client==4.1.3 objsize==0.7.1 opentelemetry-api==1.32.1 opentelemetry-sdk==1.32.1 opentelemetry-semantic-conventions==0.53b1 -orjson==3.10.16 +orjson==3.10.18 overrides==7.7.0 -packaging==24.2 +packaging==25.0 pandas==2.2.3 parameterized==0.9.0 pluggy==1.5.0 @@ -116,25 +121,26 @@ proto-plus==1.26.1 protobuf==5.29.4 psycopg2-binary==2.9.9 pyarrow==16.1.0 -pyarrow-hotfix==0.6 +pyarrow-hotfix==0.7 pyasn1==0.6.1 pyasn1_modules==0.4.2 pycparser==2.22 -pydantic==2.11.3 -pydantic_core==2.33.1 +pydantic==2.11.4 +pydantic_core==2.33.2 pydot==1.4.2 PyHamcrest==2.1.0 -pymongo==4.12.0 +PyJWT==2.9.0 +pymongo==4.12.1 PyMySQL==1.1.1 pyparsing==3.2.3 pyproject_hooks==1.2.0 pytest==7.4.4 -pytest-timeout==2.3.1 +pytest-timeout==2.4.0 pytest-xdist==3.6.1 python-dateutil==2.9.0.post0 pytz==2025.2 PyYAML==6.0.2 -redis==5.2.1 +redis==5.3.0 referencing==0.36.2 regex==2024.11.6 requests==2.32.3 @@ -146,8 +152,9 @@ scipy==1.15.2 SecretStorage==3.3.3 shapely==2.1.0 six==1.17.0 +sniffio==1.3.1 sortedcontainers==2.4.0 -soupsieve==2.6 +soupsieve==2.7 SQLAlchemy==2.0.40 sqlparse==0.5.3 tenacity==8.5.0 @@ -160,6 +167,7 @@ tzdata==2025.2 uritemplate==4.1.1 urllib3==2.4.0 virtualenv-clone==0.5.7 +websockets==15.0.1 wrapt==1.17.2 zipp==3.21.0 zstandard==0.23.0 diff --git a/sdks/python/container/py312/base_image_requirements.txt b/sdks/python/container/py312/base_image_requirements.txt index 7400b72f8cb9..a8554227e163 100644 --- a/sdks/python/container/py312/base_image_requirements.txt +++ b/sdks/python/container/py312/base_image_requirements.txt @@ -22,17 +22,18 @@ # Reach out to a committer if you need help. annotated-types==0.7.0 +anyio==4.9.0 attrs==25.3.0 beautifulsoup4==4.13.4 bs4==0.0.2 build==1.2.2.post1 cachetools==5.5.2 -certifi==2025.1.31 +certifi==2025.4.26 cffi==1.17.1 -charset-normalizer==3.4.1 +charset-normalizer==3.4.2 click==8.1.8 crcmod==1.7 -cryptography==44.0.2 +cryptography==44.0.3 Cython==3.0.12 Deprecated==1.2.18 deprecation==2.1.0 @@ -47,13 +48,13 @@ fasteners==0.19 freezegun==1.5.1 future==1.0.0 google-api-core==2.24.2 -google-api-python-client==2.167.0 +google-api-python-client==2.169.0 google-apitools==0.5.31 -google-auth==2.39.0 +google-auth==2.40.1 google-auth-httplib2==0.2.0 -google-cloud-aiplatform==1.89.0 +google-cloud-aiplatform==1.92.0 google-cloud-bigquery==3.31.0 -google-cloud-bigquery-storage==2.30.0 +google-cloud-bigquery-storage==2.31.0 google-cloud-bigtable==2.30.1 google-cloud-core==2.4.3 google-cloud-datastore==2.21.0 @@ -64,22 +65,26 @@ google-cloud-pubsub==2.29.0 google-cloud-pubsublite==1.12.0 google-cloud-recommendations-ai==0.10.17 google-cloud-resource-manager==1.14.2 -google-cloud-spanner==3.53.0 +google-cloud-spanner==3.54.0 google-cloud-storage==2.19.0 google-cloud-videointelligence==2.16.1 google-cloud-vision==3.10.1 google-crc32c==1.7.1 +google-genai==1.14.0 google-resumable-media==2.7.2 googleapis-common-protos==1.70.0 -greenlet==3.2.0 +greenlet==3.2.1 grpc-google-iam-v1==0.14.2 grpc-interceptor==0.15.4 grpcio==1.65.5 grpcio-status==1.65.5 guppy3==3.1.5 +h11==0.16.0 hdfs==2.7.3 +httpcore==1.0.9 httplib2==0.22.0 -hypothesis==6.131.2 +httpx==0.28.1 +hypothesis==6.131.15 idna==3.10 importlib_metadata==8.6.1 iniconfig==2.1.0 @@ -88,26 +93,26 @@ jaraco.context==6.0.1 jaraco.functools==4.1.0 jeepney==0.9.0 Jinja2==3.1.6 -joblib==1.4.2 +joblib==1.5.0 jsonpickle==3.4.2 jsonschema==4.23.0 -jsonschema-specifications==2024.10.1 +jsonschema-specifications==2025.4.1 keyring==25.6.0 keyrings.google-artifactregistry-auth==1.1.2 MarkupSafe==3.0.2 mmh3==5.1.0 mock==5.2.0 -more-itertools==10.6.0 +more-itertools==10.7.0 nltk==3.9.1 -numpy==2.2.4 +numpy==2.2.5 oauth2client==4.1.3 objsize==0.7.1 opentelemetry-api==1.32.1 opentelemetry-sdk==1.32.1 opentelemetry-semantic-conventions==0.53b1 -orjson==3.10.16 +orjson==3.10.18 overrides==7.7.0 -packaging==24.2 +packaging==25.0 pandas==2.2.3 parameterized==0.9.0 pluggy==1.5.0 @@ -115,25 +120,26 @@ proto-plus==1.26.1 protobuf==5.29.4 psycopg2-binary==2.9.9 pyarrow==16.1.0 -pyarrow-hotfix==0.6 +pyarrow-hotfix==0.7 pyasn1==0.6.1 pyasn1_modules==0.4.2 pycparser==2.22 -pydantic==2.11.3 -pydantic_core==2.33.1 +pydantic==2.11.4 +pydantic_core==2.33.2 pydot==1.4.2 PyHamcrest==2.1.0 -pymongo==4.12.0 +PyJWT==2.9.0 +pymongo==4.12.1 PyMySQL==1.1.1 pyparsing==3.2.3 pyproject_hooks==1.2.0 pytest==7.4.4 -pytest-timeout==2.3.1 +pytest-timeout==2.4.0 pytest-xdist==3.6.1 python-dateutil==2.9.0.post0 pytz==2025.2 PyYAML==6.0.2 -redis==5.2.1 +redis==5.3.0 referencing==0.36.2 regex==2024.11.6 requests==2.32.3 @@ -143,11 +149,12 @@ rsa==4.9.1 scikit-learn==1.6.1 scipy==1.15.2 SecretStorage==3.3.3 -setuptools==78.1.0 +setuptools==80.3.1 shapely==2.1.0 six==1.17.0 +sniffio==1.3.1 sortedcontainers==2.4.0 -soupsieve==2.6 +soupsieve==2.7 SQLAlchemy==2.0.40 sqlparse==0.5.3 tenacity==8.5.0 @@ -160,6 +167,7 @@ tzdata==2025.2 uritemplate==4.1.1 urllib3==2.4.0 virtualenv-clone==0.5.7 +websockets==15.0.1 wheel==0.45.1 wrapt==1.17.2 zipp==3.21.0 diff --git a/sdks/python/container/py39/base_image_requirements.txt b/sdks/python/container/py39/base_image_requirements.txt index ca4abe2963a6..d4eaf2897318 100644 --- a/sdks/python/container/py39/base_image_requirements.txt +++ b/sdks/python/container/py39/base_image_requirements.txt @@ -22,6 +22,7 @@ # Reach out to a committer if you need help. annotated-types==0.7.0 +anyio==4.9.0 async-timeout==5.0.1 attrs==25.3.0 backports.tarfile==1.2.0 @@ -29,12 +30,12 @@ beautifulsoup4==4.13.4 bs4==0.0.2 build==1.2.2.post1 cachetools==5.5.2 -certifi==2025.1.31 +certifi==2025.4.26 cffi==1.17.1 -charset-normalizer==3.4.1 +charset-normalizer==3.4.2 click==8.1.8 crcmod==1.7 -cryptography==44.0.2 +cryptography==44.0.3 Cython==3.0.12 Deprecated==1.2.18 deprecation==2.1.0 @@ -50,13 +51,13 @@ fasteners==0.19 freezegun==1.5.1 future==1.0.0 google-api-core==2.24.2 -google-api-python-client==2.167.0 +google-api-python-client==2.169.0 google-apitools==0.5.31 -google-auth==2.39.0 +google-auth==2.40.1 google-auth-httplib2==0.2.0 -google-cloud-aiplatform==1.89.0 +google-cloud-aiplatform==1.92.0 google-cloud-bigquery==3.31.0 -google-cloud-bigquery-storage==2.30.0 +google-cloud-bigquery-storage==2.31.0 google-cloud-bigtable==2.30.1 google-cloud-core==2.4.3 google-cloud-datastore==2.21.0 @@ -67,22 +68,26 @@ google-cloud-pubsub==2.29.0 google-cloud-pubsublite==1.12.0 google-cloud-recommendations-ai==0.10.17 google-cloud-resource-manager==1.14.2 -google-cloud-spanner==3.53.0 +google-cloud-spanner==3.54.0 google-cloud-storage==2.19.0 google-cloud-videointelligence==2.16.1 google-cloud-vision==3.10.1 google-crc32c==1.7.1 +google-genai==1.14.0 google-resumable-media==2.7.2 googleapis-common-protos==1.70.0 -greenlet==3.2.0 +greenlet==3.2.1 grpc-google-iam-v1==0.14.2 grpc-interceptor==0.15.4 grpcio==1.65.5 grpcio-status==1.65.5 guppy3==3.1.5 +h11==0.16.0 hdfs==2.7.3 +httpcore==1.0.9 httplib2==0.22.0 -hypothesis==6.131.2 +httpx==0.28.1 +hypothesis==6.131.15 idna==3.10 importlib_metadata==8.6.1 iniconfig==2.1.0 @@ -91,16 +96,16 @@ jaraco.context==6.0.1 jaraco.functools==4.1.0 jeepney==0.9.0 Jinja2==3.1.6 -joblib==1.4.2 +joblib==1.5.0 jsonpickle==3.4.2 jsonschema==4.23.0 -jsonschema-specifications==2024.10.1 +jsonschema-specifications==2025.4.1 keyring==25.6.0 keyrings.google-artifactregistry-auth==1.1.2 MarkupSafe==3.0.2 mmh3==5.1.0 mock==5.2.0 -more-itertools==10.6.0 +more-itertools==10.7.0 nltk==3.9.1 numpy==2.0.2 oauth2client==4.1.3 @@ -108,9 +113,9 @@ objsize==0.7.1 opentelemetry-api==1.32.1 opentelemetry-sdk==1.32.1 opentelemetry-semantic-conventions==0.53b1 -orjson==3.10.16 +orjson==3.10.18 overrides==7.7.0 -packaging==24.2 +packaging==25.0 pandas==2.2.3 parameterized==0.9.0 pluggy==1.5.0 @@ -118,25 +123,26 @@ proto-plus==1.26.1 protobuf==5.29.4 psycopg2-binary==2.9.9 pyarrow==16.1.0 -pyarrow-hotfix==0.6 +pyarrow-hotfix==0.7 pyasn1==0.6.1 pyasn1_modules==0.4.2 pycparser==2.22 -pydantic==2.11.3 -pydantic_core==2.33.1 +pydantic==2.11.4 +pydantic_core==2.33.2 pydot==1.4.2 PyHamcrest==2.1.0 -pymongo==4.12.0 +PyJWT==2.9.0 +pymongo==4.12.1 PyMySQL==1.1.1 pyparsing==3.2.3 pyproject_hooks==1.2.0 pytest==7.4.4 -pytest-timeout==2.3.1 +pytest-timeout==2.4.0 pytest-xdist==3.6.1 python-dateutil==2.9.0.post0 pytz==2025.2 PyYAML==6.0.2 -redis==5.2.1 +redis==5.3.0 referencing==0.36.2 regex==2024.11.6 requests==2.32.3 @@ -148,8 +154,9 @@ scipy==1.13.1 SecretStorage==3.3.3 shapely==2.0.7 six==1.17.0 +sniffio==1.3.1 sortedcontainers==2.4.0 -soupsieve==2.6 +soupsieve==2.7 SQLAlchemy==2.0.40 sqlparse==0.5.3 tenacity==8.5.0 @@ -163,6 +170,7 @@ tzdata==2025.2 uritemplate==4.1.1 urllib3==2.4.0 virtualenv-clone==0.5.7 +websockets==15.0.1 wrapt==1.17.2 zipp==3.21.0 zstandard==0.23.0 diff --git a/sdks/python/container/run_generate_requirements.sh b/sdks/python/container/run_generate_requirements.sh index 6c160bc6ac9e..c482ddd977a2 100755 --- a/sdks/python/container/run_generate_requirements.sh +++ b/sdks/python/container/run_generate_requirements.sh @@ -25,7 +25,7 @@ # It is recommended to run this script via gradle commands such as: # ./gradlew :sdks:python:container:generatePythonRequirementsAll -# ./gradlew :sdks:python:container:py38:generatePythonRequirements +# ./gradlew :sdks:python:container:py39:generatePythonRequirements # You will need Python interpreters for all versions supported by Beam, see: # https://s.apache.org/beam-python-dev-wiki diff --git a/sdks/python/setup.py b/sdks/python/setup.py index 2b21d0463c98..1c9c212d8218 100644 --- a/sdks/python/setup.py +++ b/sdks/python/setup.py @@ -340,6 +340,7 @@ def get_portability_package_data(): ext_modules=extensions, install_requires=[ 'crcmod>=1.7,<2.0', + 'cryptography>=44.0.1', 'orjson>=3.9.7,<4', # Dill doesn't have forwards-compatibility guarantees within minor # version. Pickles created with a new version of dill may not unpickle