New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
setuptools_scm 8.0.x breaks pybuilder plugin pybuilder-scm-ver-plugin #930
Comments
please provide some context |
for context - when using get_version, no pyproject data is read |
oh, apologies, I have misinterpreted the log output. There were two "errors" regarding setuptools_scm:
And
The failure was due to the second error. You have removed DEFAULT_VERSION_SCHEME and DEFAULT_LOCAL_SCHEME from public. The plugin was used to using it:
|
i can expose those attributes a while longer, but they will eventually be removed i strongly recommend leaving the key out empty if no default was given |
thanks, it would be nice to have them for a little longer. It will give us time to create PR with changes to the plugin. |
… for config defaults
For now they stay until the new api for building is ready and adopted Once the api is available there will be warnings |
Hi. The pybuilder plugin pybuilder-scm-ver-plugin uses your package only to obtain the current version from SCM during the creation of a package. There is no need to include it in pyproject.toml (or in any other way) as the version is hard-coded after the pybuilder is done with its build and setuptools_scm is not longer needed.
Can you make the check optional? At least when calling
setuptools_scm.get_version
directly.The text was updated successfully, but these errors were encountered: