This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 61b072d9164 Remove the limitation for sagemaker for Python 3.13
(#58388)
61b072d9164 is described below
commit 61b072d9164e2b0e20f8ed531a2c6940a5f7fef1
Author: Jarek Potiuk <[email protected]>
AuthorDate: Wed Nov 19 02:28:51 2025 +0100
Remove the limitation for sagemaker for Python 3.13 (#58388)
* Remove the limitation for sagemaker for Python 3.13
After https://github.com/passren/PyDynamoDB/issues/72 was raised,
PydynamoDB 0.7.5 has been released with Python 3.13 and we can
force it for Python 3.13 to be used so that `pip` will not even
try to compile earlier versions of sqlean.
* Update providers/amazon/pyproject.toml
Co-authored-by: Amogh Desai <[email protected]>
---------
Co-authored-by: Amogh Desai <[email protected]>
---
providers/amazon/pyproject.toml | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/providers/amazon/pyproject.toml b/providers/amazon/pyproject.toml
index a02d0e80c99..a56de901b86 100644
--- a/providers/amazon/pyproject.toml
+++ b/providers/amazon/pyproject.toml
@@ -77,10 +77,11 @@ dependencies = [
"asgiref>=2.3.0",
"PyAthena>=3.10.0",
"jmespath>=0.7.0",
- "sagemaker-studio>=1.0.9; python_version < \"3.13\"",
- # The sagemaker studio 1.1.0+ uses pydynamodb that pins sqlean in version
3.45.1 that is not
- # Supporting Python 3.13 https://github.com/passren/PyDynamoDB/issues/72
- "sagemaker-studio>=1.0.9,<1.1.0; python_version >= \"3.13\"",
+ "sagemaker-studio>=1.0.9",
+ # Sagemaker studio in Python 3.13 requires version >=1.1.0 and Pydynamodb
>=0.7.5
+ # Because of sqlean pinning
(https://github.com/passren/PyDynamoDB/issues/72)
+ "pydynamodb>=0.7.5; python_version >= '3.13'",
+ "sqlean.py>=3.47.0; python_version >= '3.13'",
"marshmallow>=3",
]