flit
flit copied to clipboard
Flit 4 planning
What major changes do we want for Flit 4.0?
- [x] Remove support for old-style metadata, where a project is described in the
[tool.flit]subtables instead of the now-standard[project]table. (but[tool.flit.module], which is used alongside[project], will continue to work).- I encourage all projects to specify something like
requires = ["flit_core >=3.2,<4"]so we can make changes like this and old packages can still easily be built with 3.x. I know some projects have ignored that and don't specify an upper bound, but hopefully not too many.
- I encourage all projects to specify something like
- [x] Fail on unrecognised keys in
[project]- #505, #506 - ~~[ ] Get rid of
flit.buildapiin favour offlit_core.buildapi? #519~~ - [x] Switch the default behaviour of
flit buildandflit publishto not use VCS info, to get rid of the surprising difference betweenflit buildandpython -m build(see discussion on #522 & #625)- [ ] Make a tool to generate include & exclude lists for sdists from the VCS? Or a separate way to explicitly make a 'release sdist' by doing
git archiveor similar? :thinking: - #782
- [ ] Make a tool to generate include & exclude lists for sdists from the VCS? Or a separate way to explicitly make a 'release sdist' by doing
Anything else?
There's still likely to be a 3.10 release first with assorted small fixes and improvements, and possibly more 3.x releases before 4.0.
Should we get rid of the option to generate a setup.py file in sdists? We turned that off by default in 3.5 (November 2021).
I like all your proposals. I’m still not sure about the best way to keep VCS support for build/publish, but having flit build and python -m build building the same package by default looks like a good idea.
Thanks for your work on Flit!
Complete keyring support.