###################
# Invalid version #
###################
'4.0.39-heads/4.0.39' is not valid according to PEP 440.
Please make sure specify a valid version for your package.
Also note that future releases of setuptools may halt the build process
if an invalid version is given.
The is due to invalid PEP-440 (https://peps.python.org/pep-0440) characters being used in the local install from a checking out a branch from a tag.
Please first make sure you have looked at:
Environment
To diagnose, we usually need to know the following, including version numbers. On Windows, be sure to specify 32-bit Python or 64-bit:
Issue
expected behavior
Running
should install
pyodbc
.observed behavior
Cloning the repo and checking out a tag in a new branch as follows
ends with the following error:
The is due to invalid PEP-440 (https://peps.python.org/pep-0440) characters being used in the local install from a checking out a branch from a tag.