We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3b3b1c commit 035f9f3Copy full SHA for 035f9f3
jupyter_releaser/util.py
@@ -139,7 +139,10 @@ def get_version():
139
"""Get the current package version"""
140
if SETUP_PY.exists():
141
warnings.warn("Using deprecated setup.py invocation")
142
- return run("python setup.py --version").split("\n")[-1]
+ try:
143
+ return run("python setup.py --version").split("\n")[-1]
144
+ except CalledProcessError as e:
145
+ print(e)
146
147
if PYPROJECT.exists():
148
text = PYPROJECT.read_text(encoding="utf-8")
0 commit comments