[1.1] fix(repositories): use urls for versioned JSON API instead of releases#5973
[1.1] fix(repositories): use urls for versioned JSON API instead of releases#5973finswimmer merged 4 commits intopython-poetry:1.1from mkniewallner:fix/fix-releases-key-pypi-repository-1.1
urls for versioned JSON API instead of releases#5973Conversation
urls for versioned JSON API instead of releases
finswimmer
left a comment
There was a problem hiding this comment.
Perfect 👍
If you could prepare a Release PR I can kick it out. (You can get some inspiration from the last release) 🙏
|
Thanks for addressing this so quickly! After upgrading to 1.1.14, the issue still occurred on my Mac mini (M1) with CPython 3.9.13. I had to clear the poetry cache manually to get everything working again: Maybe someone else will find themselves in the same situation. |
Indeed, we should have mentioned that more clearly, the release was kinda made in a rush to fix the issue ASAP. |
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. [ci skip-rust] [ci skip-build-wheels]
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 [ci skip-rust] [ci skip-build-wheels]
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 [ci skip-rust] [ci skip-build-wheels]
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]
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]
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]
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]
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)
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)
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)
[1.1.14](https://github.com/python-poetry/poetry/releases/tag/1.1.14) includes a critical bugfix needed to generate lockfiles when using PyPI as the source of packages. (python-poetry/poetry#5973, to accomodate pypi/warehouse#11775) [1.1.13](https://github.com/python-poetry/poetry/releases/tag/1.1.13) includes bugfixes that shouldn't be relevant for us (`poetry self update` and Windows fixes only). We shouldn't need to use 1.1.14 in the Docker image as we never `lock` nor `update`, but I have included it for consistency. I've also added a quick troubleshooting guide to the dev docs.
|
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Pull Request Check List
Updated documentation for changed code.Not applicableBackport of #5972 to
1.1branch.This also includes 278736c which is required to fix
blackhook.