Skip to content

Commit

Permalink
Limit incremental library (dependency of towncrier)
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
  • Loading branch information
potiuk committed Jul 27, 2024
1 parent 4e5ad66 commit 76296df
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 76296df

Please sign in to comment.