Skip to content

Commit

Permalink
Fix poetry locks missing hashes. (Cherry-pick of #16112) (#16113)
Browse files Browse the repository at this point in the history
This was due to this change on PyPI:
  https://discuss.python.org/t/backwards-incompatible-change-to-pypi-json-api/17154

Which was fixed in Poetry yesterday here:
  python-poetry/poetry#5973

Unfortunately, the full fix requires blowing away the non-Pants
controlled Poetry cache at `~/.cache/pypoetry` on Linux and
`~/Library/Caches/pypoetry` on Mac.

Fixes #16111

(cherry picked from commit b97936e)
  • Loading branch information
jsirois authored Jul 10, 2022
1 parent 886be25 commit de20111
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/python/pants/backend/python/subsystems/poetry.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class PoetrySubsystem(PythonToolRequirementsBase):
options_scope = "poetry"
help = "Used to generate lockfiles for third-party Python dependencies."

default_version = "poetry==1.1.8"
default_version = "poetry==1.1.14"

register_interpreter_constraints = True
default_interpreter_constraints = ["CPython>=3.7,<4"]
Expand Down

0 comments on commit de20111

Please sign in to comment.