Skip to content

Commit 843970a

Browse files
authored
build(deps): bump cryptography to 50.0.1 in requirements (#14578)
* build(deps): bump cryptography to 50.0.1 in requirements Updates the cryptography dependency to version 50.0.1 across multiple examples to resolve Dependabot alerts. Note: The dataflow/flex-templates example was excluded from this update because released versions of apache-beam (up to 2.76.0) restrict cryptography to <49.0.0. This can be updated once the pending apache-beam release that supports cryptography <51.0.0 is published. * build(deps): bump cryptography to 50.0.1 in requirements Updates the cryptography dependency to version 50.0.1 across multiple examples to resolve Dependabot alerts. This update also bumps `apache-beam` to version 2.76.0 in the Dataflow flex-templates example, enabling support for the newer cryptography version. Additionally, it regenerates the `uv.lock` file in the Cloud Run MCP server example to reflect the updated dependency tree.
1 parent abd7dfe commit 843970a

10 files changed

Lines changed: 1486 additions & 1247 deletions

File tree

‎compute/encryption/requirements.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cryptography==48.0.1
1+
cryptography==50.0.1
22
requests==2.34.2
33
google-api-python-client==2.131.0
44
google-auth==2.38.0

‎dataflow/flex-templates/pipeline_with_dependencies/Dockerfile‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@
2424
# This Dockerfile illustrates how to use a custom base image when building
2525
# a custom contaier images for Dataflow. A 'slim' base image is smaller in size,
2626
# but does not include some preinstalled libraries, like google-cloud-debugger.
27-
# To use a standard image, use apache/beam_python3.14_sdk:2.73.0 instead.
27+
# To use a standard image, use apache/beam_python3.14_sdk:2.76.0 instead.
2828
# Use consistent versions of Python interpreter in the project.
2929
FROM python:3.14-slim
3030

3131
# Copy SDK entrypoint binary from Apache Beam image, which makes it possible to
3232
# use the image as SDK container image. If you explicitly depend on
3333
# apache-beam in setup.py, use the same version of Beam in both files.
34-
COPY --from=apache/beam_python3.14_sdk:2.73.0 /opt/apache/beam /opt/apache/beam
34+
COPY --from=apache/beam_python3.14_sdk:2.76.0 /opt/apache/beam /opt/apache/beam
3535

3636
# Copy Flex Template launcher binary from the launcher image, which makes it
3737
# possible to use the image as a Flex Template base image.

‎dataflow/flex-templates/pipeline_with_dependencies/pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ build-backend = "setuptools.build_meta"
2020
name = "my_package"
2121
version = "0.1.0"
2222
dependencies = [
23-
"apache-beam[gcp]==2.73.0", # Must match the version in `Dockerfile``.
23+
"apache-beam[gcp]==2.76.0", # Must match the version in `Dockerfile``.
2424
"pyfiglet", # This is the only non-Beam dependency of this pipeline.
2525
]

0 commit comments

Comments
 (0)