Skip to content

Commit

Permalink
Limit incremental library (dependency of towncrier) (#41065)
Browse files Browse the repository at this point in the history
The incremental library 24.7.0 and 24.7.1 have been broken
(the 24.7.0 has been yanked already but 24.7.1 has still a
breaking change - it plugs in setuptools/distutils in the way that
when virtualenv is invoked incremental will scan pyproject.toml
in the current directory and fails if it finds something that
it see as inconsistency (where it apparently is not). Unfortunately
it happens when just `python -m virtualenv` is invoked so generally
it breaks all our tests that are creating a virtualenv using it.

This is tracked in twisted/incremental#106

GitOrigin-RevId: fad5e5e9d494f0cf81f35993f5fd0f6f047a3b75
  • Loading branch information
potiuk authored and Cloud Composer Team committed Nov 9, 2024
1 parent 09adb25 commit b965996
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions hatch_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,9 @@
"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",
"pipdeptree>=2.13.1",
"pygithub>=2.1.1",
"restructuredtext-lint>=1.4.0",
Expand Down

0 comments on commit b965996

Please sign in to comment.