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_files_from_pypi _______________________________________________ python-devel mailing list -- [email protected] To unsubscribe send an email to [email protected] Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/[email protected] Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
