Skip to content

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

Closed
@n-bkoe

Description

@n-bkoe

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions