When I attempt to run pip (inside docker) I get the following output
Preparing metadata (setup.py): finished with status 'done'
Collecting CacheControl[filecache]
Downloading CacheControl-0.12.10-py2.py3-none-any.whl (20 kB)
Downloading CacheControl-0.12.9-py2.py3-none-any.whl (23 kB)
Downloading CacheControl-0.12.8-py2.py3-none-any.whl (23 kB)
Downloading CacheControl-0.12.7-py2.py3-none-any.whl (23 kB)
Downloading CacheControl-0.12.6-py2.py3-none-any.whl (19 kB)
Downloading CacheControl-0.12.5.tar.gz (14 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Downloading CacheControl-0.12.4.tar.gz (14 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Downloading CacheControl-0.12.3.tar.gz (14 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Downloading CacheControl-0.12.2.tar.gz (14 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Downloading CacheControl-0.12.1.tar.gz (13 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Downloading CacheControl-0.12.0.tar.gz (13 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Downloading CacheControl-0.11.7.tar.gz (13 kB)
Preparing metadata (setup.py): started
...
WARNING: cachecontrol 0.8.0 does not provide the extra 'filecache'
WARNING: cachecontrol 0.7.3 does not provide the extra 'filecache'
WARNING: cachecontrol 0.7.2 does not provide the extra 'filecache'
WARNING: cachecontrol 0.7.1 does not provide the extra 'filecache'
WARNING: cachecontrol 0.6 does not provide the extra 'filecache'
WARNING: cachecontrol 0.5 does not provide the extra 'filecache'
WARNING: cachecontrol 0.11.1 does not provide the extra 'filecache'
WARNING: cachecontrol 0.11.0 does not provide the extra 'filecache'
WARNING: cachecontrol 0.10.7 does not provide the extra 'filecache'
WARNING: cachecontrol 0.10.6 does not provide the extra 'filecache'
WARNING: cachecontrol 0.10.4 does not provide the extra 'filecache'
WARNING: cachecontrol 0.10.3 does not provide the extra 'filecache'
WARNING: cachecontrol 0.10.2 does not provide the extra 'filecache'
WARNING: cachecontrol 0.10.1 does not provide the extra 'filecache'
WARNING: cachecontrol 0.10.0 does not provide the extra 'filecache'
WARNING: cachecontrol 0.9.4 does not provide the extra 'filecache'
WARNING: cachecontrol 0.9.3 does not provide the extra 'filecache'
WARNING: cachecontrol 0.9.2 does not provide the extra 'filecache'
WARNING: cachecontrol 0.9.1 does not provide the extra 'filecache'
WARNING: cachecontrol 0.9.0 does not provide the extra 'filecache'
WARNING: cachecontrol 0.8.3 does not provide the extra 'filecache'
WARNING: cachecontrol 0.8.2 does not provide the extra 'filecache'
WARNING: cachecontrol 0.8.1 does not provide the extra 'filecache'
WARNING: cachecontrol 0.8.0 does not provide the extra 'filecache'
WARNING: cachecontrol 0.7.3 does not provide the extra 'filecache'
WARNING: cachecontrol 0.7.2 does not provide the extra 'filecache'
WARNING: cachecontrol 0.7.1 does not provide the extra 'filecache'
WARNING: cachecontrol 0.6 does not provide the extra 'filecache'
WARNING: cachecontrol 0.5 does not provide the extra 'filecache'
WARNING: cachecontrol 0.11.1 does not provide the extra 'filecache'
WARNING: cachecontrol 0.11.0 does not provide the extra 'filecache'
WARNING: cachecontrol 0.10.7 does not provide the extra 'filecache'
WARNING: cachecontrol 0.10.6 does not provide the extra 'filecache'
WARNING: cachecontrol 0.10.4 does not provide the extra 'filecache'
WARNING: cachecontrol 0.10.3 does not provide the extra 'filecache'
WARNING: cachecontrol 0.10.2 does not provide the extra 'filecache'
WARNING: cachecontrol 0.10.1 does not provide the extra 'filecache'
WARNING: cachecontrol 0.10.0 does not provide the extra 'filecache'
WARNING: cachecontrol 0.9.4 does not provide the extra 'filecache'
WARNING: cachecontrol 0.9.3 does not provide the extra 'filecache'
WARNING: cachecontrol 0.9.2 does not provide the extra 'filecache'
WARNING: cachecontrol 0.9.1 does not provide the extra 'filecache'
WARNING: cachecontrol 0.9.0 does not provide the extra 'filecache'
WARNING: cachecontrol 0.8.3 does not provide the extra 'filecache'
WARNING: cachecontrol 0.8.2 does not provide the extra 'filecache'
WARNING: cachecontrol 0.8.1 does not provide the extra 'filecache'
WARNING: cachecontrol 0.8.0 does not provide the extra 'filecache'
WARNING: cachecontrol 0.7.3 does not provide the extra 'filecache'
WARNING: cachecontrol 0.7.2 does not provide the extra 'filecache'
WARNING: cachecontrol 0.7.1 does not provide the extra 'filecache'
WARNING: cachecontrol 0.6 does not provide the extra 'filecache'
WARNING: cachecontrol 0.5 does not provide the extra 'filecache'
I've decided to build it locally. Was using a gitlab CI process which limits the amount of logging captured. Now I'm capturing all output to a build.log. Hopefully this can catch the issue. docker build --no-cache --progress=plain . 2>&1 | tee build.log
As a result, I'm, effectively, not using any additional packages, so there should be no additional dependencies. My expectation is that it will faithfully rebuild Plone 6.0.1.
I then run the build command locally (sending output to a build.log):
docker build --no-cache --progress=plain . 2>&1 | tee build.log
To my surprise, at some point during the build it attempts to get CacheControl[filecache]. The latest versions of CacheControl don't have a filecache extra so pip starts a long search.
This is from the build.log, it shows the first time that pip starts looking for the filecache extra on CacheControl (CacheControl[filecache]).
Given no hashes to check 2 links for project 'plone-supermodel': discarding no candidates
Given no hashes to check 2 links for project 'plone-supermodel': discarding no candidates
Requirement already satisfied: lxml[cssselect] in ./lib/python3.11/site-packages (from plone.protect==4.1.8->-r https://
dist.plone.org/release/6.0.0.2/constraints.txt (line 229)) (4.9.2)
Given no hashes to check 1 links for project 'zope-mkzeoinstance': discarding no candidates
Given no hashes to check 2 links for project 'gitpython': discarding no candidates
Given no hashes to check 2 links for project 'zest-releaser': discarding no candidates
Given no hashes to check 1 links for project 'zestreleaser-towncrier': discarding no candidates
Given no hashes to check 49 links for project 'cachecontrol': discarding no candidates
Collecting CacheControl[filecache]
Created temporary directory: /tmp/pip-unpack-n6cp_e09
Looking up "https://files.pythonhosted.org/packages/83/63/15ce47ede5b03657e920f3f006e56ca9a16f7873978146f2f77e297bdd22/CacheControl-0.12.11-py2.py3-none-any.whl" in the cache
No cache entry available
I don't know if the build will eventually complete. I've waited up to 90 minutes... it tends to eventually get into a loop that shows pip searching for a version of cachecontrol that includes the 'filecache' extra:
WARNING: cachecontrol 0.11.1 does not provide the extra 'filecache'
WARNING: cachecontrol 0.11.0 does not provide the extra 'filecache'
WARNING: cachecontrol 0.10.7 does not provide the extra 'filecache'
WARNING: cachecontrol 0.10.6 does not provide the extra 'filecache'
WARNING: cachecontrol 0.10.4 does not provide the extra 'filecache'
WARNING: cachecontrol 0.10.3 does not provide the extra 'filecache'
WARNING: cachecontrol 0.10.2 does not provide the extra 'filecache'
WARNING: cachecontrol 0.10.1 does not provide the extra 'filecache'
WARNING: cachecontrol 0.10.0 does not provide the extra 'filecache'
WARNING: cachecontrol 0.9.4 does not provide the extra 'filecache'
WARNING: cachecontrol 0.9.3 does not provide the extra 'filecache'
WARNING: cachecontrol 0.9.2 does not provide the extra 'filecache'
WARNING: cachecontrol 0.9.1 does not provide the extra 'filecache'
WARNING: cachecontrol 0.9.0 does not provide the extra 'filecache'
WARNING: cachecontrol 0.8.3 does not provide the extra 'filecache'
WARNING: cachecontrol 0.8.2 does not provide the extra 'filecache'
WARNING: cachecontrol 0.8.1 does not provide the extra 'filecache'
WARNING: cachecontrol 0.8.0 does not provide the extra 'filecache'
WARNING: cachecontrol 0.7.3 does not provide the extra 'filecache'
WARNING: cachecontrol 0.7.2 does not provide the extra 'filecache'
WARNING: cachecontrol 0.7.1 does not provide the extra 'filecache'
WARNING: cachecontrol 0.6 does not provide the extra 'filecache'
WARNING: cachecontrol 0.5 does not provide the extra 'filecache'
WARNING: cachecontrol 0.11.1 does not provide the extra 'filecache'
WARNING: cachecontrol 0.11.0 does not provide the extra 'filecache'
WARNING: cachecontrol 0.10.7 does not provide the extra 'filecache'
WARNING: cachecontrol 0.10.6 does not provide the extra 'filecache'
WARNING: cachecontrol 0.10.4 does not provide the extra 'filecache'
WARNING: cachecontrol 0.10.3 does not provide the extra 'filecache'
WARNING: cachecontrol 0.10.2 does not provide the extra 'filecache'
WARNING: cachecontrol 0.10.1 does not provide the extra 'filecache'
WARNING: cachecontrol 0.10.0 does not provide the extra 'filecache'
WARNING: cachecontrol 0.9.4 does not provide the extra 'filecache'
WARNING: cachecontrol 0.9.3 does not provide the extra 'filecache'
WARNING: cachecontrol 0.9.2 does not provide the extra 'filecache'
WARNING: cachecontrol 0.9.1 does not provide the extra 'filecache'
WARNING: cachecontrol 0.9.0 does not provide the extra 'filecache'
WARNING: cachecontrol 0.8.3 does not provide the extra 'filecache'
WARNING: cachecontrol 0.8.2 does not provide the extra 'filecache'
WARNING: cachecontrol 0.8.1 does not provide the extra 'filecache'
WARNING: cachecontrol 0.8.0 does not provide the extra 'filecache'
WARNING: cachecontrol 0.7.3 does not provide the extra 'filecache'
WARNING: cachecontrol 0.7.2 does not provide the extra 'filecache'
WARNING: cachecontrol 0.7.1 does not provide the extra 'filecache'
WARNING: cachecontrol 0.6 does not provide the extra 'filecache'
WARNING: cachecontrol 0.5 does not provide the extra 'filecache'
WARNING: cachecontrol 0.11.1 does not provide the extra 'filecache'
WARNING: cachecontrol 0.11.0 does not provide the extra 'filecache'
WARNING: cachecontrol 0.10.7 does not provide the extra 'filecache'
WARNING: cachecontrol 0.10.6 does not provide the extra 'filecache'
WARNING: cachecontrol 0.10.4 does not provide the extra 'filecache'
WARNING: cachecontrol 0.10.3 does not provide the extra 'filecache'
WARNING: cachecontrol 0.10.2 does not provide the extra 'filecache'
WARNING: cachecontrol 0.10.1 does not provide the extra 'filecache'
WARNING: cachecontrol 0.10.0 does not provide the extra 'filecache'
WARNING: cachecontrol 0.9.4 does not provide the extra 'filecache'
WARNING: cachecontrol 0.9.3 does not provide the extra 'filecache'
WARNING: cachecontrol 0.9.2 does not provide the extra 'filecache'
WARNING: cachecontrol 0.9.1 does not provide the extra 'filecache'
WARNING: cachecontrol 0.9.0 does not provide the extra 'filecache'
WARNING: cachecontrol 0.8.3 does not provide the extra 'filecache'
WARNING: cachecontrol 0.8.2 does not provide the extra 'filecache'
WARNING: cachecontrol 0.8.1 does not provide the extra 'filecache'
WARNING: cachecontrol 0.8.0 does not provide the extra 'filecache'
WARNING: cachecontrol 0.7.3 does not provide the extra 'filecache'
WARNING: cachecontrol 0.7.2 does not provide the extra 'filecache'
WARNING: cachecontrol 0.7.1 does not provide the extra 'filecache'
WARNING: cachecontrol 0.6 does not provide the extra 'filecache'
WARNING: cachecontrol 0.5 does not provide the extra 'filecache'
WARNING: cachecontrol 0.11.1 does not provide the extra 'filecache'
WARNING: cachecontrol 0.11.0 does not provide the extra 'filecache'
WARNING: cachecontrol 0.10.7 does not provide the extra 'filecache'
WARNING: cachecontrol 0.10.6 does not provide the extra 'filecache'
WARNING: cachecontrol 0.10.4 does not provide the extra 'filecache'
WARNING: cachecontrol 0.10.3 does not provide the extra 'filecache'
WARNING: cachecontrol 0.10.2 does not provide the extra 'filecache'
WARNING: cachecontrol 0.10.1 does not provide the extra 'filecache'
WARNING: cachecontrol 0.10.0 does not provide the extra 'filecache'
WARNING: cachecontrol 0.9.4 does not provide the extra 'filecache'
WARNING: cachecontrol 0.9.3 does not provide the extra 'filecache'
WARNING: cachecontrol 0.9.2 does not provide the extra 'filecache'
WARNING: cachecontrol 0.9.1 does not provide the extra 'filecache'
WARNING: cachecontrol 0.9.0 does not provide the extra 'filecache'
WARNING: cachecontrol 0.8.3 does not provide the extra 'filecache'
WARNING: cachecontrol 0.8.2 does not provide the extra 'filecache'
WARNING: cachecontrol 0.8.1 does not provide the extra 'filecache'
WARNING: cachecontrol 0.8.0 does not provide the extra 'filecache'
WARNING: cachecontrol 0.7.3 does not provide the extra 'filecache'
WARNING: cachecontrol 0.7.2 does not provide the extra 'filecache'
WARNING: cachecontrol 0.7.1 does not provide the extra 'filecache'
WARNING: cachecontrol 0.6 does not provide the extra 'filecache'
WARNING: cachecontrol 0.5 does not provide the extra 'filecache'
After upgrading pip and setuptools (see above) I'm still getting the same issue (ie. an attempt to install CacheControl[filecache] rather than CacheControl without the extra).
It used to work without the legacy-resolver, hopefully that will be sorted out in the future.
For anyone trying to figure this out in the future.
The following Dockerfile demonstrates the structure that worked for me.