Move `pympler` back into the `all` extras (#12652)

* Move `pympler` back into the `all` extras

Undoes a change I made in #12381. I can't fully remember my reasoning,
but this changed the contents of the debian packages in a backwards
incompatible way. We're not aware of anyone who's been bitten by this,
but we still want to fix it.

To the reviewer: please be convinced that the debian packages will still
contain pympler after this change.

* Debian changelog entry to keep the linter happy
This commit is contained in:
David Robertson 2022-05-07 13:40:58 +01:00 committed by GitHub
parent 051a1c3f22
commit 0ce2201932
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 15 additions and 6 deletions

1
changelog.d/12652.misc Normal file
View File

@ -0,0 +1 @@
Move `pympler` back in to the `all` extras.

View File

@ -41,7 +41,6 @@ poetry export \
--extras all \ --extras all \
--extras test \ --extras test \
--extras systemd \ --extras systemd \
--extras cache_memory \
-o exported_requirements.txt -o exported_requirements.txt
deactivate deactivate
rm -rf "$TEMP_VENV" rm -rf "$TEMP_VENV"

8
debian/changelog vendored
View File

@ -1,3 +1,11 @@
matrix-synapse-py3 (1.58.2) UNRELEASED; urgency=medium
* Adjust how the `exported-requirements.txt` file is generated as part of
the process of building these packages. This affects the package
maintainers only; end-users are unaffected.
-- Synapse Packaging team <packages@matrix.org> Fri, 06 May 2022 13:49:29 +0100
matrix-synapse-py3 (1.58.1) stable; urgency=medium matrix-synapse-py3 (1.58.1) stable; urgency=medium
* Include python dependencies from the `systemd` and `cache_memory` extras package groups, which * Include python dependencies from the `systemd` and `cache_memory` extras package groups, which

4
poetry.lock generated
View File

@ -1546,7 +1546,7 @@ docs = ["sphinx", "repoze.sphinx.autointerface"]
test = ["zope.i18nmessageid", "zope.testing", "zope.testrunner"] test = ["zope.i18nmessageid", "zope.testing", "zope.testrunner"]
[extras] [extras]
all = ["matrix-synapse-ldap3", "psycopg2", "psycopg2cffi", "psycopg2cffi-compat", "pysaml2", "authlib", "lxml", "sentry-sdk", "jaeger-client", "opentracing", "pyjwt", "txredisapi", "hiredis"] all = ["matrix-synapse-ldap3", "psycopg2", "psycopg2cffi", "psycopg2cffi-compat", "pysaml2", "authlib", "lxml", "sentry-sdk", "jaeger-client", "opentracing", "pyjwt", "txredisapi", "hiredis", "Pympler"]
cache_memory = ["Pympler"] cache_memory = ["Pympler"]
jwt = ["pyjwt"] jwt = ["pyjwt"]
matrix-synapse-ldap3 = ["matrix-synapse-ldap3"] matrix-synapse-ldap3 = ["matrix-synapse-ldap3"]
@ -1563,7 +1563,7 @@ url_preview = ["lxml"]
[metadata] [metadata]
lock-version = "1.1" lock-version = "1.1"
python-versions = "^3.7.1" python-versions = "^3.7.1"
content-hash = "f24699464828ac1a63f1034b4a18c841ef585737b9a802fd8311836444f1d702" content-hash = "eebc9e1d720e2e866f5fddda98ce83d858949a6fdbe30c7e5aef4cf9d17be498"
[metadata.files] [metadata.files]
attrs = [ attrs = [

View File

@ -231,10 +231,11 @@ all = [
"jaeger-client", "opentracing", "jaeger-client", "opentracing",
# jwt # jwt
"pyjwt", "pyjwt",
#redis # redis
"txredisapi", "hiredis" "txredisapi", "hiredis",
# cache_memory
"pympler",
# omitted: # omitted:
# - cache_memory: this is an experimental option
# - test: it's useful to have this separate from dev deps in the olddeps job # - test: it's useful to have this separate from dev deps in the olddeps job
# - systemd: this is a system-based requirement # - systemd: this is a system-based requirement
] ]