Skip to content

Commit 1e02e4c

Browse files
timtreisclaude
andcommitted
Fix RTD build: pin virtualenv<21 for hatch compatibility
Workaround for pypa/hatch#2193 — hatch is incompatible with virtualenv 21+. Same fix used by scanpy and squidpy. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 2ef2dd4 commit 1e02e4c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.readthedocs.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,6 @@ build:
1212
- asdf global uv latest
1313
build:
1414
html:
15-
- uvx hatch run docs:build
15+
# TODO: remove "--with=virtualenv<21" once hatch is compatible with virtualenv 21+ (pypa/hatch#2193)
16+
- uvx "--with=virtualenv<21" hatch run docs:build
1617
- mv docs/_build $READTHEDOCS_OUTPUT

0 commit comments

Comments
 (0)