Andrew Ferrazzutti
e0838c2567
Drop Python 3.9, bump tests/builds to Python 3.10 ( #19099 )
...
Python 3.9 EOL is on 2025-10-31
2025-10-29 12:15:00 -05:00
Andrew Ferrazzutti
9d81bb703c
Always treat RETURNING as supported by SQL engines ( #19047 )
...
Can do this now that SQLite 3.35.0 added support for `RETURNING`.
> The RETURNING syntax has been supported by SQLite since version 3.35.0
(2021-03-12).
>
> *-- https://sqlite.org/lang_returning.html *
This also bumps the minimum supported SQLite version according to
Synapse's [deprecation
policy](https://element-hq.github.io/synapse/latest/deprecation_policy.html#platform-dependencies ).
Fix https://github.com/element-hq/synapse/issues/17577
2025-10-24 13:21:49 -05:00
Andrew Morgan
7708801d56
Fix triage_labelled GHA workflow ( #18913 )
2025-09-24 14:17:14 +01:00
reivilibre
c0878ac9e6
Fix portdb CI by hardcoding the new pg_dump restrict key that was added due to CVE-2025-8714. ( #18824 )
...
Links:
- https://www.postgresql.org/support/security/CVE-2025-8714/
-
71ea0d6795
---------
Signed-off-by: Olivier 'reivilibre <oliverw@matrix.org >
2025-08-15 13:32:05 +01:00
reivilibre
33bcef9dc7
Update Poetry to 2.1.1, including updating the lock file version. ( #18251 )
2025-03-21 15:32:52 +00:00
reivilibre
69aceef8f6
Actually fix CI build wheels. ( #18213 )
...
Follows: #18212
---------
Signed-off-by: Olivier 'reivilibre <oliverw@matrix.org >
2025-03-05 14:20:17 +00:00
reivilibre
b7946c29be
Fix wheel building configuration in CI by installing libatomic1. ( #18212 )
...
Signed-off-by: Olivier 'reivilibre <oliverw@matrix.org >
2025-03-04 17:37:28 +00:00
Patrick Cloke
2d23250da7
Remove support for PostgreSQL 11 and 12 ( #18034 )
...
This is essentially matrix-org/synapse#14392. I didn't see anything in
there about updating sytest or complement.
The main driver of this is so that I can use `jsonb_path_exists` in
#17488 . 😄
2024-12-19 17:02:47 +00:00
Devon Hudson
eda735e4bb
Remove support for python 3.8 ( #17908 )
...
### Pull Request Checklist
<!-- Please read
https://element-hq.github.io/synapse/latest/development/contributing_guide.html
before submitting your pull request -->
* [X] Pull request is based on the develop branch
* [X] Pull request includes a [changelog
file](https://element-hq.github.io/synapse/latest/development/contributing_guide.html#changelog ).
The entry should:
- Be a short description of your change which makes sense to users.
"Fixed a bug that prevented receiving messages from other servers."
instead of "Moved X method from `EventStore` to `EventWorkerStore`.".
- Use markdown where necessary, mostly for `code blocks`.
- End with either a period (.) or an exclamation mark (!).
- Start with a capital letter.
- Feel free to credit yourself, by adding a sentence "Contributed by
@github_username." or "Contributed by [Your Name]." to the end of the
entry.
* [X] [Code
style](https://element-hq.github.io/synapse/latest/code_style.html ) is
correct
(run the
[linters](https://element-hq.github.io/synapse/latest/development/contributing_guide.html#run-the-linters ))
---------
Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com >
2024-11-06 19:36:01 +00:00
Quentin Gliech
80ad02e10e
Ensure Python 3.13 and PostgreSQL 17 compatibility ( #17752 )
...
This adds Python 3.13.0 to the trial test matrix
Also updates `cffi` and `zope.interface` in the locked dependencies to
make sure we have versions compatible with Python 3.13. For some
reasons, they are not being picked up by dependabot.
2024-10-22 09:23:36 +00:00
Erik Johnston
0455c40085
Update book location
2023-12-13 16:15:22 +00:00
Patrick Cloke
8e1e62c9e0
Update license headers
2023-11-21 15:29:58 -05:00
Patrick Cloke
68d9559fef
Test against Python 3.12 release ( #16511 )
2023-10-17 14:41:10 -04:00
Patrick Cloke
118036eeab
Test against PostgreSQL 16. ( #16351 )
2023-09-18 13:21:00 -04:00
V02460
a0ed55ef12
Upgrade CI run of Python 3.12 from rc1 to rc2 ( #16280 )
2023-09-08 12:55:43 -04:00
V02460
84f441f88f
Prepare unit tests for Python 3.12 ( #16099 )
2023-08-25 15:05:10 -04:00
Shay
8a529e4fb6
Stop running sytest on buster/python3.7 ( #15892 )
2023-07-07 12:04:55 -07:00
Eric Eastwood
561d06b481
Remove support for Python 3.7 ( #15851 )
...
Fix https://github.com/matrix-org/synapse/issues/15836
2023-07-05 18:45:42 -05:00
David Robertson
c96a1d2a27
Relax poetry-core lower bound to 1.1.0 ( #15571 )
...
See https://github.com/matrix-org/synapse/pull/15566#issuecomment-1543844104
Also check you can `pip install` in the old-deps CI job
2023-05-12 11:21:11 +01:00
David Robertson
ec6430bad8
Use setup-go instead of relying on go 1.17 to exist ( #15403 )
...
* Use setup-go instead of relying on 1.17 to exist
See https://github.com/actions/runner-images/issues/7276
* Changelog
2023-04-06 15:23:36 +01:00
reivilibre
d5324ee111
Add developer documentation for the Federation Sender and add a documentation mechanism using Sphinx. ( #15265 )
...
Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com >
2023-03-24 16:41:10 +00:00
Quentin Gliech
7ec1f096d3
Add Sytest jobs with the asyncio reactor enabled ( #14101 )
2023-03-02 11:14:44 +00:00
David Robertson
0c29f5fbb4
Hacky fix to make mac wheels ( #15019 )
...
* Skip testing PyPy wheels
One of the test builds on #15015 failed to install a pp38-* wheel
because it didn't have access to the openssl headers to build
`cryptography` from source. We don't run CI against PyPy so I'm going to
be a meanie and skip testing the wheels. (And I've no idea why 3.8 was
special in the first place, either.)
* Hack the name of the wheel so cibw can test it
I hate hate hate hate hate hate hate hate hate this
* Changelog
* Apply suggestions from code review
Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com >
---------
Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com >
2023-02-07 23:55:22 +00:00
Dirk Klimpel
bf82b56bab
Add more user information to export-data command. ( #14894 )
...
* The user's profile information.
* The user's devices.
* The user's connections / IP address information.
2023-02-01 15:45:19 +00:00
David Robertson
b88cfe6d41
Require poetry>=1.3.2 ( #14860 )
...
* Upgrade to new lockfile format
Now requires poetry >= 1.2.2 to read and poetry >= 1.3.0 to write.
Cheat sheet:
```
poetry --version
poetry show > scratch/before
pipx upgrade poetry
poetry --version
poetry show > scratch/after
diff scratch{before,after} && echo "no change!"
```
* Use Poetry 1.3.2 when reading or writing lockfile
* Remove unneeded(?) poetry dep for cibuildwheel
* Update docs
* Remove redundant call to setup-python
* Remove outdated comments related to Poetry 1.x
* Remove outdated docs line
was fixed in #13082
* Minor improvements to poetry cheat sheet
* Invoke setup-python-poetry with explicit version
Not sure about this. It's hardcoding versions everywhere.
* Changelog
* Check the lockfile is version 2.0
Might one day incorporate other checks like #14742
* Typo fixes, thanks Sean
Co-authored-by: Sean Quah <8349537+squahtx@users.noreply.github.com >
Co-authored-by: Sean Quah <8349537+squahtx@users.noreply.github.com >
2023-01-17 18:04:44 +00:00
realtyem
05eb55f57d
Handle 'go get' deprecation ( #14611 )
...
* Switch out 'go get' for 'go install'.
* Changelog
2022-12-05 10:29:55 +00:00
Sean Quah
22d46db0ea
Test against PostgreSQL 15 in CI ( #14394 )
...
Resolves #14170 .
Signed-off-by: Sean Quah <seanq@matrix.org >
2022-11-09 10:32:52 +00:00
Sean Quah
a5fcdea090
Remove support for PostgreSQL 10 ( #14392 )
...
Signed-off-by: Sean Quah <seanq@matrix.org >
2022-11-08 17:17:13 +00:00
David Robertson
efdcb24328
Revert a testing commit from #13812
...
It (4f5d492cd6a9438de03d1b768f4c220cb662ac06) should have been reverted before the merge to develop.
2022-11-01 13:12:22 +00:00
David Robertson
5905ba12d0
Run trial tests against Python 3.11 ( #13812 )
2022-11-01 13:07:54 +00:00
David Robertson
1e73effebf
Fix typo in cibuildwheel conf introduced in #14253
2022-10-24 13:56:18 +01:00
Erik Johnston
5f77b74215
Try building ABI3 wheels for cpython ( #14253 )
2022-10-21 14:17:19 +00:00
David Robertson
a8677bc9b8
Deal with some GHA deprecation warnings ( #14216 )
2022-10-18 13:45:34 +01:00
David Robertson
6a92944854
Handle gottestfmt repository move ( #14144 )
2022-10-11 17:54:06 +00:00
David Robertson
642c4b253d
Compare ported to unported PG schemas in portdb test job ( #13808 )
2022-09-16 16:25:54 +01:00
Erik Johnston
b5effc7201
Update trial old deps CI to use poetry 1.2.0 ( #13707 )
2022-09-06 11:43:04 +00:00
Erik Johnston
8edf3f66d5
Reduce number of CI jobs run on PRs ( #13713 )
...
* Reduce number of CI jobs run on PRs
* Newsfile
* Also limit sytest jobs
* Fix typo
* Fix up
* Fixup
2022-09-05 13:31:42 +01:00
Richard van der Hoff
4f6de33f41
Print complement failure results last ( #13639 )
...
Since github always scrolls to the bottom of any test output, let's put the
failed tests last and hide any successful packages.
2022-08-28 20:05:30 +00:00
David Robertson
e9ce4d089b
Use and recommend poetry 1.1.14, up from 1.1.12 ( #13285 )
2022-07-15 16:18:47 +01:00
reivilibre
68695d8007
Factor out some common Complement CI setup commands to a script. ( #13157 )
2022-07-05 14:24:42 +01:00
David Robertson
f33356e8f8
Use caret (semver bounds) for matrix.org packages ( #13082 )
2022-06-17 19:07:04 +01:00
reivilibre
e12ff697a4
Sort failing jobs in Complement CI to the top of the logs to make them easier to read. ( #13057 )
2022-06-15 16:13:36 +00:00
reivilibre
bf01e51554
Test Synapse against Complement with workers. ( #12810 )
...
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com >
2022-05-31 13:02:00 +00:00
David Robertson
eed38c5027
Add CI job to act as a canary for testing against latest dependencies ( #12472 )
...
Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com >
2022-04-20 12:48:44 +01:00
David Robertson
d24cd17820
Use poetry lockfile in twisted trunk CI job ( #12425 )
...
Fixes #12458
Co-authored-by: Sean Quah <seanq@element.io >
Co-authored-by: Dan Callahan <danc@element.io >
2022-04-13 11:26:53 +01:00
David Robertson
4e13743738
Poetry: select olddeps using poetry ( #12407 )
...
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com >
2022-04-12 10:50:11 +00:00
David Robertson
98ec375b26
CI: Fix the export-data job to run under poetry ( #12418 )
...
Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com >
2022-04-08 19:18:54 +00:00
David Robertson
7851a2c62f
CI: Get the portdb job to run under poetry ( #12412 )
2022-04-08 12:00:05 +01:00
David Robertson
f3f0ab10fe
Move scripts directory inside synapse, exposing as setuptools entry_points ( #12118 )
...
* Two scripts are basically entry_points already
* Move and rename scripts/* to synapse/_scripts/*.py
* Delete sync_room_to_group.pl
* Expose entry points in setup.py
* Update linter script and config
* Fixup scripts & docs mentioning scripts that moved
Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com >
2022-03-02 13:00:16 +00:00
Richard van der Hoff
6127c4b9f1
Configure tox to use venv ( #12015 )
...
As the comment says, virtualenv is a pile of fail.
2022-02-17 15:55:14 +00:00