Getting distribution for 'tomli==1.2.1'.
WARNING: You are using pip version 21.0.1; however, version 21.3.1 is available.
You should consider upgrading via the '/home/ale/Code/plone/projects/coredev/6.0/py38/bin/python3.8 -m pip install --upgrade pip' command.
While:
Installing releaser.
Getting distribution for 'tomli==1.2.1'.
An internal error occurred due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
File "/home/ale/Code/plone/projects/coredev/6.0/py38/lib/python3.8/site-packages/zc/buildout/buildout.py", line 2219, in main
getattr(buildout, command)(args)
File "/home/ale/Code/plone/projects/coredev/6.0/py38/lib/python3.8/site-packages/zc/buildout/buildout.py", line 834, in install
installed_files = self[part]._call(recipe.install)
File "/home/ale/Code/plone/projects/coredev/6.0/py38/lib/python3.8/site-packages/zc/buildout/buildout.py", line 1630, in _call
return f()
File "/home/ale/.buildout/eggs/cp38/zc.recipe.egg-2.0.7-py3.8.egg/zc/recipe/egg/egg.py", line 227, in install
reqs, ws = self.working_set()
File "/home/ale/.buildout/eggs/cp38/zc.recipe.egg-2.0.7-py3.8.egg/zc/recipe/egg/egg.py", line 78, in working_set
ws = self._working_set(
File "/home/ale/.buildout/eggs/cp38/zc.recipe.egg-2.0.7-py3.8.egg/zc/recipe/egg/egg.py", line 161, in _working_set
ws = zc.buildout.easy_install.install(
File "/home/ale/Code/plone/projects/coredev/6.0/py38/lib/python3.8/site-packages/zc/buildout/easy_install.py", line 965, in install
return installer.install(specs, working_set)
File "/home/ale/Code/plone/projects/coredev/6.0/py38/lib/python3.8/site-packages/zc/buildout/easy_install.py", line 738, in install
for dist in self._get_dist(req, ws):
File "/home/ale/.buildout/eggs/cp38/plone.versioncheck-1.7.0-py3.8.egg/plone/versioncheck/tracking.py", line 24, in get_dist
dists = old_get_dist(self, requirement, *ags, **kw)
File "/home/ale/Code/plone/projects/coredev/6.0/py38/lib/python3.8/site-packages/zc/buildout/easy_install.py", line 581, in _get_dist
dists = [_move_to_eggs_dir_and_compile(dist, self._dest)]
File "/home/ale/Code/plone/projects/coredev/6.0/py38/lib/python3.8/site-packages/zc/buildout/easy_install.py", line 1889, in _move_to_eggs_dir_and_compile
[tmp_loc] = call_pip_install(dist.location, tmp_dest)
File "/home/ale/Code/plone/projects/coredev/6.0/py38/lib/python3.8/site-packages/zc/buildout/easy_install.py", line 1708, in call_pip_install
return make_egg_after_pip_install(dest, distinfo_dir)
File "/home/ale/Code/plone/projects/coredev/6.0/py38/lib/python3.8/site-packages/zc/buildout/easy_install.py", line 1756, in make_egg_after_pip_install
with open(os.path.join(egg_dir, distinfo_dir, 'top_level.txt')) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/ale/.buildout/eggs/cp38/tmp079a8pd8/tomli-1.2.1-py3.8.egg/tomli-1.2.1.dist-info/top_level.txt'
Removing the egg was not solving the problem, as soon as I updated the pin the error has gone.
With version 1.2.1 I had this error:
Removing the egg was not solving the problem, as soon as I updated the pin the error has gone.