-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
PR: mergedThe PR related to this issue has been merged.The PR related to this issue has been merged.
Description
From Release v2022.3.23 which was updated today, we've started to receive the following error("KeyError: 'name'"). in pipenv install..
Traceback (most recent call last):
File "/usr/local/bin/pipenv", line 8, in <module>
sys.exit(cli())
File "/usr/local/lib/python3.8/site-packages/pipenv/vendor/click/core.py", line 1128, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/pipenv/cli/options.py", line 54, in main
return super().main(*args, **kwargs, windows_expand_args=False)
File "/usr/local/lib/python3.8/site-packages/pipenv/vendor/click/core.py", line 1053, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.8/site-packages/pipenv/vendor/click/core.py", line 1659, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.8/site-packages/pipenv/vendor/click/core.py", line 1395, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.8/site-packages/pipenv/vendor/click/core.py", line 754, in invoke
return __callback(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/pipenv/vendor/click/decorators.py", line 84, in new_func
return ctx.invoke(f, obj, *args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/pipenv/vendor/click/core.py", line 754, in invoke
return __callback(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/pipenv/cli/command.py", line 193, in install
do_install(
File "/usr/local/lib/python3.8/site-packages/pipenv/core.py", line 1978, in do_install
do_init(
File "/usr/local/lib/python3.8/site-packages/pipenv/core.py", line 1244, in do_init
do_install_dependencies(
File "/usr/local/lib/python3.8/site-packages/pipenv/core.py", line 808, in do_install_dependencies
batch_install(
File "/usr/local/lib/python3.8/site-packages/pipenv/core.py", line 715, in batch_install
c = pip_install(
File "/usr/local/lib/python3.8/site-packages/pipenv/core.py", line 1406, in pip_install
extra_indexes = list(filter(lambda d: d['name'] == requirement.index, project.sources))
File "/usr/local/lib/python3.8/site-packages/pipenv/core.py", line 1406, in <lambda>
extra_indexes = list(filter(lambda d: d['name'] == requirement.index, project.sources))
KeyError: 'name'
error building image: error building stage: failed to execute command: waiting for process to exit: exit status 1
Our environement is docker and part of our Dockerfile is the following
FROM python:3.8-slim-buster AS backend-builder
...(Skip)..
RUN pip install --upgrade pip && \
pip install pipenv && \
pipenv install --system --deploy <-- Got the error
We guess that it is caused by the following update. Could you check and fix it?
#4983
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
PR: mergedThe PR related to this issue has been merged.The PR related to this issue has been merged.