Skip to content
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

replace _version file #262

Open
egpbos opened this issue Dec 11, 2024 · 1 comment
Open

replace _version file #262

egpbos opened this issue Dec 11, 2024 · 1 comment

Comments

@egpbos
Copy link
Collaborator

egpbos commented Dec 11, 2024

In #260 we tried removing the _version file, as the idea was that it would be generated automatically by setuptools_scm. However, it seems like this feature was removed since 8.0.0 (see pypa/setuptools-scm#960). We should find another way to store the version in the package.

@egpbos
Copy link
Collaborator Author

egpbos commented Dec 12, 2024

The Python template recommends using bump-my-version for this, by the way. Configuration for this can be found in e.g. https://github.com/NLeSC/python-template/blob/0ff2ed6a9ff4cf024085d02d4d95502e06554eeb/template/pyproject.toml.jinja

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant