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 from setup.cfg to pyproject.toml #1362

Closed
ulliholtgrave opened this issue Apr 16, 2022 · 2 comments · Fixed by #2027
Closed

Migrate from setup.cfg to pyproject.toml #1362

ulliholtgrave opened this issue Apr 16, 2022 · 2 comments · Fixed by #2027
Assignees
Labels
enhancement This improves an existing feature prio: low Not urgent, can be resolved in the distant future.
Milestone

Comments

@ulliholtgrave
Copy link
Member

ulliholtgrave commented Apr 16, 2022

Motivation

There seem to be some development in the setup tools project and this issue is a reminder to keep track of it. Especially https://github.com/pypa/setuptools/milestone/7 and pypa/setuptools#3214 are important for us, as this might deprecate our current solution.

@ulliholtgrave ulliholtgrave added the feature New feature or request label Apr 16, 2022
@ulliholtgrave ulliholtgrave added this to the Version 1.3 milestone Apr 16, 2022
@timobrembeck timobrembeck modified the milestones: Version 1.3, Backlog Apr 16, 2022
@timobrembeck timobrembeck added prio: low Not urgent, can be resolved in the distant future. enhancement This improves an existing feature blocked Blocked by external dependency and removed feature New feature or request labels Apr 16, 2022
@timobrembeck timobrembeck changed the title Keep track of the current Setup-Tool development and use a toml instead of a setup.cfg file Keep track of the current setuptools development and use a toml instead of a setup.cfg file Apr 16, 2022
@timobrembeck timobrembeck changed the title Keep track of the current setuptools development and use a toml instead of a setup.cfg file Migrate from setup.cfg to pyproject.toml Apr 16, 2022
@timobrembeck
Copy link
Member

Warning:
Support for declaring project metadata or configuring setuptools via pyproject.toml files is still experimental and might change (or be removed) in future releases.

https://setuptools.pypa.io/en/stable/userguide/pyproject_config.html

I think we should at least wait until the new format is not experimental anymore before jumping on the bandwagon.
Also, I don't think it's a real danger that setup.py/setup.cfg will really be deprecated - I'm pretty sure they will continue to work for a few decades. But I like the idea of adapting new, better formats and support the migration to the new format once it's finalized. I don't think this is going to happen in the near future though, so I moved this from version 1.3 to the backlog...

@timobrembeck
Copy link
Member

I can't find the quote from my previous comment in the docs anymore, so I assume it's now safe to migrate as soon as we want. It's still very low prio since I'm not sure whether the old format will be deprecated before the end of life of this project 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement This improves an existing feature prio: low Not urgent, can be resolved in the distant future.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants