I am trying to create a project using Plone 6 by following the tutorial Create a project – Install — Plone Documentation v6.0. While running make install in the project directory, I am facing the following error.
+ echo '==> Setup Build'
==> Setup Build
+ bin/mxdev -c mx.ini
Traceback (most recent call last):
File "/home/shruti/lms/academia/backend/bin/mxdev", line 5, in <module>
from mxdev.main import main
File "/home/shruti/lms/academia/backend/lib64/python3.12/site-packages/mxdev/__init__.py", line 1, in <module>
from .config import Configuration # noqa
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/shruti/lms/academia/backend/lib64/python3.12/site-packages/mxdev/config.py", line 5, in <module>
import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'
make[2]: *** [Makefile:112: build-dev] Error 1
make[2]: Leaving directory '/home/shruti/lms/academia/backend'
make[1]: *** [Makefile:46: install-backend] Error 2
make[1]: Leaving directory '/home/shruti/lms/academia'
make: *** [Makefile:63: install] Error 2
I guess in that case we need to update the mxdev version used by Plone 6 backend. Since, the constraints-mxdev.txt file for my Plone 6.0.10 project is still pointing to mxdev 3.1.0.
For other projects I wonder if a new release of Plone would help. But in such a project you would then need to manually update the version from 6.0.10.1 to 6.0.10.2. If you can do that, you can probably update the mxdev version instead, making a Plone release not needed. So at this moment I think a new release, including Docker images, would not be needed.