Plone 6.2.3 released

I had some trouble updating a project from Plone 6.2.2.1 to 6.2.3 because the upgrade to setuptools 84 no longer includes the pkg_resources module. It was already not used in Plone 6.2 core, but we have some add-ons that have not been updated to avoid it yet.

This showed up as AttributeError: module 'horse_with_no_namespace.pkg_resources' has no attribute 'get_distribution' because when the add-ons tried to import pkg_resources, they instead found the fake pkg_resources module that is part of how horse-with-no-namespace works.

To work around the problem, I pinned setuptools back to 81.0.0 in pyproject.toml:

[project]
dependencies = [
    # ...
    "setuptools==81.0.0",
]
4 Likes