Skip to content

Commit b85f14c

Browse files
authored
Adding xmlsec pin in amazon provider (#47656)
1 parent 62969b6 commit b85f14c

File tree

4 files changed

+7
-1
lines changed

4 files changed

+7
-1
lines changed

generated/provider_dependencies.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@
3939
"python3-saml>=1.16.0",
4040
"redshift_connector>=2.0.918",
4141
"sagemaker-studio>=1.0.9",
42-
"watchtower>=3.0.0,!=3.3.0,<4"
42+
"watchtower>=3.0.0,!=3.3.0,<4",
43+
"xmlsec!=1.3.15"
4344
],
4445
"devel-deps": [
4546
"aiobotocore>=2.13.0",

providers/amazon/README.rst

+1
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ PIP package Version required
6767
``PyAthena`` ``>=3.0.10``
6868
``jmespath`` ``>=0.7.0``
6969
``python3-saml`` ``>=1.16.0``
70+
``xmlsec`` ``!=1.3.15``
7071
``sagemaker-studio`` ``>=1.0.9``
7172
========================================== ======================
7273

providers/amazon/pyproject.toml

+3
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,9 @@ dependencies = [
7575
"PyAthena>=3.0.10",
7676
"jmespath>=0.7.0",
7777
"python3-saml>=1.16.0",
78+
# python3-saml is dependent on xmlsec and seems they do not pin it, pinning here would be needed
79+
# We can remove it after https://github.com/xmlsec/python-xmlsec/issues/344 is fixed
80+
"xmlsec!=1.3.15",
7881
"sagemaker-studio>=1.0.9",
7982
]
8083

providers/amazon/src/airflow/providers/amazon/get_provider_info.py

+1
Original file line numberDiff line numberDiff line change
@@ -1385,6 +1385,7 @@ def get_provider_info():
13851385
"PyAthena>=3.0.10",
13861386
"jmespath>=0.7.0",
13871387
"python3-saml>=1.16.0",
1388+
"xmlsec!=1.3.15",
13881389
"sagemaker-studio>=1.0.9",
13891390
],
13901391
"optional-dependencies": {

0 commit comments

Comments
 (0)