Skip to content

Commit 0308e6b

Browse files
committed
Merge branch 'develop' into madlittlemods/19087-logcontext-lost-timeout-deferred-call-later
2 parents 3100b63 + 3495991 commit 0308e6b

73 files changed

Lines changed: 1376 additions & 848 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.ci/scripts/calculate_jobs.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ def set_output(key: str, value: str):
3636
# First calculate the various trial jobs.
3737
#
3838
# For PRs, we only run each type of test with the oldest Python version supported (which
39-
# is Python 3.9 right now)
39+
# is Python 3.10 right now)
4040

4141
trial_sqlite_tests = [
4242
{
43-
"python-version": "3.9",
43+
"python-version": "3.10",
4444
"database": "sqlite",
4545
"extras": "all",
4646
}
@@ -53,12 +53,12 @@ def set_output(key: str, value: str):
5353
"database": "sqlite",
5454
"extras": "all",
5555
}
56-
for version in ("3.10", "3.11", "3.12", "3.13")
56+
for version in ("3.11", "3.12", "3.13")
5757
)
5858

5959
trial_postgres_tests = [
6060
{
61-
"python-version": "3.9",
61+
"python-version": "3.10",
6262
"database": "postgres",
6363
"postgres-version": "13",
6464
"extras": "all",
@@ -77,7 +77,7 @@ def set_output(key: str, value: str):
7777

7878
trial_no_extra_tests = [
7979
{
80-
"python-version": "3.9",
80+
"python-version": "3.10",
8181
"database": "sqlite",
8282
"extras": "",
8383
}
@@ -99,24 +99,24 @@ def set_output(key: str, value: str):
9999

100100
# First calculate the various sytest jobs.
101101
#
102-
# For each type of test we only run on bullseye on PRs
102+
# For each type of test we only run on bookworm on PRs
103103

104104

105105
sytest_tests = [
106106
{
107-
"sytest-tag": "bullseye",
107+
"sytest-tag": "bookworm",
108108
},
109109
{
110-
"sytest-tag": "bullseye",
110+
"sytest-tag": "bookworm",
111111
"postgres": "postgres",
112112
},
113113
{
114-
"sytest-tag": "bullseye",
114+
"sytest-tag": "bookworm",
115115
"postgres": "multi-postgres",
116116
"workers": "workers",
117117
},
118118
{
119-
"sytest-tag": "bullseye",
119+
"sytest-tag": "bookworm",
120120
"postgres": "multi-postgres",
121121
"workers": "workers",
122122
"reactor": "asyncio",
@@ -127,11 +127,11 @@ def set_output(key: str, value: str):
127127
sytest_tests.extend(
128128
[
129129
{
130-
"sytest-tag": "bullseye",
130+
"sytest-tag": "bookworm",
131131
"reactor": "asyncio",
132132
},
133133
{
134-
"sytest-tag": "bullseye",
134+
"sytest-tag": "bookworm",
135135
"postgres": "postgres",
136136
"reactor": "asyncio",
137137
},

.github/workflows/docker.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
touch "${{ runner.temp }}/digests/${digest#sha256:}"
7676
7777
- name: Upload digest
78-
uses: actions/upload-artifact@v4
78+
uses: actions/upload-artifact@v5
7979
with:
8080
name: digests-${{ matrix.suffix }}
8181
path: ${{ runner.temp }}/digests/*
@@ -95,7 +95,7 @@ jobs:
9595
- build
9696
steps:
9797
- name: Download digests
98-
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
98+
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
9999
with:
100100
path: ${{ runner.temp }}/digests
101101
pattern: digests-*
@@ -120,7 +120,7 @@ jobs:
120120
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
121121

122122
- name: Install Cosign
123-
uses: sigstore/cosign-installer@d7543c93d881b35a8faa02e8e3605f69b7a1ce62 # v3.10.0
123+
uses: sigstore/cosign-installer@faadad0cce49287aee09b3a48701e75088a2c6ad # v4.0.0
124124

125125
- name: Calculate docker image tag
126126
uses: docker/metadata-action@c1e51972afc2121e065aed6d45c65596fe445f3f # v5.8.0

.github/workflows/docs-pr.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
cp book/welcome_and_overview.html book/index.html
4040
4141
- name: Upload Artifact
42-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
42+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
4343
with:
4444
name: book
4545
path: book

.github/workflows/fix_lint.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,6 @@ jobs:
4747
- run: cargo fmt
4848
continue-on-error: true
4949

50-
- uses: stefanzweifel/git-auto-commit-action@778341af668090896ca464160c2def5d1d1a3eb0 # v6.0.1
50+
- uses: stefanzweifel/git-auto-commit-action@28e16e81777b558cc906c8750092100bbb34c5e3 # v7.0.0
5151
with:
5252
commit_message: "Attempt to fix linting"

.github/workflows/latest_deps.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,9 +139,9 @@ jobs:
139139
fail-fast: false
140140
matrix:
141141
include:
142-
- sytest-tag: bullseye
142+
- sytest-tag: bookworm
143143

144-
- sytest-tag: bullseye
144+
- sytest-tag: bookworm
145145
postgres: postgres
146146
workers: workers
147147
redis: redis
@@ -173,7 +173,7 @@ jobs:
173173
if: ${{ always() }}
174174
run: /sytest/scripts/tap_to_gha.pl /logs/results.tap
175175
- name: Upload SyTest logs
176-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
176+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
177177
if: ${{ always() }}
178178
with:
179179
name: Sytest Logs - ${{ job.status }} - (${{ join(matrix.*, ', ') }})

.github/workflows/release-artifacts.yml

Lines changed: 11 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ jobs:
101101
echo "ARTIFACT_NAME=${DISTRO#*:}" >> "$GITHUB_OUTPUT"
102102
103103
- name: Upload debs as artifacts
104-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
104+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
105105
with:
106106
name: debs-${{ steps.artifact-name.outputs.ARTIFACT_NAME }}
107107
path: debs/*
@@ -145,7 +145,7 @@ jobs:
145145

146146
- name: Only build a single wheel on PR
147147
if: startsWith(github.ref, 'refs/pull/')
148-
run: echo "CIBW_BUILD="cp39-manylinux_*"" >> $GITHUB_ENV
148+
run: echo "CIBW_BUILD="cp310-manylinux_*"" >> $GITHUB_ENV
149149

150150
- name: Build wheels
151151
run: python -m cibuildwheel --output-dir wheelhouse
@@ -154,7 +154,7 @@ jobs:
154154
# for, and so need extra build deps.
155155
CIBW_TEST_SKIP: pp3*-* *i686* *musl*
156156

157-
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
157+
- uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
158158
with:
159159
name: Wheel-${{ matrix.os }}
160160
path: ./wheelhouse/*.whl
@@ -175,7 +175,7 @@ jobs:
175175
- name: Build sdist
176176
run: python -m build --sdist
177177

178-
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
178+
- uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
179179
with:
180180
name: Sdist
181181
path: dist/*.tar.gz
@@ -191,7 +191,7 @@ jobs:
191191
runs-on: ubuntu-latest
192192
steps:
193193
- name: Download all workflow run artifacts
194-
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
194+
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
195195
- name: Build a tarball for the debs
196196
# We need to merge all the debs uploads into one folder, then compress
197197
# that.
@@ -200,16 +200,11 @@ jobs:
200200
mv debs*/* debs/
201201
tar -cvJf debs.tar.xz debs
202202
- name: Attach to release
203-
# Pinned to work around https://github.com/softprops/action-gh-release/issues/445
204-
uses: softprops/action-gh-release@c95fe1489396fe8a9eb87c0abf8aa5b2ef267fda # v0.1.15
205203
env:
206204
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
207-
with:
208-
files: |
209-
Sdist/*
210-
Wheel*/*
211-
debs.tar.xz
212-
# if it's not already published, keep the release as a draft.
213-
draft: true
214-
# mark it as a prerelease if the tag contains 'rc'.
215-
prerelease: ${{ contains(github.ref, 'rc') }}
205+
run: |
206+
gh release upload "${{ github.ref_name }}" \
207+
Sdist/* \
208+
Wheel*/* \
209+
debs.tar.xz \
210+
--repo ${{ github.repository }}

.github/workflows/tests.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ jobs:
470470
471471
- uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
472472
with:
473-
python-version: '3.9'
473+
python-version: '3.10'
474474

475475
- name: Prepare old deps
476476
if: steps.cache-poetry-old-deps.outputs.cache-hit != 'true'
@@ -514,7 +514,7 @@ jobs:
514514
runs-on: ubuntu-latest
515515
strategy:
516516
matrix:
517-
python-version: ["pypy-3.9"]
517+
python-version: ["pypy-3.10"]
518518
extras: ["all"]
519519

520520
steps:
@@ -585,7 +585,7 @@ jobs:
585585
if: ${{ always() }}
586586
run: /sytest/scripts/tap_to_gha.pl /logs/results.tap
587587
- name: Upload SyTest logs
588-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
588+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
589589
if: ${{ always() }}
590590
with:
591591
name: Sytest Logs - ${{ job.status }} - (${{ join(matrix.job.*, ', ') }})
@@ -638,7 +638,7 @@ jobs:
638638
strategy:
639639
matrix:
640640
include:
641-
- python-version: "3.9"
641+
- python-version: "3.10"
642642
postgres-version: "13"
643643

644644
- python-version: "3.13"
@@ -683,7 +683,7 @@ jobs:
683683
PGPASSWORD: postgres
684684
PGDATABASE: postgres
685685
- name: "Upload schema differences"
686-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
686+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
687687
if: ${{ failure() && !cancelled() && steps.run_tester_script.outcome == 'failure' }}
688688
with:
689689
name: Schema dumps

.github/workflows/twisted_trunk.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,11 +108,11 @@ jobs:
108108
if: needs.check_repo.outputs.should_run_workflow == 'true'
109109
runs-on: ubuntu-latest
110110
container:
111-
# We're using debian:bullseye because it uses Python 3.9 which is our minimum supported Python version.
111+
# We're using bookworm because that's what Debian oldstable is at the time of writing.
112112
# This job is a canary to warn us about unreleased twisted changes that would cause problems for us if
113113
# they were to be released immediately. For simplicity's sake (and to save CI runners) we use the oldest
114114
# version, assuming that any incompatibilities on newer versions would also be present on the oldest.
115-
image: matrixdotorg/sytest-synapse:bullseye
115+
image: matrixdotorg/sytest-synapse:bookworm
116116
volumes:
117117
- ${{ github.workspace }}:/src
118118

@@ -147,7 +147,7 @@ jobs:
147147
if: ${{ always() }}
148148
run: /sytest/scripts/tap_to_gha.pl /logs/results.tap
149149
- name: Upload SyTest logs
150-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
150+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
151151
if: ${{ always() }}
152152
with:
153153
name: Sytest Logs - ${{ job.status }} - (${{ join(matrix.*, ', ') }})

CHANGES.md

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Synapse 1.141.0rc1 (2025-10-21)
1+
# Synapse 1.141.0 (2025-10-29)
22

33
## Deprecation of MacOS Python wheels
44

@@ -12,6 +12,29 @@ do make use of these wheels downstream, please reach out to us in
1212
[#synapse-dev:matrix.org](https://matrix.to/#/#synapse-dev:matrix.org). We'd
1313
love to hear from you!
1414

15+
16+
## Docker images now based on Debian `trixie` with Python 3.13
17+
18+
The Docker images are now based on Debian `trixie` and use Python 3.13. If you
19+
are using the Docker images as a base image you may need to e.g. adjust the
20+
paths you mount any additional Python packages at.
21+
22+
No significant changes since 1.141.0rc2.
23+
24+
25+
26+
27+
# Synapse 1.141.0rc2 (2025-10-28)
28+
29+
## Bugfixes
30+
31+
- Fix users being unable to log in if their password, or the server's configured pepper, was too long. ([\#19101](https://github.com/element-hq/synapse/issues/19101))
32+
33+
34+
35+
36+
# Synapse 1.141.0rc1 (2025-10-21)
37+
1538
## Features
1639

1740
- Allow using [MSC4190](https://github.com/matrix-org/matrix-spec-proposals/pull/4190) behavior without the opt-in registration flag. Contributed by @tulir @ Beeper. ([\#19031](https://github.com/element-hq/synapse/issues/19031))

0 commit comments

Comments
 (0)