In setuptools-scm v 10.x, version.py is no longer generated in source. An environment variable is offered as an alternative to restore the old behavior.
We often mix installing a built wheel with running scripts from the root of our repository. Python's sys.path will prioritize the local package inside the repository root, which no longer has _version.py, resulting in failures.
It is difficult for us to inform all users of our source code that an environment variable is now needed for many of our workflows to continue functioning correctly.
Please consider adding a pyproject.toml option to restore the old behavior. This would help minimize disruption for projects that were relying heavily on the previous behavior.
In setuptools-scm v 10.x, version.py is no longer generated in source. An environment variable is offered as an alternative to restore the old behavior.
We often mix installing a built wheel with running scripts from the root of our repository. Python's sys.path will prioritize the local package inside the repository root, which no longer has
_version.py, resulting in failures.It is difficult for us to inform all users of our source code that an environment variable is now needed for many of our workflows to continue functioning correctly.
Please consider adding a
pyproject.tomloption to restore the old behavior. This would help minimize disruption for projects that were relying heavily on the previous behavior.