Skip to content

Commit

Permalink
Fix poetry locks missing hashes. (Cherry-pick of pantsbuild#16112)
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 pantsbuild#16111

(cherry picked from commit b97936e)

[ci skip-rust]
[ci skip-build-wheels]
  • Loading branch information
jsirois committed Jul 10, 2022
1 parent eebba0b commit dde58d9
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 dde58d9

Please sign in to comment.