Increase the version upper limit for flit_core to 5 - #1755
Conversation
Can you explain that please? I thought the whole point of the build backend system was that you can use any frontend against any backend, and the frontend will use the specified backend to build in an isolated environment. (So e.g. flit can build setuptools projects, and so on.) The flit does say "...and can simply change the flit_core <4 constraint to <5." |
Well, as we now have flit_core 4.0.0, we cannot build this project, without modifying this pyproject.toml file.
We are only relying on the backends here and the bare minimum to build: build, installer, flit_core
If you'd rather still see an upper limit, let me know. |
I'm still not following you, sorry. You do, maybe?: Build will create an isolated environment using the backend specified by the project. This is the whole point of PEP 517 &co, no? 🤔 Given flit v4 exists, making an adjustment here looks fine, but I need to grasp why what's there is broken vs (merely) using the older version for the build?
I'd rather follow the documented advice. |
No, we are building packages for a system-wide distribution context in which we control the versions that we install/provide/build with. In our case we build using python -m build --wheel --no-isolation
We can't use it anymore. It has been replaced by flit_core 4.0.0 two months ago. |
Signed-off-by: David Runge <dave@sleepmap.de>
1aa4f0e to
4ab8af8
Compare
|
Changed to |
Downstreams that attempt to build with latest flit_core (4.0.0) will not be able to (this is currently blocking us on Arch Linux to build/rebuild this project as a package).
In addition, an upper version limit does not seem to be very useful when it comes to the build backend.