Skip to content

Commit 545801c

Browse files
authored
Relax uperbound on attrs now fix has been released. (apache#47744)
Closes apache#47682
1 parent c283343 commit 545801c

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

hatch_build.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -191,9 +191,7 @@
191191
"alembic>=1.13.1, <2.0",
192192
"argcomplete>=1.10",
193193
"asgiref>=2.3.0",
194-
# attrs 25.2.0 has broken DAG __init__
195-
# tracking issue: https://github.com/apache/airflow/issues/47682
196-
"attrs>=22.1.0, <25.2.0",
194+
"attrs>=22.1.0, !=25.2.0",
197195
# Blinker use for signals in Flask, this is an optional dependency in Flask 2.2 and lower.
198196
# In Flask 2.3 it becomes a mandatory dependency, and flask signals are always available.
199197
"blinker>=1.6.2",

task-sdk/pyproject.toml

+1-3
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,7 @@ description = "Python Task SDK for Apache Airflow DAG Authors"
2222
readme = { file = "README.md", content-type = "text/markdown" }
2323
requires-python = ">=3.9, <3.13"
2424
dependencies = [
25-
# attrs 25.2.0 has broken DAG __init__
26-
# tracking issue: https://github.com/apache/airflow/issues/47682
27-
"attrs>=24.2.0, <25.2.0",
25+
"attrs>=24.2.0, !=25.2.0",
2826
"httpx>=0.27.0",
2927
"jinja2>=3.1.4",
3028
"methodtools>=0.4.7",

0 commit comments

Comments
 (0)