Skip to content

Commit

Permalink
Fix main failing because of the new xmlsec 1.3.14 compatibility
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#39103
  • Loading branch information
potiuk committed Apr 18, 2024
1 parent b41cf62 commit 3705132
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 @@ -98,6 +98,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 3705132

Please sign in to comment.