Skip to content

Commit d9a99e9

Browse files
committed
Debug docs build
1 parent ef09fa1 commit d9a99e9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docsrc/conf.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,10 @@
2828

2929
else:
3030
print("pip environment:")
31-
subprocess.run([sys.executable, "-m", "pip", "list"])
31+
try:
32+
subprocess.run([sys.executable, "-m", "pip", "list"])
33+
except:
34+
pass
3235

3336
# hacky for RTD - which doesn't actually call conda activate
3437
# see: https://github.com/readthedocs/readthedocs.org/issues/5339

0 commit comments

Comments
 (0)