New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to install debugpy using poetry v1.4.1
#1246
Comments
|
Same issue here on macOS 13.2.1 with Python 3.11.2. |
|
Same issue when running poetry in a Docker environment (latest |
|
Same issue on AWS arm64 docker python3.9 image |
|
Working on an m1 macbook. It seems that poetry 1.4.1 that was released yesterday introduced a couple of regressions. The one mentioned in this issue (_WheelValidationError) and inability to install some packages with a correct md5 wheel hash. Downgrading poetry to 1.4.0 made the errors go away for me. Hope this helps. |
|
Had the same issue when installing torch in a Python3.8 environment on a Remote Runner via Github Actions. |
|
Confirm that it happens in the following with all versions of Python 3.9+:
|
|
The workaround when using poetry 1.4.1 is to set |
When following the Quick Start instructions in the contributing docs, I was getting a "WheelFileValidationError" on installation of debugpy which was blocking the installation of a number of other deps. Google turned up this [GitHub issue](microsoft/debugpy#1246) indicating a regression in Poetry 1.4.1 and workarounds.
When following the Quick Start instructions in the contributing docs, I was getting a "WheelFileValidationError" on installation of debugpy which was blocking the installation of a number of other deps. Google turned up this [GitHub issue](microsoft/debugpy#1246) indicating a regression in Poetry 1.4.1 and workarounds.
When following the Quick Start instructions in the contributing docs, I was getting a "WheelFileValidationError" on installation of debugpy which was blocking the installation of a number of other deps. Google turned up this [GitHub issue](microsoft/debugpy#1246) indicating a regression in Poetry 1.4.1 and workarounds.
When following the Quick Start instructions in the contributing docs, I was getting a "WheelFileValidationError" on installation of debugpy which was blocking the installation of a number of other deps. Google turned up this [GitHub issue](microsoft/debugpy#1246) indicating a regression in Poetry 1.4.1 and workarounds.
When following the Quick Start instructions in the contributing docs, I was getting a "WheelFileValidationError" on installation of debugpy which was blocking the installation of a number of other deps. Google turned up this [GitHub issue](microsoft/debugpy#1246) indicating a regression in Poetry 1.4.1 and workarounds.
When following the Quick Start instructions in the contributing docs, I was getting a "WheelFileValidationError" on installation of debugpy which was blocking the installation of a number of other deps. Google turned up this [GitHub issue](microsoft/debugpy#1246) indicating a regression in Poetry 1.4.1 and workarounds. This PR updates the contrib docs noting the issue and the workarounds.
it worked. thanks ! |
|
|
|
RUN |
|
@yash2tailorbird that helped, thank you! |
|
Is it better practice to set |
|
Downgrading to Here's the command: poetry self update 1.4.0 |
This is an attempt to solve recently failing builds. Solution borrowed from: microsoft/debugpy#1246
This is an attempt to solve recently failing builds. Solution borrowed from: microsoft/debugpy#1246
This is an attempt to solve recently failing builds. Solution borrowed from: microsoft/debugpy#1246
This is an attempt to solve recently failing builds. Solution borrowed from: microsoft/debugpy#1246 Update: fix syntax
For the first part it is not good practive. Secondly If you really need latest version of debugpy via poetry you can downgrade or just turn off certain setting, but that does not the fix actual problem. |
|
Same issue. Tried to install jupyterlab and it stops at installing debugpy: |
|
For anyone using poetry with GitHub Actions: - run: echo "POETRY_VERSION=$(poetry --version)" >> $GITHUB_ENV
shell: bash
- run: poetry config installer.modern-installation false
# workaround for bug: https://github.com/microsoft/debugpy/issues/1246
if: ${{ contains(env.POETRY_VERSION, '1.4.1') }}
shell: bash |
|
While the workarounds are useful to unblock end-users in the short-run, have the maintainers of this repo confirmed whether the |
|
The files affected are all Win32 binaries that undergo signing in the process of building the official wheels, and need to be re-hashed after that. It seems that this process is broken currently. This is definitely a high-priority issue, and we're investigating. |
|
Works with the new v1.4.2 poetry |
But with a warning, per poetry's release notes:
|
|
Root cause has been identified; a new build of debugpy with fixed hashes is coming shortly. |
|
Thank you @int19h ! |
For me it doesn't work. I have to configure |
|
debugpy 1.6.7 is now up on PyPI and should fix this problem. Please let me know if there are any issues. |


Before creating a new issue, please check the FAQ to see if your question is answered there.
Environment data
Actual behavior
Running
poetry add debugpycrashes with a_WheelFileValidationErrorExpected behavior
It installs successfully, just as it does with
pip install debugpySteps to reproduce:
mkdir poetry-test && cd poetry-testpoetry initpoetry add debugpyGiven that this issue is present when installing via
poetrybut notpip, I initially created the issue in python-poetry/poetry#7686, but the maintainers have directed me to open an issue here to investigate the invalid wheel.The text was updated successfully, but these errors were encountered: