You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "mnsosa (via GitHub)" <gi...@apache.org> on 2025/04/30 01:16:51 UTC
[I] Constraints for Python 3.13 not working [airflow]
mnsosa opened a new issue, #49991:
URL: https://github.com/apache/airflow/issues/49991
### Apache Airflow version
3.0.0
### If "Other Airflow 2 version" selected, which one?
_No response_
### What happened?
For Python 3.13 and Airflow version 3.0.0, the dependencies cannot be installed. I tried modifying the versions, but it keeps causing these types of issues. I had to switch to Python 3.12, but my project uses 3.13 :/
Using Python 3.13.2 environment at: [...]
× No solution found when resolving dependencies:
╰─▶ Because apache-airflow-core==3.0.0 depends on termcolor>=3.0.0 and termcolor==2.5.0, we can conclude that apache-airflow-core==3.0.0 cannot be used.
And because apache-airflow==3.0.0 depends on apache-airflow-core==3.0.0 and you require apache-airflow==3.0.0, we can conclude that your requirements are unsatisfiable.
### What you think should happen instead?
_No response_
### How to reproduce
Create a venv with uv using Python 3.13.
Then just follow as the quick start says:
```
AIRFLOW_VERSION=3.0.0
# Extract the version of Python you have installed. If you're currently using a Python version that is not supported by Airflow, you may want to set this manually.
# See above for supported versions.
PYTHON_VERSION="$(python -c 'import sys; print(f"{sys.version_info.major}.{sys.version_info.minor}")')"
CONSTRAINT_URL="https://raw.githubusercontent.com/apache/airflow/constraints-${AIRFLOW_VERSION}/constraints-${PYTHON_VERSION}.txt"
# For example this would install 3.0.0 with python 3.9: https://raw.githubusercontent.com/apache/airflow/constraints-3.0.0/constraints-3.9.txt
uv pip install "apache-airflow==${AIRFLOW_VERSION}" --constraint "${CONSTRAINT_URL}"
```
### Operating System
Ubuntu 24.04.1 LTS
### Versions of Apache Airflow Providers
https://raw.githubusercontent.com/apache/airflow/constraints-3.0.0/constraints-3.12.txt
### Deployment
Official Apache Airflow Helm Chart
### Deployment details
Trying to just use uv
### Anything else?
_No response_
### Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!
### Code of Conduct
- [x] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Constraints for Python 3.13 not working [airflow]
Posted by "boring-cyborg[bot] (via GitHub)" <gi...@apache.org>.
boring-cyborg[bot] commented on issue #49991:
URL: https://github.com/apache/airflow/issues/49991#issuecomment-2840575179
Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Constraints for Python 3.13 not working [airflow]
Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk closed issue #49991: Constraints for Python 3.13 not working
URL: https://github.com/apache/airflow/issues/49991
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Constraints for Python 3.13 not working [airflow]
Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk commented on issue #49991:
URL: https://github.com/apache/airflow/issues/49991#issuecomment-2841029855
Correct. We have no support for Python 3.13 -see requirements. The requirements there are mostly to test Python 3.13. PR in progress here https://github.com/apache/airflow/pull/46891
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org