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

Move to "modern packaging" config with 'pyproject.toml' #10

Open
sveetch opened this issue Sep 28, 2022 · 0 comments
Open

Move to "modern packaging" config with 'pyproject.toml' #10

sveetch opened this issue Sep 28, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@sveetch
Copy link
Owner

sveetch commented Sep 28, 2022

Since pyproject.toml have been largely adopted since the introduction in a PEP, this is time to move, even setuptools now is starting to warn about setup.cfg, so there is no more a real choice.

The TOML config file is the official new way to go since it has been validated in a PEP. However it seems not totally ready yet because of some very common packages having troubles with it:

There is a summary of common packaging tools that does not support yet the TOML config:

https://github.com/flying-sheep/awesome-python-packaging

In opposite, there is a few package now that does not support setup.cfg or even their proprietary config file like .flake8. Black is one these package, it only supports for TOML configuration and nothing else, which currently would requires to have a pyproject.toml to hold its configuration.

The benefits of TOML files are just not enough yet to migrate to it, this issue will still remain opened until Python ecosystem has resolved it, especially Flake and PIP.

Other useful discussion links related to this subject:

@sveetch sveetch added the enhancement New feature or request label Sep 28, 2022
@sveetch sveetch mentioned this issue Aug 18, 2023
14 tasks
@sveetch sveetch changed the title Move package config to "pyproject.toml" Move to "modern packaging" config with 'pyproject.toml' Aug 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant