Plone 6.1.2 released

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.

I suspect your issue is with z3c.jbot, please update your pins with:

as suggested by Maurits.

2 Likes

Just a note: Since plonecli often (?) adds zc3.jbot, it can 'affect' many others ( I ended up removing

  <browser:jbot
  directory="overrides"

From several (own) add-ons where I have no overrides, but plonecli added 'those lines'.

Just tested 6.1.2 on Python 3.12 (ubuntu) and buildout, and 'it works'

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 :wink:

[tool.uv]
constraint-dependencies = [
    "Products.CMFPlone==6.1.2",
    "plone.app.upgrade==3.2.2",
]

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...

buildout annotate

bin/zeoclient

I am testing this approach:

[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:

This patch succesfully fixed the build in one of our packages, see: fix-five-namespace by ale-rt · Pull Request #361 · euphorie/osha.oira · GitHub

Today I released horse-with-no-namespace v20250626.0 which should fix the error @zopyx got.

3 Likes

I don't see this release reflected in the source code on Github: the setup.py there still lists version = "6.1.1.dev0". What am I missing?

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'

(zchl_buildout) ➜  zchl_buildout git:(plone612) ✗ uv pip list
Package                 Version
----------------------- ----------
horse-with-no-namespace 20250626.0
packaging               25.0
pip                     25.1.1
robotframework          6.0.2
setuptools              80.9.0
wheel                   0.46.1
zc-buildout             4.1.12

@pbauer has reported the same issue at Problems when using with buildout · Issue #4 · davisagli/horse-with-no-namespace · GitHub including steps to reproduce it (which is really essential for these complicated bugs involving multiple Python packaging systems). I will look at it this week.

@zopyx @pbauer I just released horse-with-no-namespace 20250704.0 which fixes a couple things that made it incompatible with buildout.

1 Like

Still the same problem

  File "/home/ajung/src/zchl_buildout_612/lib/python3.12/site-packages/zc/buildout/buildout.py", line 1401, in __getitem__
    options._initialize()
  File "/home/ajung/src/zchl_buildout_612/lib/python3.12/site-packages/zc/buildout/buildout.py", line 1513, in _initialize
    self.initialize()
  File "/home/ajung/src/zchl_buildout_612/lib/python3.12/site-packages/zc/buildout/buildout.py", line 1519, in initialize
    recipe_class = _install_and_load(reqs, 'zc.buildout', entry, buildout)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ajung/src/zchl_buildout_612/lib/python3.12/site-packages/zc/buildout/buildout.py", line 1473, in _install_and_load
    return pkg_resources.load_entry_point(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ajung/src/zchl_buildout_612/lib/python3.12/site-packages/pkg_resources/__init__.py", line 535, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ajung/src/zchl_buildout_612/lib/python3.12/site-packages/pkg_resources/__init__.py", line 3208, in load_entry_point
    return ep.load()
           ^^^^^^^^^
  File "/home/ajung/src/zchl_buildout_612/lib/python3.12/site-packages/pkg_resources/__init__.py", line 2778, in load
    return self.resolve()
           ^^^^^^^^^^^^^^
  File "/home/ajung/src/zchl_buildout_612/lib/python3.12/site-packages/pkg_resources/__init__.py", line 2784, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'plone.recipe.zeoserver'
(zchl_buildout) ➜  zchl_buildout_612 git:(plone61) ✗ uv pip freeze
Using Python 3.12.7 environment at: /home/ajung/tmp/y/zchl_buildout/.venv
horse-with-no-namespace==20250705.0
lxml==5.0.0
packaging==24.2
pip==25.0.1
robotframework==6.0.2
setuptools==75.8.2
wheel==0.45.1
zc-buildout==4.1.4

@zopyx I can't help unless you provide a buildout configuration so I can reproduce the problem.

your zc.buildout and setuptools versions are not from https://dist.plone.org/release/6.1.2/requirements.txt ... are you sure you use this?

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!