diff --git a/hatch_build.py b/hatch_build.py index 34066ecc6d16b..ab18c04495b58 100644 --- a/hatch_build.py +++ b/hatch_build.py @@ -201,9 +201,8 @@ "click>=8.0", "gitpython>=3.1.40", "hatch>=1.9.1", - # Incremental 24.7.0 has broken `python -m virtualenv` command when run in /opt/airflow directory - # This limit should be removed after fixing https://github.com/twisted/incremental/issues/106 - "incremental<=22.10.0", + # Incremental 24.7.0, 24.7.1 has broken `python -m virtualenv` command when run in /opt/airflow directory + "incremental!=24.7.0,!=24.7.1,>=22.10.0", "pipdeptree>=2.13.1", "pygithub>=2.1.1", "restructuredtext-lint>=1.4.0",