Is there a canonical way to bypass setuptools_scm? Sometimes one would like to build from a github tarball (e.g. for test data) but then setuptool_scm fails to detect a version.
On Sun, May 28, 2023, at 8:03 PM, Orion Poplawski wrote:
Is there a canonical way to bypass setuptools_scm? Sometimes one would like to build from a github tarball (e.g. for test data) but then setuptool_scm fails to detect a version.
Setting the environment variable SETUPTOOLS_SCM_PRETEND_VERSION should do what you want. This also works for packages that use hatch-vcs.
https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_source_fi...
python-devel@lists.fedoraproject.org