From 1c53961fd4cc1f9085680bf22fbe7f57e29948d4 Mon Sep 17 00:00:00 2001 From: Jens Scheffler <95105677+jscheffl@users.noreply.github.com> Date: Sun, 25 Aug 2024 00:16:48 +0200 Subject: [PATCH] Pin universal-pathlib to 0.2.2 as 0.2.3 generates static code check errors (#41715) --- hatch_build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hatch_build.py b/hatch_build.py index cd052c6a68ab..94ffb05b361c 100644 --- a/hatch_build.py +++ b/hatch_build.py @@ -496,7 +496,7 @@ # We should also remove "3rd-party-licenses/LICENSE-unicodecsv.txt" file when we remove this dependency "unicodecsv>=0.14.1", # The Universal Pathlib provides Pathlib-like interface for FSSPEC - "universal-pathlib>=0.2.2", + "universal-pathlib==0.2.2", # Temporarily pin to 0.2.2 as 0.2.3 generates mypy errors # 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",