-
Notifications
You must be signed in to change notification settings - Fork 4
Migrate to pyproject.toml #131
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
Conversation
This reverts commit 03470e3.
Note: tests are failing here as @JoschD what do you think is a good course of action? I say we can merge this as it does not yield a release, and changes nothing to the status of |
…pendency declaration
StatusA new version of However, they failed declaring I have then put some conditionals in our required versions for the
I have added TODOs in the I would suggest a patch release with this new configuration, so that users encounter less dependency issues. |
Next in the wave of PRs transitioning our packages to using the standard
pyproject.toml
file.Important
The
setup.py
file is gone. Apyproject.toml
file now centralises everything, including metadata conformly to PEP621.I have put down
hatchling
as a build backend, as it is the one developped byPyPA
, the Python Packaging Authority, as they publish the authoritative user guide. This has little impact though, as any PEP518-compliant backend would work there instead.Like for all other packages, this moves the minimum supported Python version to
3.9
.Details
I have put Hatch as a packaging tool as it is also the one from PyPA, but it is strictly optional. One does not need Hatch, because standards. The new common workflows (PR upcoming) don't even use it.
I have taken upon me to up some minimum required versions (
numpy
for instance), for uniformity with the rest of the packages.