synapse/changelog.d
David Robertson 5f8173dd80
Workaround pip bug installing latest treq and not-latest twisted from hashes (#12439)
The requirements file generated by `poetry export` isn't correctly processed by `pip install -r requirements.txt`. It contains twisted and treq, both pinned to 22.2.0.

When `pip` installs treq, it notices that `Twisted[tls]` is required. It then tries to acquire the latest twisted release, only to fail (because this hash isn't listed in the requirements file).From e.g. https://github.com/matrix-org/synapse/runs/5977154990?check_suite_focus=true

> ```
> #15 9.204 Collecting Twisted[tls]>=18.7.0
> #15 9.205 ERROR: In --require-hashes mode, all requirements must have their versions pinned with ==. These do not:
> #15 9.205     Twisted[tls]>=18.7.0 from 38622ff95be907db1987c4d92edd09/Twisted-22.4.0-py3-none-any.whl#sha256=f9f7a91f94932477a9fc3b169d57f54f96c6e74a23d78d9ce54039a7f48928a2 (from treq==22.2.0->-r /synapse/requirements.txt (line 724))
> #15 ERROR: executor failed running [/bin/sh -c pip install --prefix="/install" --no-warn-script-location -r /synapse/requirements.txt]: exit code: 1
> ```

The underlying pip issue is https://github.com/pypa/pip/issues/9644. A comment notes that one can avoid this behaviour with by `pip install`ing with the `--no-deps` flag. Let us do so.

(At first glance, the problem looks like https://github.com/python-poetry/poetry/issues/5311, but that was a bug in `poetry install`; this is `poetry export`, whose behaviour is fine AFAICS).
2022-04-12 10:16:01 +01:00
..
.gitignore Correct attrs package name in requirements (#3492) 2018-07-07 10:46:59 +10:00
11881.feature Send device list updates to application services (MSC3202) - part 1 (#11881) 2022-03-30 14:39:27 +01:00
12040.feature Optimise `_get_state_after_missing_prev_event`: use `/state` (#12040) 2022-04-01 12:53:42 +01:00
12115.bugfix Update the server notices user profile in room if changed. (#12115) 2022-04-08 07:51:27 -04:00
12165.misc Remove references to "msc2403" (#12165) 2022-03-30 11:15:47 +00:00
12191.misc Raise an exception when getting state at an outlier (#12191) 2022-04-01 13:01:49 +01:00
12193.misc Start application service stream token tracking from 1 (#12193) 2022-03-30 11:10:12 +00:00
12209.misc Use a sequence to generate AS transaction IDs, drop `last_txn` AS state (#12209) 2022-04-01 13:33:25 +00:00
12235.bugfix Do not consider events by ignored users for bundled aggregations (#12235) 2022-04-11 10:09:57 -04:00
12251.feature Move `update_client_ip` background job from the main process to the background worker. (#12251) 2022-04-01 13:08:55 +01:00
12252.feature Optimise `_update_client_ips_batch_txn` to batch together database operations. (#12252) 2022-04-08 15:29:13 +01:00
12267.misc Add more type hints to the main state store. (#12267) 2022-03-31 13:38:09 -04:00
12271.doc Flesh out documentation for running SyTest against Synapse, including use of Postgres and worker mode. (#12271) 2022-03-30 12:55:05 +00:00
12280.misc Add missing type definitions for scripts in docker folder (#12280) 2022-04-08 10:10:58 +00:00
12293.removal Remove the unused and unstable `/aggregations` endpoint. (#12293) 2022-03-30 11:45:32 -04:00
12295.misc Move MSC2654 support behind an experimental configuration flag. (#12295) 2022-03-31 15:05:13 -04:00
12302.feature Add a callback to react to 3PID associations (#12302) 2022-03-31 18:27:21 +02:00
12310.feature Add a configuration to exclude rooms from sync response (#12310) 2022-03-30 09:43:04 +00:00
12315.doc Update `LoggingTransaction.call_after` and `call_on_exception` docstrings (#12315) 2022-03-29 12:31:05 +01:00
12316.misc Room batch: fix up handling of unknown prev_event_ids (#12316) 2022-03-29 14:56:25 +01:00
12317.misc Explain how to decipher live and historic pagination tokens (#12317) 2022-04-05 10:57:09 +01:00
12321.misc Track device list updates per room. (#12321) 2022-04-04 15:25:20 +01:00
12326.misc Fix typechecker problems exposed by signedjson 1.1.2 (#12326) 2022-03-29 21:37:50 +00:00
12327.feature Add a module callback to react to account data changes (#12327) 2022-04-01 11:22:48 +02:00
12329.bugfix Allow non-member state sent in room batch to resolve for historic events (MSC2716) (#12329) 2022-04-04 14:54:50 -05:00
12330.misc Disable proactive sends for remote joins (#12330) 2022-03-30 12:04:35 +01:00
12331.doc Update dead links in check-newsfragment.sh (#12331) 2022-03-30 11:44:28 +00:00
12332.misc Handle outliers in `/federation/v1/event` (#12332) 2022-03-31 17:39:34 +00:00
12333.bugfix Ensure the type of URL attributes is always str when matching against preview blacklist (#12333) 2022-03-31 11:49:49 +02:00
12334.misc Nuke the tox `packaging` job (#12334) 2022-03-31 11:01:26 +01:00
12335.misc Ignore .envrc for direnv users (#12335) 2022-03-31 11:03:07 +01:00
12336.misc Remove `dockerfile-pgtests` (#12336) 2022-03-31 11:30:07 +01:00
12338.bugfix Do not consider events by ignored users for bundled aggregations (#12235) 2022-04-11 10:09:57 -04:00
12339.doc Update mdbook to 0.4.17 (#12339) 2022-04-05 17:21:58 +01:00
12341.feature Add set_user_admin function to the module API (#12341) 2022-04-01 09:31:30 +01:00
12345.doc Clarify that we mark as outliers because we don't have any state for them (#12345) 2022-04-06 16:34:33 -05:00
12346.misc Remove redundant `get_success` calls in test code (#12346) 2022-04-01 16:10:31 +01:00
12347.misc Add type hints for `tests/unittest.py`. (#12347) 2022-04-01 16:04:16 +00:00
12348.misc Move single-use methods out of `TestCase` (#12348) 2022-04-01 12:48:08 +00:00
12349.misc Burn `check_signature` dev script. (#12351) 2022-04-01 13:41:42 +00:00
12350.bugfix Default to `private` room visibility rather than `public` when a client does not specify one, according to spec. (#12350) 2022-04-01 15:55:09 +01:00
12351.misc Burn `check_signature` dev script. (#12351) 2022-04-01 13:41:42 +00:00
12353.misc Convert `Linearizer` tests from `inlineCallbacks` to async (#12353) 2022-04-05 14:56:09 +01:00
12354.misc Update docstrings for `ReadWriteLock` tests (#12354) 2022-04-05 16:54:40 +01:00
12355.misc Remove more dead/broken dev scripts (#12355) 2022-04-03 21:21:08 +01:00
12357.misc Refactor and convert `Linearizer` to async (#12357) 2022-04-05 15:43:52 +01:00
12358.misc Fix edge case where a `Linearizer` could get stuck (#12358) 2022-04-05 17:19:16 +01:00
12364.bugfix Fix a spec compliance issue where requests to the `/publicRooms` federation API would specify `limit` as a string. (#12364) 2022-04-05 12:45:36 +01:00
12366.misc Make `StreamToken` and `RoomStreamToken` methods propagate cancellations (#12366) 2022-04-05 16:56:52 +01:00
12367.feature Prefill the device_list_stream_cache (#12367) 2022-04-04 20:12:25 +01:00
12369.doc Update broken link in `workers.md` (#12369) 2022-04-04 17:40:31 -07:00
12370.feature Update changelog to describe changes from #12370 relative to `develop` (#12401) 2022-04-06 14:41:15 -04:00
12371.misc Add type hints to some tests files (#12371) 2022-04-05 13:54:41 +01:00
12372.feature Prefill more stream change caches. (#12372) 2022-04-05 14:26:41 +01:00
12376.misc Allow specifying the Postgres database's port when running unit tests with Postgres. (#12376) 2022-04-05 12:44:48 +01:00
12379.misc Post 1.56.0 release tidy up (#12379) 2022-04-05 17:35:20 +01:00
12380.misc Add opentracing spans to calls to external cache (#12380) 2022-04-07 13:18:29 +01:00
12381.misc Poetry: initial pyproject.toml and poetry.lock (#12381) 2022-04-05 18:40:56 +01:00
12384.misc Add missing dependency on importlib_metadata (#12384) 2022-04-05 18:25:56 +00:00
12385.docker Poetry: use locked environment in Docker images (#12385) 2022-04-07 11:43:31 +00:00
12389.misc Update type annotations for compatiblity with prometheus_client 0.14 (#12389) 2022-04-06 12:59:04 +00:00
12390.bugfix Fix `synapse_event_persisted_position` metric (#12390) 2022-04-06 13:52:39 +00:00
12391.feature Add Module API for reading and writing global account data. (#12391) 2022-04-11 10:05:43 +01:00
12392.doc Remove docs for converting a legacy structured logging config. (#12392) 2022-04-06 13:41:14 -04:00
12398.misc Remove support for the unstable identifier from MSC3288. (#12398) 2022-04-06 13:27:46 -04:00
12400.misc Narrow the `importlib_metadata` dependency (#12400) 2022-04-06 17:37:56 +01:00
12402.misc Add missing type hints to config classes. (#12402) 2022-04-11 12:07:23 -04:00
12403.feature Support the v1 endpoint for `/relations`. (#12403) 2022-04-07 07:08:23 -04:00
12404.misc Move complement setup stuff into the Synapse repo (#12404) 2022-04-11 11:39:28 +01:00
12405.misc Fix up healthcheck generation for workers docker image (#12405) 2022-04-11 13:38:58 +00:00
12408.misc Do not add groups to sync results if disabled. (#12408) 2022-04-07 09:29:56 -04:00
12409.misc Fix rejecting invites over federation (#12409) 2022-04-07 15:54:16 +01:00
12410.bugfix Fix fetching public rooms over federation (#12410) 2022-04-07 14:18:02 +00:00
12412.misc CI: Get the portdb job to run under poetry (#12412) 2022-04-08 12:00:05 +01:00
12415.misc Unify HTTP query parameter type hints (#12415) 2022-04-08 13:06:51 +01:00
12418.misc CI: Fix the export-data job to run under poetry (#12418) 2022-04-08 19:18:54 +00:00
12420.misc Stop maintaining a list of lint targets in `lint.sh` (#12420) 2022-04-08 14:36:09 +01:00
12421.misc Make `synapse._scripts` pass typechecks (#12421) 2022-04-08 14:00:12 +00:00
12422.misc Disallow untyped defs in synapse._scripts (#12422) 2022-04-11 12:41:55 +01:00
12435.misc Enable certificate checking during complement tests (#12435) 2022-04-11 16:35:41 +01:00
12436.feature Remove experimental configuration flag for MSC3666. (#12436) 2022-04-11 15:37:46 -04:00
12439.misc Workaround pip bug installing latest treq and not-latest twisted from hashes (#12439) 2022-04-12 10:16:01 +01:00