Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding packages libxml2,libxslt, zlib1g-dev #1409

Closed
wants to merge 9 commits into from
Closed

Conversation

vatsrahul1001
Copy link
Contributor

@vatsrahul1001 vatsrahul1001 commented Dec 30, 2023

It seems that there is a breaking change in the latest version of lxml (5.0.0), which now requires libxml2 and libxslt. Unfortunately, these packages are not available in Python 3.8 and Python 3.9, causing a failure. I am adding these libxml2,libxslt, zlib1g-dev as temp fix, any user with python3.8, 3.9 tries to install amazon provider they will encounter this issue.

For permanent solutions:-

  1. we can add these packages in airflow repo
  2. Pin lxml version==4.9.4 in redshift_connector till it get resolved in lxml

Copy link

codecov bot commented Dec 30, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (ad9dbb7) 98.54% compared to head (729efee) 98.54%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1409   +/-   ##
=======================================
  Coverage   98.54%   98.54%           
=======================================
  Files          91       91           
  Lines        5364     5364           
=======================================
  Hits         5286     5286           
  Misses         78       78           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@vatsrahul1001
Copy link
Contributor Author

It looks like there was an issue with the lxml wheel, as mentioned here. Initially, our job attempted to build from source because the wheel was not available, resulting in the problem. However, the wheel issue has now been fixed, and it started working fine again without any further intervention. I will close the PR as its not needed now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants