-
Notifications
You must be signed in to change notification settings - Fork 177
Closed
Description
I get this traceback:
$ bin/buildout
Traceback (most recent call last):
File "/Users/maurits/tmp/foo/lib/python3.8/site-packages/zc/buildout/patches.py", line 52, in patch_PackageIndex
from pip._internal.index.collector import HTMLPage
ImportError: cannot import name 'HTMLPage' from 'pip._internal.index.collector' (/Users/maurits/tmp/foo/lib/python3.8/site-packages/pip/_internal/index/collector.py)
Buildout does continue after this, so it is not fatal.
To reproduce:
$ python3.8 -m venv foo # tried with 3.10 as well, same thing
$ cd foo
$ bin/pip install --pre -U pip setuptools zc.buildout
$ cat buildout.cfg
[buildout]
parts = test
[test]
recipe = zc.recipe.egg
eggs = build
$ bin/buildout
Note: I also get a warning: "Requires-Python support missing", but I think that is now thrown if a package that we need to install is missing the Requires-Python
metadata. So not something buildout can do anything about.
When I install pip 22.1.2
, all is well again.
Metadata
Metadata
Assignees
Labels
No labels