Skip to content

Commit

Permalink
Fix main failing because of the new xmlsec 1.3.14 compatibility (#39104)
Browse files Browse the repository at this point in the history
The xmlsec used by Amazon provider for authentication has compatiblity
issue with libxmlsec 1.2.* that is used by default in debian bookworm.

We should investigate if/howe we can upgrade our images to support it,
in the meantime we limitt python bindings to < 1.3.13.

See apache/airflow#39103

(cherry picked from commit cd888870ba1b95c20208b1c87d337cd2418e1dc1)

GitOrigin-RevId: 789051c41accb2e90e0e476b3606873767139c59
  • Loading branch information
potiuk authored and Cloud Composer Team committed Jul 19, 2024
1 parent 5dee954 commit 54d7645
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions airflow/providers/amazon/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,10 @@ dependencies:
- sqlalchemy_redshift>=0.8.6
- asgiref
- PyAthena>=3.0.10
# XML sec 1.3.14 breaks Amazon's authentication with `lxml & xmlsec libxml2 library version mismatch`
# We should investigate if we can upgrade to a newer version of lxml and xmlsec
# Tracked in https://github.com/apache/airflow/issues/39103
- xmlsec<1.3.14

additional-extras:
- name: pandas
Expand Down
3 changes: 2 additions & 1 deletion generated/provider_dependencies.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@
"jsonpath_ng>=1.5.3",
"redshift_connector>=2.0.918",
"sqlalchemy_redshift>=0.8.6",
"watchtower>=2.0.1,<4"
"watchtower>=2.0.1,<4",
"xmlsec<1.3.14"
],
"devel-deps": [
"aiobotocore>=2.7.0",
Expand Down

0 comments on commit 54d7645

Please sign in to comment.