You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I build an image using FROM python:3.11.0-slim or greater, it uses poetry as a dependency manager, it gives the following error when i run poetry install
_WheelFileValidationError
#0 12.38
#0 12.38 ["In /root/.cache/pypoetry/artifacts/f0/fd/97/ccc603543bc670e244d741bd4c3b20a4fdff4283aac382b234bdb02085/debugpy-1.6.6-py2.py3-none-any.whl, hash / size of debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_cython.cp39-win_amd64.pyd didn't match RECORD", "In /root/.cache/pypoetry/artifacts/f0/fd/97/ccc603543bc670e244d741bd4c3b20a4fdff4283aac382b234bdb02085/debugpy-1.6.6-py2.py3-none-any.whl, hash / size of debugpy/_vendored/pydevd/_pydevd_frame_eval/pydevd_frame_evaluator.cp39-win_amd64.pyd didn't match RECORD", "In /root/.cache/pypoetry/artifacts/f0/fd/97/ccc603543bc670e244d741bd4c3b20a4fdff4283aac382b234bdb02085/debugpy-1.6.6-py2.py3-none-any.whl, hash / size of debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_amd64.dll didn't match RECORD", "In /root/.cache/pypoetry/artifacts/f0/fd/97/ccc603543bc670e244d741bd4c3b20a4fdff4283aac382b234bdb02085/debugpy-1.6.6-py2.py3-none-any.whl, hash / size of debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_x86.dll didn't match RECORD", "In /root/.cache/pypoetry/artifacts/f0/fd/97/ccc603543bc670e244d741bd4c3b20a4fdff4283aac382b234bdb02085/debugpy-1.6.6-py2.py3-none-any.whl, hash / size of debugpy/_vendored/pydevd/pydevd_attach_to_process/inject_dll_amd64.exe didn't match RECORD", "In /root/.cache/pypoetry/artifacts/f0/fd/97/ccc603543bc670e244d741bd4c3b20a4fdff4283aac382b234bdb02085/debugpy-1.6.6-py2.py3-none-any.whl, hash / size of debugpy/_vendored/pydevd/pydevd_attach_to_process/inject_dll_x86.exe didn't match RECORD", "In /root/.cache/pypoetry/artifacts/f0/fd/97/ccc603543bc670e244d741bd4c3b20a4fdff4283aac382b234bdb02085/debugpy-1.6.6-py2.py3-none-any.whl, hash / size of debugpy/_vendored/pydevd/pydevd_attach_to_process/run_code_on_dllmain_amd64.dll didn't match RECORD", "In /root/.cache/pypoetry/artifacts/f0/fd/97/ccc603543bc670e244d741bd4c3b20a4fdff4283aac382b234bdb02085/debugpy-1.6.6-py2.py3-none-any.whl, hash / size of debugpy/_vendored/pydevd/pydevd_attach_to_process/run_code_on_dllmain_x86.dll didn't match RECORD"]
#0 12.38
#0 12.38 at /usr/local/lib/python3.11/site-packages/installer/sources.py:289 in validate_record
#0 12.39 285│ f"In {self._zipfile.filename}, hash / size of {item.filename} didn't match RECORD"
#0 12.39 286│ )
#0 12.39 287│
#0 12.39 288│ if issues:
#0 12.39 → 289│ raise _WheelFileValidationError(issues)
#0 12.39 290│
#0 12.39 291│ def get_contents(self) -> Iterator[WheelContentElement]:
#0 12.39 292│ """Sequential access to all contents of the wheel (including dist-info files).
#0 12.39 293│
#0 12.39
------
When I use an image FROM python:3.10.10-slim it builds normally.
Until a while ago, I was able to build with ease.
Maybe it could be a poetry bug
Expected behavior
Able to build with python version 3.11.2
Steps to reproduce:
Build any python docker image above version 3.11
Use poetry with pyproject.toml to download debugpy in version 1.6.6
The text was updated successfully, but these errors were encountered:
Environment data
Actual behavior
When I build an image using FROM python:3.11.0-slim or greater, it uses poetry as a dependency manager, it gives the following error when i run
poetry install
When I use an image FROM python:3.10.10-slim it builds normally.
Until a while ago, I was able to build with ease.
Maybe it could be a poetry bug
Expected behavior
Able to build with python version 3.11.2
Steps to reproduce:
The text was updated successfully, but these errors were encountered: