From 72d50777ba9cad88273bbd877980647887c0b21b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 27 Apr 2026 17:38:28 +0000 Subject: [PATCH] Update cython requirement from <4,>=3.0 to >=3.2.4,<4 in /sdks/python Updates the requirements on [cython](https://github.com/cython/cython) to permit the latest version. - [Changelog](https://github.com/cython/cython/blob/master/CHANGES.rst) - [Commits](https://github.com/cython/cython/compare/3.0.0...3.2.4) --- updated-dependencies: - dependency-name: cython dependency-version: 3.2.4 dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- sdks/python/container/base_image_requirements_manual.txt | 2 +- sdks/python/pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sdks/python/container/base_image_requirements_manual.txt b/sdks/python/container/base_image_requirements_manual.txt index 2a6a11415ee9..9276f8dae95b 100644 --- a/sdks/python/container/base_image_requirements_manual.txt +++ b/sdks/python/container/base_image_requirements_manual.txt @@ -25,7 +25,7 @@ # Consider constraining requirements of Beam itself when necessary. bs4 # Commonly used HTML processing tool. -cython>=3,<4 +cython>=3.2.4,<4 # future is no longer a Beam dependency, but is an implicit dependency in # some versions of libraries that launch Beam pipelines, like tensorflow-transform. # Leaving 'future' in our containers for now prevent breaking tft users. diff --git a/sdks/python/pyproject.toml b/sdks/python/pyproject.toml index c764298ebae3..6fe813360e95 100644 --- a/sdks/python/pyproject.toml +++ b/sdks/python/pyproject.toml @@ -32,7 +32,7 @@ requires = [ # Numpy headers "numpy>=1.14.3,<2.5.0", # Update setup.py as well. # having cython here will create wheels that are platform dependent. - "cython>=3.0,<4", + "cython>=3.2.4,<4", ## deps for generating external transform wrappers: # also update PyYaml bounds in sdks:python:generateExternalTransformsConfig 'pyyaml>=3.12,<7.0.0',