You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by je...@apache.org on 2024/03/19 21:10:43 UTC
(airflow) 02/02: Lift the limit on importlib_resources library (#38294)
This is an automated email from the ASF dual-hosted git repository.
jedcunningham pushed a commit to branch v2-8-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 10066d94d619d87477b5c1f3dad78fbebcebfb46
Author: Jarek Potiuk <ja...@potiuk.com>
AuthorDate: Tue Mar 19 21:57:06 2024 +0100
Lift the limit on importlib_resources library (#38294)
The problem with importlib_resources interacting badly with
pytest_rewrite has been solved in 6.3.2 version today and we can
simply skip over the bad versions.
See https://github.com/python/importlib_resources/issues/298
(cherry picked from commit 2cb4209f59dd285eface337a28a173be6e194057)
---
dev/breeze/README.md | 2 +-
dev/breeze/pyproject.toml | 4 ++--
pyproject.toml | 4 ++--
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/dev/breeze/README.md b/dev/breeze/README.md
index ae93bd0f90..6055fa0c11 100644
--- a/dev/breeze/README.md
+++ b/dev/breeze/README.md
@@ -66,6 +66,6 @@ PLEASE DO NOT MODIFY THE HASH BELOW! IT IS AUTOMATICALLY UPDATED BY PRE-COMMIT.
---------------------------------------------------------------------------------------------------------
-Package config hash: eef72be47311fa0b1f3d73e41696365989da51a76db970c2dd012f50f1ad04f1ec97e7c9679b682159aab7fc48785ca8df9422cc57620963f246f6c9d0701f1a
+Package config hash: 01b2a4dc3756574c48f3a787167afcdbf702604d97e3777359ef897f095d41e0329c2c61ca3d59c49b0cb388e6bf759e02853b36c4dc21da215d27e4ddd2b31f
---------------------------------------------------------------------------------------------------------
diff --git a/dev/breeze/pyproject.toml b/dev/breeze/pyproject.toml
index b585a92a13..4be1b3c34d 100644
--- a/dev/breeze/pyproject.toml
+++ b/dev/breeze/pyproject.toml
@@ -51,9 +51,9 @@ dependencies = [
"flit>=3.5.0",
"gitpython>=3.1.40",
"hatch==1.9.1",
- # Importib_resources 6.2.0 break pytest_rewrite
+ # Importib_resources 6.2.0-6.3.1 break pytest_rewrite
# see https://github.com/python/importlib_resources/issues/299
- "importlib_resources>=5.2,<6.2.0;python_version<\"3.9\"",
+ "importlib_resources>=5.2,!=6.2.0,!=6.3.0,!=6.3.1;python_version<\"3.9\"",
"inputimeout>=1.0.4",
"jinja2>=3.1.0",
"jsonschema>=4.19.1",
diff --git a/pyproject.toml b/pyproject.toml
index c3ed5d4add..20c1cf5b2d 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -106,9 +106,9 @@ dependencies = [
"gunicorn>=20.1.0",
"httpx",
"importlib_metadata>=1.7;python_version<\"3.9\"",
- # Importib_resources 6.2.0 break pytest_rewrite
+ # Importib_resources 6.2.0-6.3.1 break pytest_rewrite
# see https://github.com/python/importlib_resources/issues/299
- "importlib_resources>=5.2,<6.2.0;python_version<\"3.9\"",
+ "importlib_resources>=5.2,!=6.2.0,!=6.3.0,!=6.3.1;python_version<\"3.9\"",
"itsdangerous>=2.0",
"jinja2>=3.0.0",
"jsonschema>=4.18.0",