This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch v2-10-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/v2-10-test by this push:
new 0d443e3197 Limit universal-pathlib below 0.2.4 as it breaks our
integration (#42090) (#42101)
0d443e3197 is described below
commit 0d443e3197579248aa165fd0bc1be438ebaaeb0c
Author: Jarek Potiuk <[email protected]>
AuthorDate: Wed Sep 11 12:05:33 2024 -0700
Limit universal-pathlib below 0.2.4 as it breaks our integration (#42090)
(#42101)
Universal Pathlib 0.2.4 adds extra validation for Paths and our
integration with local file paths Does not work with it. The
0.2.5 version fixes it.
Tracked in https://github.com/fsspec/universal_pathlib/issues/276
(cherry picked from commit 2517da47694f021ae43a07deb7d2e33d456baef4)
---
hatch_build.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/hatch_build.py b/hatch_build.py
index 8535430682..8be26e767e 100644
--- a/hatch_build.py
+++ b/hatch_build.py
@@ -497,7 +497,9 @@ DEPENDENCIES = [
# See https://github.com/apache/airflow/pull/31693
# We should also remove "3rd-party-licenses/LICENSE-unicodecsv.txt" file
when we remove this dependency
"unicodecsv>=0.14.1",
- "universal-pathlib>=0.2.2",
+ # Universal Pathlib 0.2.4 adds extra validation for Paths and our
integration with local file paths
+ # Does not work with it Tracked in
https://github.com/fsspec/universal_pathlib/issues/276
+ "universal-pathlib>=0.2.2,!=0.2.4",
# Werkzug 3 breaks Flask-Login 0.6.2, also connexion needs to be updated
to >= 3.0
# we should remove this limitation when FAB supports Flask 2.3 and we
migrate connexion to 3+
"werkzeug>=2.0,<3",