-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
got a expected string or bytes-like object when running install #4311
Comments
I encountered this issue as well but in a different context. Poetry version: 1.1.11. In my case, I had an existing empty .dist-info directory (not sure why) but it was still discoverable, so in the following block, poetry/poetry/repositories/installed_repository.py Lines 112 to 115 in 10d5559
Debug output:
|
Indeed, the bug seems to be stemming from this line. it was exactly similar as you described, I too had an empty |
But yes, I am encountering this bug quite often, and arbitrarily, so it's pretty annoying. |
Addresses issue python-poetry#4311 and others, related to `canonicalize_name` throwing TypeError because a str or bytes like object was expected.
Closing as a duplicate of #3628 as it has more information. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
-vvv
option).Issue
When using this
pyproject.toml
, I get the following exception:The text was updated successfully, but these errors were encountered: