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

Switch to hatchling as the build backend, and use hatch-vcs for versioning #4742

Open
agriyakhetarpal opened this issue Jan 8, 2025 · 0 comments
Labels
difficulty: easy A good issue for someone new. Can be done in a few hours priority: low No existing plans to resolve

Comments

@agriyakhetarpal
Copy link
Member

Post #4487, PyBaMM is now a pure Python package – this means we should move away from the setuptools build backend and switch to hatchling – which is arguably the better choice. With #4216 complete, it is also possible to single-source the package version, and use versioning based on Git tags. This is possible with hatch-vcs, which relies on setuptools-scm internally).

See also:

@agriyakhetarpal agriyakhetarpal added difficulty: easy A good issue for someone new. Can be done in a few hours priority: low No existing plans to resolve labels Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty: easy A good issue for someone new. Can be done in a few hours priority: low No existing plans to resolve
Projects
None yet
Development

No branches or pull requests

1 participant