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
❯ poetry install --with dev
Removing the project's plugin cache because it is outdatedEnsuring that the Poetry plugins required by the project are available...The following Poetry plugins are required by the project but are not installed in Poetry's environment:
- poetry-dynamic-versioning[plugin] (>=1.0.0,<2.0.0)
Installing Poetry plugins only for the current project...
Updating dependencies
Resolving dependencies... (7.8s)
Because poetry-project-instance depends on gpg (1.24.1) which doesn't match any versions, version solving failed.
This is on macOS / Apple Silicon (M1) if that makes any difference.
The text was updated successfully, but these errors were encountered:
Hi! This is probably an issue with Poetry's internal poetry.lock getting into a weird state after a Poetry/Python upgrade (see also python-poetry/poetry#9841 and #152).
On Mac, the file should be in ~/Library/Application Support/pypoetry. You can try deleting it outright, or you may be able to fix it with poetry self lock.
For future reference: I had Poetry installed with homebrew and I couldn't find a way to fix this issue - there was no poetry.lock file in the expected location and poetry self lock didn't do anything. What helped was to uninstall Poetry with homebrew and then install it again using its own installer.
After adding the
requires-plugin
section to my pyproject.yaml, runningpoetry install
fails. Without that section, everything installs fine.This is on macOS / Apple Silicon (M1) if that makes any difference.
The text was updated successfully, but these errors were encountered: