-
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
TypeError unhashable type: 'Integer' installing dependencies using Poetry 1.5.1 #8243
Comments
Doing some bisection of Poetry versions:
The Poetry installation environment for 1.4.2 is:
|
Package differences between 1.5.1 -> 1.4.2
|
you've checked the box but not done this |
Same issue |
@dimbleby Sorry, my bad! Here it is:
|
Same here, since today. On my PC it is still working but start to fail today when tried to execute it inside the container. Using poetry==1.4.2 works inside the container. |
seems pretty clear that nothing has changed in poetry if you don't figure it out yourselves I expect that whatever it is in the ecosystem that has broken will affect other projects too, so sooner or later it'll reach someone who has an idea what's going on...! |
Last update to |
Pinning "tomlkit < 0.12.0" solved it for us. |
@guigautier You beat me to it by a minute 😆 After searching them all, I found one offending package, A temporary workaround to address this issue: RUN pip install "poetry==1.5.1" "tomlkit<0.12.0" |
Sidenote, this issue is the kind of motivation I have for |
seems surely unwanted that an integer would be not hashable, I expect tomlkit would welcome the bug report |
@frostming For your attention |
Just to say that for whatever reason the posted fix wouldn't execute but if I tweaked it to this then it was resolved: Many thanks @guigautier @johnthagen |
@aidanrussell-infogrid It might be because I omitted some |
Thanks, a quick fix will be released. |
For me it works again, fix has been released at https://pypi.org/project/tomlkit/0.12.1/ |
Isn't it a bit ironical that poetry dependencies aren't pinned? 😄 |
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. |
python:3.11-slim-bullseye
Docker image-vvv
option) and have included the output below.Issue
As of today, installing Poetry 1.5.1 and running
poetry install
in anpython:3.11-slim-bullseye
Docker image build started throwing an exception.Error output:
This same
Dockerfile
worked yesterday, so I suspect that one of Poetry 1.5.1 sub-dependencies released a new version that might have broken something? Those aren't locked for us (other than Poetry's version itself).I will try to see if I can track down what changed transitively recently if possible, a full output of the venv that Poetry is installed into:
The text was updated successfully, but these errors were encountered: