Skip to content

Commit 524558f

Browse files
committed
Fix RTD build
Set environment variable via the RTD dashboard. The previous approach wouldn't have worked, because package installation runs in a different environment,
1 parent e11b47c commit 524558f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

.readthedocs.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,3 @@ build:
2727
# Avoid setuptools-scm dirty Git index issues
2828
- git reset --hard HEAD
2929
- git clean -fdx
30-
# Enforce fail_on_shallow for setuptools-scm
31-
- export SETUPTOOLS_SCM_OVERRIDES_FOR_${READTHEDOCS_PROJECT//-/_}='{scm.git.pre_parse="fail_on_shallow"}'

0 commit comments

Comments
 (0)