We could have stayed on the original versions for z3c.* and five.*, but then we would already miss out on bug fixes like this one in z3c.pt.
Staying on those versions, would mean waiting with all those package updates until Plone 6.2, which is expected in the last quarter of this year.
Or we could have released this as 6.2 now, and let 6.1.1 be the last ever version of Plone 6.1.
Both of those are valid options, but I don't like either of them.
In the end it remains a judgement call whether something is breaking or not. You see breakage, and you are right: that is bad. But I see that new package versions should fix your problem, so I think it will be okay.
The only Plone-related add-on in our 6.1.1 setup is collective.z3cform.datagridfield. There is actually only one version pin for xmlsec which is unrelated to Plone at all.
also in case one uses pyproject/UV natively, with minimal constraint-dependencies be aware that you also need to pin plone.app.upgrade to the correct version, otherwise the upgrade is shown but you can run it
We're also using buildout and datagridfield and had no issues when switching from 6.1.1 to 6.1.2 ... I post our output of buildout annotate and the source of our development bin/zeoclient here ... mabye you to find some differences which could point to a problem? If you need more, feel free to contact me on discord...
[instance]
initialization =
import sys, os, types
if "five" not in sys.modules:
sys.modules["five"] = types.ModuleType("five")
sys.modules["five"].__path__ = []
for path in sys.path:
five_path = os.path.join(path, "five")
if os.path.isdir(five_path) and five_path not in sys.modules["five"].__path__:
sys.modules["five"].__path__.append(five_path)
which seems to be working for one of our public packages that depends on pas.plugins.ldap which in turn depends on the archived five.globalrequest, see:
A Plone installation using uv and the latest horse-without-namespace appears to be broken. I'm now encountering the following buildout error:
root: Downloading https://files.pythonhosted.org/packages/41/0b/5bc1e4b6e8ff42280dd799ddf63a7c6b1ad5fe0be0ab6d07009c29c3d836/zope.mkzeoinstance-6.0-py3-none-any.whl#sha256=262deed2024b0a4aaa9cfb55568e5ab986e118ff3d4a8ff84107582bcd525958
Got zope.mkzeoinstance 6.0.
While:
Installing.
Getting section zeo.
Initializing section zeo.
Loading zc.buildout recipe entry plone.recipe.zeoserver:default.
An internal error occurred due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
File "/home/ajung/tmp/y/zchl_buildout/.venv/lib/python3.12/site-packages/zc/buildout/buildout.py", line 2330, in main
getattr(buildout, command)(args)
File "/home/ajung/tmp/y/zchl_buildout/.venv/lib/python3.12/site-packages/zc/buildout/buildout.py", line 753, in install
[self[part]['recipe'] for part in install_parts]
~~~~^^^^^^
File "/home/ajung/tmp/y/zchl_buildout/.venv/lib/python3.12/site-packages/zc/buildout/buildout.py", line 1406, in __getitem__
options._initialize()
File "/home/ajung/tmp/y/zchl_buildout/.venv/lib/python3.12/site-packages/zc/buildout/buildout.py", line 1518, in _initialize
self.initialize()
File "/home/ajung/tmp/y/zchl_buildout/.venv/lib/python3.12/site-packages/zc/buildout/buildout.py", line 1524, in initialize
recipe_class = _install_and_load(reqs, 'zc.buildout', entry, buildout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ajung/tmp/y/zchl_buildout/.venv/lib/python3.12/site-packages/zc/buildout/buildout.py", line 1478, in _install_and_load
return pkg_resources.load_entry_point(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ajung/tmp/y/zchl_buildout/.venv/lib/python3.12/site-packages/pkg_resources/__init__.py", line 534, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ajung/tmp/y/zchl_buildout/.venv/lib/python3.12/site-packages/pkg_resources/__init__.py", line 3207, in load_entry_point
return ep.load()
^^^^^^^^^
File "/home/ajung/tmp/y/zchl_buildout/.venv/lib/python3.12/site-packages/pkg_resources/__init__.py", line 2777, in load
return self.resolve()
^^^^^^^^^^^^^^
File "/home/ajung/tmp/y/zchl_buildout/.venv/lib/python3.12/site-packages/pkg_resources/__init__.py", line 2783, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'plone.recipe.zeoserver'
It is working now with a complete fresh buildout...somehow there has been something with the formerly used buildout although I deleted my .venv, eggs etc. completely. Thank you!