Successfully installed argcomplete-3.5.1 cachetools-5.5.0 cfgv-3.4.0 chardet-5.2.0 click-8.1.7 colorama-0.4.6 distlib-0.3.9 filelock-3.16.1 identify-2.6.2 mxdev-4.0.3 nodeenv-1.9.1 packaging-24.2 pip-24.3.1 pipx-1.7.1 platformdirs-4.3.6 pluggy-1.5.0 pre-commit-4.0.1 pyproject-api-1.8.0 pyyaml-6.0.2 tox-4.23.2 userpath-1.9.2 uv-0.5.1 virtualenv-20.27.1 wheel-0.45.0
+ '[' -d /home/plone/plone6/new/6.0.13/intranet/backend/.git ']'
++ tput setaf 1
++ tput sgr0
+ echo ' Not installing pre-commit'
Not installing pre-commit
+ dirname /home/plone/plone6/new/6.0.13/intranet/backend/Makefile
++ tput setaf 2
++ tput sgr0
+ echo '==> Create instance configuration'
==> Create instance configuration
+ /home/plone/plone6/new/6.0.13/intranet/backend/.venv/bin/pipx run cookiecutter -f --no-input --config-file instance.yaml gh:plone/cookiecutter-zope-instance
Warning: initial user's password is insecure, it should be at least 10 characters long!
+ dirname /home/plone/plone6/new/6.0.13/intranet/backend/Makefile
+ dirname /home/plone/plone6/new/6.0.13/intranet/backend/Makefile
++ tput setaf 2
++ tput sgr0
+ echo '==> Setup Build'
==> Setup Build
+ /home/plone/plone6/new/6.0.13/intranet/backend/.venv/bin/mxdev -c mx.ini
###############################################################################
# Load configuration
Can not parse override:
###############################################################################
# Read infiles
Read [r]: requirements.txt
Read [c]: constraints.txt
Read [c]: https://dist.plone.org/release/6.0.13/constraints.txt
###############################################################################
# No sources configured!
###############################################################################
# Write outfiles
Write [c]: constraints-mxdev.txt
Write [r]: requirements-mxdev.txt
🎂 You are now ready for: pip install -r requirements-mxdev.txt
(path to pip may vary dependent on your installation method)
+ /home/plone/plone6/new/6.0.13/intranet/backend/.venv/bin/uv pip install -r requirements-mxdev.txt
error: Build backend failed to determine requirements with `build_editable()` (exit status: 1)
[stderr]
error in intranet setup command: Distribution contains no modules or packages for namespace package ''
make: *** [Makefile:69: build-dev] Error 2
I use python 3.11.9 in pyenv, nvm 0.40.1, node v20.18.0
With cookiecutter-plone-starter, Plone 6.0.13 can be installed successfully as usual.
Unfortunately, I haven't found any reference to such a problem here in the forum.
What is the problem here?
Perhaps another small hint that I noticed in the documentation: nvm install --lts but this installs version v22.11.0, which is not accepted by cookieplone.
pipx run cookieplone --version
Cookieplone 0.8.0 from /home/plone/.cache/pipx/ba5e146da2ee207/lib/python3.11/site-packages/cookieplone (Cookiecutter 2.6.0, Python 3.11.9 (main, Nov 11 2024, 11:11:38) [GCC 13.2.0])
Made with ❤ by the Plone Community
If I could perhaps express a wish regarding the documentation.
I would find it very helpful if there were instructions on how to set up a development environment using namespaces, especially for newcomers who don't want to publish their first attempts on github straight away. Perhaps on your own gitlab. Including a recommendation on what to put in an add-on and what not, so that later when upgrading the Plone version you only have to integrate your own add-ons in the main instance.
Yes, as I wrote above, nvm install --lts installs version 22.11.0 which is not supported by cookieplone. Install the 20 LTS with nvm install 20.12.2 or nvm install --lts/iron
Thanks for your kindly reminder, it you not told me... I will never find this in the official document... it's not when I first use plone 2 suppose to be...