From ef44a14448bea592d752778aacc1f07c783c3c93 Mon Sep 17 00:00:00 2001 From: erikjohnston Date: Fri, 2 Sep 2022 13:20:44 +0000 Subject: deploy: 4fee4a339d3bb1a90487a86ccbcca50a36b0ea74 --- develop/development/contributing_guide.html | 1 + develop/development/dependencies.html | 6 +----- 2 files changed, 2 insertions(+), 5 deletions(-) (limited to 'develop/development') diff --git a/develop/development/contributing_guide.html b/develop/development/contributing_guide.html index fc9a412756..c6e4c274a4 100644 --- a/develop/development/contributing_guide.html +++ b/develop/development/contributing_guide.html @@ -187,6 +187,7 @@ pipx install poetry

but see poetry's installation instructions for other installation methods.

+

Synapse requires Poetry version 1.2.0 or later.

Next, open a terminal and install dependencies as follows:

cd path/where/you/have/cloned/the/repository
 poetry install --extras all
diff --git a/develop/development/dependencies.html b/develop/development/dependencies.html
index 7940e1b5be..75cda34011 100644
--- a/develop/development/dependencies.html
+++ b/develop/development/dependencies.html
@@ -323,11 +323,7 @@ doesn't require poetry. (It's what we use in CI too). However, you could try
 poetry build too.

Troubleshooting

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 needed to remain -compatible with PyPI.

+

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.

Clear caches: poetry cache clear --all pypi.

-- cgit 1.5.1