mirror of
https://github.com/element-hq/synapse.git
synced 2026-08-28 00:44:35 +00:00
deploy: 4fee4a339d
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user