Plone 6.1.2 apparently does not support Python 3.10 or 3.11? (cookieplone)

I am going through the Plone 6.1 installation docs Install Plone with Cookieplone — Plone Documentation v6

I am using the cookieplone method for a classic project. uvx cookieplone classic_project succeeds. I cd into the new project directory. make install gives the error

Using CPython 3.11.4 interpreter at: /Users/bubba/.pyenv/versions/3.11.4/bin/python3.11
Creating virtual environment at: .venv
Activate with: source .venv/bin/activate
  × No solution found when resolving dependencies:
  ╰─▶ Because only triangle-manufacturing[test]==1.0.0a0 is available and the current Python version (3.11.4) does not satisfy Python>=3.12, we can conclude that all versions of triangle-manufacturing[test] cannot be used.
      And because you require triangle-manufacturing[test], we can conclude that your requirements are unsatisfiable.

but the release notes https://plone.org/download/releases/6.1.2 state that This release supports Python 3.10, 3.11, 3.12, and 3.13

I used pyenvto switch to 3.12 in that project directory, and reran make install. It got past the above version check but then gave this error:

% make install
Install Backend
==> Create instance configuration
Installed 22 packages in 76ms
Warning: initial user's password is insecure, it should be at least 10 characters long!

bash: /Users/bubba/src/plone-6.1.2/triangle-manufacturing/backend/.venv/bin/zconsole: No such file or directory
make[3]: *** [create-site] Error 127
make[2]: *** [backend-create-site] Error 2
make[1]: *** [backend-install] Error 2
make: *** [install] Error 2

I replied in Discord. I merged a PR which should help if you re-generate the template.

1 Like

It worked – thank you :smiling_face_with_three_hearts:

I reran uvx cookieplone classic_project which prompted whether to re-download the templates (the default being “yes”).

You've downloaded /Users/bubba/.cookiecutters/cookieplone-templates before. Is it okay to delete and re-download it? [y/n] (y):

After a cd into the new project directory, make install succeeded this time.