-
Notifications
You must be signed in to change notification settings - Fork 61
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
Rationalize python configuration on pyproject.toml and update build system to hatch #1720
Comments
I've done a little baseline work on this already. One interesting side-complication that has come up is we get the greatest benefit (in terms of stack and number of dependencies) when we converge on ruff for linting and formatting which is the default. Ruff, by default is pedantic, even when excluding the quote style (it defaults to double quotes). Most of the differences are related to two topics:
We'll need to discuss this before moving forward.
|
Visiting PyPi, we see there are some Unverified Details. These include: Author: IBM According to PyPi here https://pypi.org/manage/project/compliance-trestle/settings/: To set the 'compliance-trestle' description, author, links, classifiers, and other details for your next release, use the project metadata fields in your pyproject.toml file. Updating these fields will not change the metadata for past releases. Additionally, you must use Twine to upload your files in order to get full support for these fields. See the Python Packaging User Guide for more help. Either as a part of this issue, or we can open a new issue, the |
Just discussing on community call Make this step 1: Cut across from setup.py -> pyproject.toml |
Issue description / feature objectives
The recommended method fro managing python packages now is using
pyproject.toml
which we already have (based on this: https://packaging.python.org/en/latest/).setup.py
is no longer a pseudo-requirement as you can put in different build systems. There are a large number of options fro build tools: https://packaging.python.org/en/latest/key_projects/. The python packing authority is supporting a number of them.hatch
andhatchling
is the most popular to the modernized tools.Caveats / Assumptions
src
directory. This will not be used.Completion Criteria
pyproject.toml
The text was updated successfully, but these errors were encountered: