summary refs log tree commit diff
path: root/latest/development
diff options
context:
space:
mode:
Diffstat (limited to 'latest/development')
-rw-r--r--latest/development/contributing_guide.html1
-rw-r--r--latest/development/dependencies.html13
2 files changed, 14 insertions, 0 deletions
diff --git a/latest/development/contributing_guide.html b/latest/development/contributing_guide.html

index db99c37188..0129e77777 100644 --- a/latest/development/contributing_guide.html +++ b/latest/development/contributing_guide.html
@@ -366,6 +366,7 @@ A safe example would be <code>WORKER_TYPES=&quot;federation_inbound, federation_ See the <a href="../workers.html">worker documentation</a> for additional information on workers.</li> </ul> </li> +<li>Passing <code>ASYNCIO_REACTOR=1</code> as an environment variable to use the Twisted asyncio reactor instead of the default one.</li> </ul> <p>To increase the log level for the tests, set <code>SYNAPSE_TEST_LOG_LEVEL</code>, e.g:</p> <pre><code class="language-sh">SYNAPSE_TEST_LOG_LEVEL=DEBUG COMPLEMENT_DIR=../complement ./scripts-dev/complement.sh -run TestImportHistoricalMessages diff --git a/latest/development/dependencies.html b/latest/development/dependencies.html
index 6a3e9f40c7..0064454883 100644 --- a/latest/development/dependencies.html +++ b/latest/development/dependencies.html
@@ -333,6 +333,19 @@ poetry lock --no-update <p>because <a href="https://github.com/pypa/build"><code>build</code></a> is a standardish tool which doesn't require poetry. (It's what we use in CI too). However, you could try <code>poetry build</code> too.</p> +<h2 id="handle-a-dependabot-pull-request"><a class="header" href="#handle-a-dependabot-pull-request">...handle a Dependabot pull request?</a></h2> +<p>Synapse uses Dependabot to keep the <code>poetry.lock</code> file up-to-date. When it +creates a pull request a GitHub Action will run to automatically create a changelog +file. Ensure that:</p> +<ul> +<li>the lockfile changes look reasonable;</li> +<li>the upstream changelog file (linked in the description) doesn't include any +breaking changes;</li> +<li>continuous integration passes (due to permissions, the GitHub Actions run on +the changelog commit will fail, look at the initial commit of the pull request);</li> +</ul> +<p>In particular, any updates to the type hints (usually packages which start with <code>types-</code>) +should be safe to merge if linting passes.</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>The minimum version of poetry supported by Synapse is 1.3.2.</p>