Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Update lock file for Poetry v1.2.0 (#13689)
Browse files Browse the repository at this point in the history
  • Loading branch information
erikjohnston authored Sep 2, 2022
1 parent 0fdb685 commit 4fee4a3
Show file tree
Hide file tree
Showing 5 changed files with 99 additions and 66 deletions.
1 change: 1 addition & 0 deletions changelog.d/13689.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Update poetry lock file for v1.2.0.
2 changes: 2 additions & 0 deletions docs/development/contributing_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ pipx install poetry
but see poetry's [installation instructions](https://python-poetry.org/docs/#installation)
for other installation methods.

Synapse requires Poetry version 1.2.0 or later.

Next, open a terminal and install dependencies as follows:

```sh
Expand Down
9 changes: 3 additions & 6 deletions docs/development/dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -243,14 +243,11 @@ doesn't require poetry. (It's what we use in CI too). However, you could try

## Check the version of poetry with `poetry --version`.

At the time of writing, the 1.2 series is beta only. We have seen some examples
where the lockfiles generated by 1.2 prereleasese aren't interpreted correctly
by poetry 1.1.x. For now, use poetry 1.1.14, which includes a critical
[change](https://github.com/python-poetry/poetry/pull/5973) needed to remain
[compatible with PyPI](https://github.com/pypi/warehouse/pull/11775).
The minimum version of poetry supported by Synapse is 1.2.

It can also be useful to check the version of `poetry-core` in use. If you've
installed `poetry` with `pipx`, try `pipx runpip poetry list | grep poetry-core`.
installed `poetry` with `pipx`, try `pipx runpip poetry list | grep
poetry-core`.

## Clear caches: `poetry cache clear --all pypi`.

Expand Down
7 changes: 7 additions & 0 deletions docs/upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,13 @@ process, for example:
dpkg -i matrix-synapse-py3_1.3.0+stretch1_amd64.deb
```
# Upgrading to v1.67.0
## Minimum version of Poetry is now v1.2.0
The minimum supported version of poetry is now 1.2. This should only affect
those installing from a source checkout.
# Upgrading to v1.66.0
## Delegation of email validation no longer supported
Expand Down
Loading

0 comments on commit 4fee4a3

Please sign in to comment.