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

Constraints on attrs package breaks compatibility with apache-airflow python sdk #5075

Open
n-bkoe opened this issue Mar 5, 2025 · 0 comments

Comments

@n-bkoe
Copy link

n-bkoe commented Mar 5, 2025

Describe the bug

The current pyproject requires attrs>=23.1.0,<24, while the airflow libraries has required at least 24 since version 2.10.0 (see here)

Would it be possible to relax the upper bound to include attrs>=24 ?

To reproduce

With uv, use this pyproject

[project]
name = "template-airflow"
version = "0.1.0"
description = "Airflow template repository"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
    "apache-airflow[amazon]==2.10.3",
    "sagemaker>=2.197.1",
]

and run uv pip compile -o requirements.txt pyproject.toml --constraints https://raw.githubusercontent.com/apache/airflow/constraints-2.10.3/constraints-3.11.txt

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

No branches or pull requests

1 participant