summary refs log tree commit diff
path: root/develop/development
diff options
context:
space:
mode:
authorerikjohnston <erikjohnston@users.noreply.github.com>2022-09-02 13:20:44 +0000
committererikjohnston <erikjohnston@users.noreply.github.com>2022-09-02 13:20:44 +0000
commitef44a14448bea592d752778aacc1f07c783c3c93 (patch)
tree4dc5302b23223e4d7d5189139548b2665e859d56 /develop/development
parentdeploy: 044900af6cc441d700d171098812786b4b312f59 (diff)
downloadsynapse-ef44a14448bea592d752778aacc1f07c783c3c93.tar.xz
deploy: 4fee4a339d3bb1a90487a86ccbcca50a36b0ea74
Diffstat (limited to 'develop/development')
-rw-r--r--develop/development/contributing_guide.html1
-rw-r--r--develop/development/dependencies.html6
2 files changed, 2 insertions, 5 deletions
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 </code></pre> <p>but see poetry's <a href="https://python-poetry.org/docs/#installation">installation instructions</a> for other installation methods.</p> +<p>Synapse requires Poetry version 1.2.0 or later.</p> <p>Next, open a terminal and install dependencies as follows:</p> <pre><code class="language-sh">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 <code>poetry build</code> too.</p> <h1 id="troubleshooting"><a class="header" href="#troubleshooting">Troubleshooting</a></h1> <h2 id="check-the-version-of-poetry-with-poetry---version"><a class="header" href="#check-the-version-of-poetry-with-poetry---version">Check the version of poetry with <code>poetry --version</code>.</a></h2> -<p>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 -<a href="https://github.com/python-poetry/poetry/pull/5973">change</a> needed to remain -<a href="https://github.com/pypi/warehouse/pull/11775">compatible with PyPI</a>.</p> +<p>The minimum version of poetry supported by Synapse is 1.2.</p> <p>It can also be useful to check the version of <code>poetry-core</code> in use. If you've installed <code>poetry</code> with <code>pipx</code>, try <code>pipx runpip poetry list | grep poetry-core</code>.</p> <h2 id="clear-caches-poetry-cache-clear---all-pypi"><a class="header" href="#clear-caches-poetry-cache-clear---all-pypi">Clear caches: <code>poetry cache clear --all pypi</code>.</a></h2>