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

Migrate setup.cfg to pyproject.toml #315

Closed
rsokl opened this issue Oct 11, 2022 · 0 comments · Fixed by #316
Closed

Migrate setup.cfg to pyproject.toml #315

rsokl opened this issue Oct 11, 2022 · 0 comments · Fixed by #316
Labels
repo/project *not* related to code/functionality

Comments

@rsokl
Copy link
Contributor

rsokl commented Oct 11, 2022

setup.cfg will be deprecated: pypa/setuptools#3214

iirc, we were opting for setup.cfg because it is what versioneer supports, but now they support pyproject.toml: python-versioneer/python-versioneer@dc6402f

possible conversion tool:
https://ini2toml.readthedocs.io/en/latest/readme.html

Note that pyright's config can now be placed in the pyproject.toml file: https://github.com/microsoft/pyright/blob/main/docs/configuration.md#sample-pyprojecttoml-file although there are some caveats that may make it not worth it: microsoft/pyright#694 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
repo/project *not* related to code/functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant