You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by as...@apache.org on 2025/03/13 18:12:59 UTC

(airflow) branch main updated: Relax uperbound on `attrs` now fix has been released. (#47744)

This is an automated email from the ASF dual-hosted git repository.

ash pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 545801ce260 Relax uperbound on `attrs` now fix has been released. (#47744)
545801ce260 is described below

commit 545801ce2609610002c0b2b290109c984f43a5bd
Author: Ash Berlin-Taylor <as...@apache.org>
AuthorDate: Thu Mar 13 18:12:52 2025 +0000

    Relax uperbound on `attrs` now fix has been released. (#47744)
    
    Closes #47682
---
 hatch_build.py          | 4 +---
 task-sdk/pyproject.toml | 4 +---
 2 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/hatch_build.py b/hatch_build.py
index 50a5c3bde63..8b63769c5d1 100644
--- a/hatch_build.py
+++ b/hatch_build.py
@@ -191,9 +191,7 @@ DEPENDENCIES = [
     "alembic>=1.13.1, <2.0",
     "argcomplete>=1.10",
     "asgiref>=2.3.0",
-    # attrs 25.2.0 has broken DAG __init__
-    # tracking issue: https://github.com/apache/airflow/issues/47682
-    "attrs>=22.1.0, <25.2.0",
+    "attrs>=22.1.0, !=25.2.0",
     # Blinker use for signals in Flask, this is an optional dependency in Flask 2.2 and lower.
     # In Flask 2.3 it becomes a mandatory dependency, and flask signals are always available.
     "blinker>=1.6.2",
diff --git a/task-sdk/pyproject.toml b/task-sdk/pyproject.toml
index 1eef70160fb..46543faffe1 100644
--- a/task-sdk/pyproject.toml
+++ b/task-sdk/pyproject.toml
@@ -22,9 +22,7 @@ description = "Python Task SDK for Apache Airflow DAG Authors"
 readme = { file = "README.md", content-type = "text/markdown" }
 requires-python = ">=3.9, <3.13"
 dependencies = [
-    # attrs 25.2.0 has broken DAG __init__
-    # tracking issue: https://github.com/apache/airflow/issues/47682
-    "attrs>=24.2.0, <25.2.0",
+    "attrs>=24.2.0, !=25.2.0",
     "httpx>=0.27.0",
     "jinja2>=3.1.4",
     "methodtools>=0.4.7",