-
-
Notifications
You must be signed in to change notification settings - Fork 3
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
We should use an older setuptools as build-system #235
Comments
Or switch to hatch? @ericof showed it to me at Beethovensprint and it looked very convincing. |
I discussed, last week, with @sneridagh that we probably should use hatch for the Python packages and replace tox (used here) with it. Opinions @mauritsvanrees, @gforcada ? |
Do you mean replace I have solved the problems in Buildout though, pending review, see buildout/buildout#649. So that buys some time, at least until the next setuptools or pip release that changes something... hatch and hatchling could certainly be interesting, but not something I personally want to dive into right now. |
@mauritsvanrees Both options. Replacing
|
Yes, can be interesting. I just have no experience with
Long run: yes. Short run: no. Unfortunately, as I saw yesterday, Buildout cannot develop pyproject.toml only packages. :-(
Yes please.
If it works: sure, we could switch. |
So, reading all this: should we drop buildout-support in Plone 7? Maintaining our stack for buildout-support feels like riding with the handbrake on. |
It starts sounding like it yes. :-/ I managed to fix some problems during the sprint, but more challenges creep up. |
Sorry for my long silence for the last few months, live is not easy as of late... 🙇🏾 🙏🏾 Big 👍🏾 on dropping buildout on Plone 7, or as early as possible. Pinning to a specific setuptools version seems to be the quickest and least path of resistance for now, right? hatch/hatchling: I have no stock options from In my small The link about I might try it on my The good thing of having Though, changing too much the CLI of how things interact can provide quite some burden, so we better make first some testing and then communicate that plone core at X point is moving from I haven't been following much the new cookiecutter-based project scaffolding projects, but what are they using now? That part, together with the bobtemplates should be at some point (during the conference) be organized (it is already?) so that it is clear from all parts what's the way forward, and any users of all the tools know about it... if that's actually possible to agree on 🙄 |
Since
setuptools
69.3, sdists get an underscore instead of a dot.For example look on PyPI at the files of
plone.app.linkintegrity
4.0.3 and 4.0.4.This is a problem for Buildout: buildout/buildout#647
See also zestsoftware/zest.releaser@934ffb7, which is part of zestsoftware/zest.releaser#449 which influences this a bit, but does not help us.
In Plone we have this in most packages in
pyproject.toml
:I think we want it like this now:
At least that makes sure that for new packages source dists can be installed by buildout, at least until the problem there is solved, which is hard.
Note that we always release wheels as well, and for pure Python packages like we have in Plone these are fine, and can be installed on all systems. For packages with C code, like several Zope ones, this is different.
The text was updated successfully, but these errors were encountered: