Installation Error

Hi

I built a basic installation for Plone 6 with https://github.com/collective/cookiecutter-plone-starter/ (following the training: https://training.plone.org/5/plone-deployment/intro.html ). Now during the installation of the packages with make install I get the following error:

...
Collecting five.localsitemanager
  Using cached five.localsitemanager-3.3-py2.py3-none-any.whl (19 kB)
Collecting zope.component
  Using cached zope.component-5.0.1-py2.py3-none-any.whl (68 kB)
INFO: pip is looking at multiple versions of <Python from Requires-Python> to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of zope-testrunner to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of webauftritt-plone-6[test] to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install plone-app-testing[robot]==7.0.0b2 because these package versions have conflicting dependencies.

The conflict is caused by:
    plone-app-testing[robot] 7.0.0b2 depends on Products.CMFPlone
    The user requested (constraint) products-cmfplone==6.0.0rc1

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
make[2]: *** [build-dev] Error 1
make[1]: *** [install-backend] Error 2
make: *** [install] Error 2

Anybody know how to fix this?

File-Contents:

./backend/requirements-mxdev.txt

###############################################################################
# mxdev combined constraints
-c constraints-mxdev.txt


###############################################################################
# mxdev development sources

###############################################################################
# begin requirements from: requirements.txt

-e src/webauftritt_plone_6[test]

zope.testrunner

# Add required add-ons
# (Ideally add them in setup.py for webauftritt_plone_6)
# collective.easyform

# end requirements from: requirements.txt
###############################################################################

./backend/contraints-mxdev.txt

###############################################################################
# begin constraints from: constraints.txt

###############################################################################
# begin constraints from: https://dist.plone.org/release/6.0.0rc1/constraints.txt

AccessControl==5.7
Acquisition==4.13
AuthEncoding==4.3
BTrees==4.11.3
Babel==2.11.0
CacheControl==0.12.12
Chameleon==3.10.1
DateTime==4.7
Deprecated==1.2.13
DocumentTemplate==4.1
ExtensionClass==4.9
GitPython==3.1.29
Jinja2==3.1.2
Markdown==3.4.1
MarkupSafe==2.1.1
Missing==4.2
MultiMapping==4.1
Paste==3.5.2
PasteDeploy==3.0.1
Persistence==3.6
Pillow==9.3.0
Plone==6.0.0rc1
Products.BTreeFolder2==4.3
Products.CMFCore==2.6.0
Products.CMFDiffTool==3.3.3
Products.CMFDynamicViewFTI==7.0.0a1
Products.CMFEditions==4.0.0b3
Products.CMFPlacefulWorkflow==3.0.0b2
Products.CMFPlone==6.0.0rc1
Products.CMFUid==3.4
Products.DCWorkflow==2.6.0
Products.DateRecurringIndex==3.0.1
Products.ExtendedPathIndex==4.0.1
Products.ExternalMethod==4.6
Products.GenericSetup==2.2.0
Products.MailHost==4.12
Products.MimetypesRegistry==2.1.9
Products.PDBDebugMode==2.0
Products.PlonePAS==7.0.0b3
Products.PluggableAuthService==2.7.1
Products.PluginRegistry==1.10
Products.PortalTransforms==3.2.1
Products.PrintingMailHost==1.1.6
Products.PythonScripts==4.14
Products.Sessions==4.14
Products.SiteErrorLog==5.6
Products.StandardCacheManagers==4.1.1
Products.ZCatalog==6.3
Products.ZopeVersionControl==3.0.0
Products.isurlinportal==1.2.1
Products.statusmessages==5.0.5
Products.validation==2.1.3
PyGithub==1.57
PyJWT==2.6.0
PyNaCl==1.5.0
PySocks==1.7.1
Pygments==2.13.0
Record==3.6
RestrictedPython==6.0
SecretStorage==3.3.3
Sphinx==5.3.0
Unidecode==1.3.6
WSGIProxy2==0.5.1
WebOb==1.8.7
WebTest==3.0.0
ZConfig==3.6.0
ZEO==5.3.0
ZODB==5.8.0
ZODB3==3.11.0
Zope==5.7
Zope2==4.0
ZopeUndo==4.3
alabaster==0.7.12
argcomplete==2.0.0
argh==0.26.2
async-generator==1.10
attrs==22.1.0
backports.zoneinfo==0.2.1; python_version == "3.8"
beautifulsoup4==4.11.1
bleach==5.0.1
borg.localrole==3.1.9
build==0.9.0
cached-property==1.5.2
certifi==2022.9.24
cffi==1.15.1
charset-normalizer==2.1.1
check-manifest==0.48
click==8.1.3
click-default-group==1.2.2
collective.MockMailHost==2.0.0
collective.monkeypatcher==1.2.1
collective.recipe.omelette==1.1.0
collective.recipe.template==2.2
collective.recipe.vscode==0.1.8
collective.xmltestreport==2.0.2
collective.z3cform.datagridfield==3.0.0
colorama==0.4.6
commonmark==0.9.1
configparser==5.3.0
cryptography==38.0.3
cssselect==1.2.0
decorator==5.1.1
diazo==1.5.0
distro==1.8.0
docutils==0.17.1
exceptiongroup==1.0.4
fancycompleter==0.9.1
feedparser==6.0.10
filelock==3.8.0
five.customerize==2.1.0
five.intid==1.2.6
five.localsitemanager==3.3
funcsigs==1.0.2
furl==2.1.3
future==0.18.2
gitdb==4.0.9
gunicorn==20.1.0
h11==0.14.0
httplib2==0.21.0
i18ndude==5.5.0
icalendar==5.0.2
idna==3.4
imagesize==1.4.1
importlib-metadata==5.0.0
importlib-resources==5.10.0
incremental==22.10.0
ipaddress==1.0.23
jaraco.classes==3.2.3
jeepney==0.8.0
jsonschema==4.17.0
keyring==23.11.0
launchpadlib==1.10.18
lazr.restfulclient==0.14.5
lazr.uri==1.0.6
lockfile==0.12.2
lxml==4.9.1
manuel==1.12.4
mock==4.0.3
more-itertools==9.0.0
mr.developer==2.0.1
msgpack==1.0.4
multipart==0.2.4
nt-svcutils==2.13.0
oauthlib==3.2.2
orderedmultidict==1.0.1
outcome==1.2.0
packaging==21.3
pbr==5.11.0
pdbpp==0.10.3
pep440==0.1.2
pep517==0.13.0
persistent==4.9.3
piexif==1.1.3
pip==22.3.1
pkginfo==1.8.3
pkgutil-resolve-name==1.3.10; python_version == "3.8"
plone.alterego==1.1.5
plone.api==2.0.0b4
plone.app.blocks==6.0.1
plone.app.caching==3.0.0
plone.app.content==4.0.1
plone.app.contentlisting==3.0.0b1
plone.app.contentmenu==3.0.0b3
plone.app.contentrules==5.0.0b2
plone.app.contenttypes==3.0.0b2
plone.app.customerize==1.3.12
plone.app.debugtoolbar==1.2.3
plone.app.dexterity==3.0.0b2
plone.app.discussion==4.0.0
plone.app.drafts==2.0.0
plone.app.event==4.0.0
plone.app.i18n==4.0.0a1
plone.app.intid==1.1.4
plone.app.iterate==4.0.3
plone.app.jquerytools==1.9.5
plone.app.layout==4.0.0
plone.app.linkintegrity==3.6.1
plone.app.locales==6.0.8
plone.app.lockingbehavior==1.0.7
plone.app.mosaic==3.0.0a6
plone.app.multilingual==6.0.0b3
plone.app.portlets==5.0.0b2
plone.app.querystring==2.0.0
plone.app.redirector==3.0.0a1
plone.app.registry==2.0.0a9
plone.app.relationfield==3.0.0b2
plone.app.robotframework==2.0.0b2
plone.app.standardtiles==3.0.0b1
plone.app.testing==7.0.0b2
plone.app.textfield==1.3.6
plone.app.theming==5.0.0b2
plone.app.tiles==4.0.0a2
plone.app.upgrade==3.0.0rc1
plone.app.users==3.0.0
plone.app.uuid==2.2.1
plone.app.versioningbehavior==2.0.0b1
plone.app.viewletmanager==4.0.0
plone.app.vocabularies==5.0.0b1
plone.app.widgets==4.0.0b1
plone.app.workflow==5.0.0b1
plone.app.z3cform==4.0.0b1
plone.autoform==2.0.0a1
plone.autoinclude==1.0.0a5
plone.base==1.0.0b5
plone.batching==2.0.0a1
plone.behavior==1.4.0
plone.browserlayer==3.0.0
plone.cachepurging==3.0.0a1
plone.caching==1.2.2
plone.contentrules==2.1.2
plone.dexterity==3.0.0b2
plone.event==1.4.1
plone.folder==3.1.0
plone.formwidget.autocomplete==1.4.1
plone.formwidget.namedfile==3.0.0a5
plone.formwidget.recurrence==2.1.5
plone.i18n==5.0.0b1
plone.indexer==1.0.7
plone.intelligenttext==3.1.0
plone.jsonserializer==0.9.10
plone.keyring==3.1.3
plone.locking==2.2.5
plone.memoize==3.0.0
plone.namedfile==6.0.0b5
plone.outputfilters==5.0.0
plone.portlet.collection==4.0.0a4
plone.portlet.static==4.0.0b1
plone.portlets==2.3.2
plone.protect==4.1.6
plone.recipe.command==1.1
plone.recipe.zeoserver==2.0.3
plone.recipe.zope2instance==6.11.0
plone.registry==1.2.1
plone.releaser==1.8.7
plone.reload==3.0.2
plone.resource==2.1.4
plone.resourceeditor==3.0.4
plone.rest==2.0.0a5
plone.restapi==8.32.2
plone.rfc822==2.0.2
plone.scale==4.0.0b5
plone.schema==1.4.0
plone.schemaeditor==4.0.0b2
plone.session==4.0.0b2
plone.staticresources==2.0.1
plone.stringinterp==1.3.3
plone.subrequest==2.0.0b1
plone.supermodel==2.0.0
plone.testing==8.0.3
plone.theme==3.0.7
plone.tiles==2.3.1
plone.transformchain==2.0.2
plone.uuid==1.0.6
plone.versioncheck==1.7.0
plone.volto==4.0.0
plone.z3cform==2.0.0b1
plonetheme.barceloneta==3.0.0b6
progress==1.6
prompt-toolkit==2.0.10
py==1.11.0
pyOpenSSL==22.1.0
pycparser==2.21
pyparsing==3.0.9
pyrepl==0.9.0
pyroma==4.0
pyrsistent==0.19.2
python-dateutil==2.8.2
python-dotenv==0.21.0
python-gettext==4.1
pytz==2022.6
readme-renderer==37.3
repoze.xmliter==0.6.1
requests==2.28.1
requests-toolbelt==0.10.1
responses==0.22.0
rfc3986==2.0.0
rich==12.6.0
robotframework==6.0.1
robotframework-debuglibrary==2.3.0
robotframework-pythonlibcore==4.0.0
robotframework-selenium2library==3.0.0
robotframework-selenium2screenshots==0.8.1
robotframework-seleniumlibrary==6.0.0
robotframework-seleniumtestability==2.0.0
robotsuite==2.3.1
roman==3.3
selenium==4.6.0
setuptools==65.5.1
sgmllib3k==1.0.0
shutilwhich==1.1.0
simplejson==3.18.0
six==1.16.0
smmap==5.0.0
sniffio==1.3.0
snowballstemmer==2.2.0
sortedcontainers==2.4.0
soupsieve==2.3.2.post1
sphinx-rtd-theme==1.1.1
sphinxcontrib-applehelp==1.0.2
sphinxcontrib-devhelp==1.0.2
sphinxcontrib-htmlhelp==2.0.0
sphinxcontrib-jsmath==1.0.1
sphinxcontrib-qthelp==1.0.3
sphinxcontrib-serializinghtml==1.1.5
stdlib-list==0.8.0
tempstorage==5.2
toml==0.10.2
tomli==2.0.1
towncrier==22.8.0
transaction==3.0.1
trio==0.22.0
trio-websocket==0.9.2
twine==4.0.1
types-toml==0.10.8.1
typing-extensions==4.4.0
urllib3==1.26.12
urllib3-secure-extra==0.1.0
wadllib==1.3.6
waitress==2.1.2
watchdog==2.1.9
wcwidth==0.2.5
webencodings==0.5.1
webresource==1.1
wheel==0.38.4
wmctrl==0.4
wrapt==1.14.1
wsproto==1.2.0
z3c.caching==2.2
z3c.checkversions==1.2
z3c.dependencychecker==2.7
z3c.form==4.3
z3c.formwidget.query==1.0.0
z3c.jbot==1.1.1
z3c.objpath==1.2
z3c.pt==3.3.1
z3c.relationfield==0.9.0
z3c.zcmlhook==1.1
zExceptions==4.2
zc.buildout==3.0.1
zc.lockfile==2.0
zc.recipe.egg==2.0.7
zc.recipe.testrunner==2.2
zc.relation==1.1.post2
zdaemon==4.3
zest.pocompile==1.6.0
zest.releaser==7.0.0
zestreleaser.towncrier==1.3.0
zipp==3.10.0
zodbpickle==2.6
zodbupdate==1.5
zodbverify==1.2.0
zope.annotation==4.8
zope.app.locales==4.3
zope.browser==2.4
zope.browsermenu==4.4
zope.browserpage==4.4.0
zope.browserresource==4.4
zope.cachedescriptors==4.4
zope.component==5.0.1
zope.componentvocabulary==2.3.0
zope.configuration==4.4.1
zope.container==4.10
zope.contentprovider==4.2.1
zope.contenttype==4.6
zope.copy==4.2
zope.datetime==4.3.0
zope.deferredimport==4.4
zope.deprecation==4.4.0
zope.dottedname==5.0
zope.event==4.5.0
zope.exceptions==4.6
zope.filerepresentation==5.0.0
zope.formlib==5.0.1
zope.globalrequest==1.6
zope.hookable==5.4
zope.i18n==4.9.0
zope.i18nmessageid==5.1.1
zope.interface==5.5.2
zope.intid==4.4.0
zope.keyreference==5.0.0
zope.lifecycleevent==4.4
zope.location==4.2
zope.mkzeoinstance==4.1
zope.pagetemplate==4.6.0
zope.processlifetime==2.4
zope.proxy==4.6.1
zope.ptresource==4.3.0
zope.publisher==6.1.0
zope.ramcache==2.4
zope.schema==6.2.1
zope.security==5.7
zope.sendmail==5.3
zope.sequencesort==4.2
zope.site==4.6.1
zope.size==4.4
zope.structuredtext==4.4
zope.tal==4.5
zope.tales==5.2
zope.testbrowser==5.6.1
zope.testing==4.10
zope.testrunner==5.5.1
zope.traversing==4.4.1
zope.viewlet==4.3

# end constraints from: https://dist.plone.org/release/6.0.0rc1/constraints.txt
###############################################################################


# end constraints from: constraints.txt
###############################################################################


Adrianschulz via Plone Community wrote at 2022-12-1 14:33 +0000:

...
I built a basic installation for Plone 6 with https://github.com/collective/cookiecutter-plone-starter/ ... Now during the installation of the packages with make install I get the following error:
...
ERROR: Cannot install plone-app-testing[robot]==7.0.0b2 because these package versions have conflicting dependencies.

The conflict is caused by:
plone-app-testing[robot] 7.0.0b2 depends on Products.CMFPlone
The user requested (constraint) products-cmfplone==6.0.0rc1

I suppose that this is a tool problem:
products-cmfplone is the nornalized package name for Products.CMFPlone.
Apparently, the tool you are using does not recognize this
and gets confused by the use of
both Products.CMFPlone and products-cmfplone.

You might try to change the spelling in the contraint file
to also use the unnormalized name.

Hello @adrianschulz, could you tell me which OS are you using?

@ericof

MacOS 12.3 with Python 3.7.5

@dieter

Thx.

I fixed it with commenting out Products.CMFPlone==6.0.0b3 in the contraints-mxdev.txt but I can't use the make build command with it. contraints-mxdev.txt is overwritten every time I run the command.

Python 3.7 is not supported any more by Plone 6. It will be EOL and unsupported by the PSF in 6-7 months.

Can you please test with a newer version (preferably 3.10, 3.11 should work and os also supported but very recent) and see if the issue is still present?

For more background info on which versions are supported and why:

With 3.10 it works!!! Thanks for your help.