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

Update lock file for Poetry v1.2.0 #13689

Merged
merged 8 commits into from
Sep 2, 2022
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 a poetry with a minimum version of 1.2.0.
erikjohnston marked this conversation as resolved.
Show resolved Hide resolved

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