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
It appears that SETUPTOOLS_SCM_PRETEND_VERSION_FOR_DIST_NAME does not work when the dist name is in setup.cfg, since Distribution.finalize_options (which is where infer_version is hooked) is called before Distributionparse_config_files`.
The text was updated successfully, but these errors were encountered:
I've tested this against master, and it appears to work as expected. Thanks!
As an aside, I was a bit confused looking at the releases sidebar on https://github.com/pypa/setuptools_scm. It appears that there are newer releases on pypi (6.0.0 and 6.0.1) than are shown there. I guess if you've had any github releases, it will continue to show them, even if you stop using that feature. I'm not sure there is a good solution, though.
It appears that
SETUPTOOLS_SCM_PRETEND_VERSION_FOR_DIST_NAME
does not work when the dist name is insetup.cfg
, sinceDistribution.finalize_options
(which is whereinfer_version
is hooked) is called beforeDistribution
parse_config_files`.The text was updated successfully, but these errors were encountered: