diff options
author | Erik Johnston <erik@matrix.org> | 2022-09-02 15:20:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-02 13:20:03 +0000 |
commit | 4fee4a339d3bb1a90487a86ccbcca50a36b0ea74 (patch) | |
tree | 45ed05cbab8df78f2400d5912e73b3bc93454141 /docs | |
parent | Only run trial CI on all python versions on non-PRs (#13698) (diff) | |
download | synapse-4fee4a339d3bb1a90487a86ccbcca50a36b0ea74.tar.xz |
Update lock file for Poetry v1.2.0 (#13689)
Diffstat (limited to 'docs')
-rw-r--r-- | docs/development/contributing_guide.md | 2 | ||||
-rw-r--r-- | docs/development/dependencies.md | 9 | ||||
-rw-r--r-- | docs/upgrade.md | 7 |
3 files changed, 12 insertions, 6 deletions
diff --git a/docs/development/contributing_guide.md b/docs/development/contributing_guide.md index ab320cbd78..4e1df51164 100644 --- a/docs/development/contributing_guide.md +++ b/docs/development/contributing_guide.md @@ -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 diff --git a/docs/development/dependencies.md b/docs/development/dependencies.md index 236856a6b0..b356870f27 100644 --- a/docs/development/dependencies.md +++ b/docs/development/dependencies.md @@ -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`. diff --git a/docs/upgrade.md b/docs/upgrade.md index 51719f8c73..422a3da664 100644 --- a/docs/upgrade.md +++ b/docs/upgrade.md @@ -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 |