You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* scope the search for _version.py. the issue was that core was nondeterministically picking up a tests/**/_version.py file and THAT was why we were crashing 'randomly' on wrong package version errors
---------
Co-authored-by: Copilot <[email protected]>
Used to evaluate a pyproject (or a directory containing a pyproject.toml) with a [project] configuration within.
346
348
Returns a tuple containing:
@@ -383,7 +385,9 @@ def parse_pyproject(
383
385
else:
384
386
parsed_version="0.0.0"
385
387
else:
386
-
raiseValueError(f"Unable to find a version value directly set in \"{pyproject_filename}\", nor is it available in a \"version.py\" or \"_version.py.\"")
388
+
raiseValueError(
389
+
f'Unable to find a version value directly set in "{pyproject_filename}", nor is it available in a "version.py" or "_version.py."'
0 commit comments