Fix the nightly image.#216
Merged
Merged
Conversation
It [fails](https://github.com/plone/plone-backend/actions/runs/29706368959/job/88243965444#step:7:1081) with: `ModuleNotFoundError: No module named 'pkg_resources'` This is because we have a too new `setuptools` version, which fails with any version of `zc.buildout`. And we need `zc.buildout` in our `pip-from-buildout-coredev.py` helper script. Actually we could probably rewrite this to use code from `plone.releaser`. Or really nothing like that should be needed, because the coredev buildout already keeps the pip files up to date. So this part could need a bit of rethinking. Also see if we want to maintain a nightly image at all. The [workflow runs](https://github.com/plone/plone-backend/actions/workflows/nightly.yml) go back to June last year, and I don't see a single one that passes. They all seem to have the same error. Anyway, let's fix the immediate error by explicitly using `setuptools` 81. Also upgrade other versions: * Python 3.13 to 3.14 * Plone coredev branch 6.1 to 6.2 * Latest from requirements.txt * Update other packages, like pip and Relstorage
mauritsvanrees
temporarily deployed
to
DOCKER_HUB
July 20, 2026 09:24 — with
GitHub Actions
Inactive
Member
Author
Member
|
fwiw, I thought we already decided to stop releasing the nightly image. As far as I know no one is using it. |
Member
Author
Mostly I wanted to get rid of the daily mail that I got for a failing job that was easy enough to fix. At least there is a nightly tag now that is up to date: Let me open an issue for discussing (or confirming) if we want to remove the nightly job. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

I have daily been getting an error about the nightly image job failing.
It fails with:
ModuleNotFoundError: No module named 'pkg_resources'This is because we have a too newsetuptoolsversion, which fails with any version ofzc.buildout. And we needzc.buildoutin ourpip-from-buildout-coredev.pyhelper script.Actually we could probably rewrite this to use code from
plone.releaser. Or really nothing like that should be needed, because the coredev buildout already keeps the pip files up to date.So this part could need a bit of rethinking. Also see if we want to maintain a nightly image at all. The workflow runs go back to June last year, and I don't see a single one that passes. They all seem to have the same error.
Anyway, let's fix the immediate error by explicitly using
setuptools81.Also upgrade other versions: