-
Notifications
You must be signed in to change notification settings - Fork 16.3k
Closed
Labels
area:corearea:dependenciesIssues related to dependencies problemsIssues related to dependencies problemskind:bugThis is a clearly a bugThis is a clearly a bugneeds-triagelabel for new issues that we didn't triage yetlabel for new issues that we didn't triage yet
Description
Apache Airflow version
2.10.5
If "Other Airflow 2 version" selected, which one?
No response
What happened?
We are currently using airflow version 2.10.5 which uses Werkzeug version 2.2.3. We have got the security findings(https://nvd.nist.gov/vuln/detail/CVE-2024-49767) for this Werkzeug version and the recommendation is to use Werkzeug version >= 3.0.
But when we try to update werkzeug to version 3.0.1 in the constraints file, we are getting the below error:
ERROR: Cannot install apache-airflow==2.10.5 because these package versions have conflicting dependencies.
The conflict is caused by:
apache-airflow 2.10.5 depends on werkzeug<3 and >=2.0
The user requested (constraint) werkzeug==3.0.1
Which implies that Airflow version 2.10.5 is not compatible with Werkzeug version >= 3.0.
Can you provide us with the solution
What you think should happen instead?
No response
How to reproduce
- In the constraints file(https://github.com/apache/airflow/blob/constraints-2.10.5/constraints-3.9.txt) of ariflow version 2.10.5 change the airflow version to 3.0.1.
- The build will fail with the below error:
ERROR: Cannot install apache-airflow==2.10.5 because these package versions have conflicting dependencies.
The conflict is caused by:
apache-airflow 2.10.5 depends on werkzeug<3 and >=2.0
The user requested (constraint) werkzeug==3.0.1
Operating System
NAME="Oracle Linux Server" VERSION="8.10"
Versions of Apache Airflow Providers
No response
Deployment
Other Docker-based deployment
Deployment details
No response
Anything else?
No response
Are you willing to submit PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
area:corearea:dependenciesIssues related to dependencies problemsIssues related to dependencies problemskind:bugThis is a clearly a bugThis is a clearly a bugneeds-triagelabel for new issues that we didn't triage yetlabel for new issues that we didn't triage yet