Skip to content

Commit e5bfbdb

Browse files
committed
Help pip with avoiding resolution too deep issues in Python 3.12
1 parent 3ca538d commit e5bfbdb

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

airflow-core/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ dependencies = [
9090
"gunicorn>=20.1.0",
9191
"httpx>=0.25.0",
9292
'importlib_metadata>=6.5;python_version<"3.12"',
93+
'importlib_metadata>=7.0;python_version>="3.12"',
9394
"itsdangerous>=2.0",
9495
"jinja2>=3.1.5",
9596
"jsonschema>=4.19.1",

providers/mysql/pyproject.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,10 @@ dependencies = [
6262
# The mysqlclient package creates friction when installing on MacOS as it needs pkg-config to
6363
# Install and compile, and it's really only used by MySQL provider, so we can skip it on MacOS
6464
# Instead, if someone attempts to use it on MacOS, they will get explanatory error on how to install it
65-
"mysqlclient>=1.4.0; sys_platform != 'darwin'",
66-
"mysql-connector-python>=8.0.29",
65+
'mysqlclient>=2.1.0; sys_platform != "darwin" and python_version<"3.12"',
66+
'mysqlclient>=2.2.1; sys_platform != "darwin" and python_version>="3.12"',
67+
'mysql-connector-python>=8.0.29; python_version<"3.12"',
68+
'mysql-connector-python>=8.2.0; python_version>="3.12"',
6769
"aiomysql>=0.2.0",
6870
]
6971

0 commit comments

Comments
 (0)