-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
[WIP] Use Poetry to manage Synapse's dependencies #12337
Commits on Mar 30, 2022
-
DEBUG: always run twisted trunk; don't raise bugs
David Robertson committedMar 30, 2022 Configuration menu - View commit details
-
Copy full SHA for 8dc02f9 - Browse repository at this point
Copy the full SHA 8dc02f9View commit details -
David Robertson committed
Mar 30, 2022 Configuration menu - View commit details
-
Copy full SHA for 211becb - Browse repository at this point
Copy the full SHA 211becbView commit details -
DEPS: Specify deps in pyproject.toml
- Nuke python_dependencies and setup.py - Allow commiting poetry.lock - Initial lockfile pulling in the latest version of deps at the time of locking
David Robertson committedMar 30, 2022 Configuration menu - View commit details
-
Copy full SHA for 7d57414 - Browse repository at this point
Copy the full SHA 7d57414View commit details -
DEPS: Add missing dependency on importlib_metadata
Missed in #12088. We got away with it because we were indirectly importing it in other places. Without this, we encounter pain in `poetry export`; and besides, we should be explicit about our direct dependencies.
David Robertson committedMar 30, 2022 Configuration menu - View commit details
-
Copy full SHA for 53e804f - Browse repository at this point
Copy the full SHA 53e804fView commit details -
DEPS: Dirty duplication to make
all
workSee comment in the toml file: > The duplication here is awful. I hate hate hate hate hate it. I don't think that we're going to be adding many extras any time soon, and I think this is the least bad option.
David Robertson committedMar 30, 2022 Configuration menu - View commit details
-
Copy full SHA for c50da48 - Browse repository at this point
Copy the full SHA c50da48View commit details -
BUILDS:
poetry
in Synapse docker imageDavid Robertson committedMar 30, 2022 Configuration menu - View commit details
-
Copy full SHA for 87ecb33 - Browse repository at this point
Copy the full SHA 87ecb33View commit details -
Configuration menu - View commit details
-
Copy full SHA for d820ff2 - Browse repository at this point
Copy the full SHA d820ff2View commit details -
CI: Use common linting workflow
After #12107 it's much easier for black, isort and flake8 to find the scripts we want them to lint.
David Robertson committedMar 30, 2022 Configuration menu - View commit details
-
Copy full SHA for e53e99e - Browse repository at this point
Copy the full SHA e53e99eView commit details -
CI: Fix the "main" trial test runs
David Robertson committedMar 30, 2022 Configuration menu - View commit details
-
Copy full SHA for 3de49f4 - Browse repository at this point
Copy the full SHA 3de49f4View commit details -
CI: Fix the portdb job to run under poetry
David Robertson committedMar 30, 2022 Configuration menu - View commit details
-
Copy full SHA for 03e5c93 - Browse repository at this point
Copy the full SHA 03e5c93View commit details -
CI: Fix the export-data job to run under poetry
David Robertson committedMar 30, 2022 Configuration menu - View commit details
-
Copy full SHA for 6ab6f61 - Browse repository at this point
Copy the full SHA 6ab6f61View commit details -
CI: Fix the olddeps job to run under poetry
David Robertson committedMar 30, 2022 Configuration menu - View commit details
-
Copy full SHA for 0d8a54a - Browse repository at this point
Copy the full SHA 0d8a54aView commit details -
CI: Fix Twisted trunk to run under poetry
Signed-off-by: Sean Quah <seanq@element.io>
Configuration menu - View commit details
-
Copy full SHA for d3386af - Browse repository at this point
Copy the full SHA d3386afView commit details -
David Robertson committed
Mar 30, 2022 Configuration menu - View commit details
-
Copy full SHA for b03ffaa - Browse repository at this point
Copy the full SHA b03ffaaView commit details -
DOCS: recommend poetry where appropriate
In particular the documentaion for contributors should only advocate poetry. I am not thrilled at the propsect of now having N+1 installation methods---but at the very least we ought to mention poetry here.
David Robertson committedMar 30, 2022 Configuration menu - View commit details
-
Copy full SHA for 5f8db3e - Browse repository at this point
Copy the full SHA 5f8db3eView commit details -
- Stop always running twisted trunk on this branch - Stop building all devs on this branch - Run olddeps after linting
David Robertson committedMar 30, 2022 Configuration menu - View commit details
-
Copy full SHA for 680dbc8 - Browse repository at this point
Copy the full SHA 680dbc8View commit details
Commits on Mar 31, 2022
-
Co-authored-by: Sean Quah <8349537+squahtx@users.noreply.github.com> Co-authored-by: Brendan Abolivier <babolivier@matrix.org>
Configuration menu - View commit details
-
Copy full SHA for a3fb2b8 - Browse repository at this point
Copy the full SHA a3fb2b8View commit details -
Batch of suggestsion from Brendan, part 1
Co-authored-by: Brendan Abolivier <babolivier@matrix.org>
Configuration menu - View commit details
-
Copy full SHA for 4c780ab - Browse repository at this point
Copy the full SHA 4c780abView commit details -
Batch of suggestsion from Brendan, part 2
Co-authored-by: Brendan Abolivier <babolivier@matrix.org>
Configuration menu - View commit details
-
Copy full SHA for 8469bd8 - Browse repository at this point
Copy the full SHA 8469bd8View commit details -
Recommend synapse_homeserver entrypoint in README
David Robertson authoredMar 31, 2022 Configuration menu - View commit details
-
Copy full SHA for 5dc21d9 - Browse repository at this point
Copy the full SHA 5dc21d9View commit details -
More clearly explain which extras are omitted from
all
.Co-authored-by: Brendan Abolivier <babolivier@matrix.org>
Configuration menu - View commit details
-
Copy full SHA for e60c8f3 - Browse repository at this point
Copy the full SHA e60c8f3View commit details -
Explain where requirements.txt comes from.
David Robertson committedMar 31, 2022 Configuration menu - View commit details
-
Copy full SHA for 6fd43c4 - Browse repository at this point
Copy the full SHA 6fd43c4View commit details -
olddeps: echo patch to confirm sed is sensible
David Robertson committedMar 31, 2022 Configuration menu - View commit details
-
Copy full SHA for 45a23c0 - Browse repository at this point
Copy the full SHA 45a23c0View commit details -
Olddeps: leave a TODO for caret bounds
David Robertson committedMar 31, 2022 Configuration menu - View commit details
-
Copy full SHA for e96fd31 - Browse repository at this point
Copy the full SHA e96fd31View commit details -
Merge remote-tracking branch 'origin/develop' into dmr/pyproject-poetry
David Robertson committedMar 31, 2022 Configuration menu - View commit details
-
Copy full SHA for d2df831 - Browse repository at this point
Copy the full SHA d2df831View commit details
Commits on Apr 1, 2022
-
Olddeps: cat patched pyproject, instead of diffing
David Robertson authoredApr 1, 2022 Configuration menu - View commit details
-
Copy full SHA for 0af56b8 - Browse repository at this point
Copy the full SHA 0af56b8View commit details -
Docker:
pip install --user poetry
path fixDavid Robertson committedApr 1, 2022 Configuration menu - View commit details
-
Copy full SHA for 2ff7fbf - Browse repository at this point
Copy the full SHA 2ff7fbfView commit details
Commits on Apr 4, 2022
-
Only upgrade pip in dhvirtualenv
David Robertson committedApr 4, 2022 Configuration menu - View commit details
-
Copy full SHA for 18f91a7 - Browse repository at this point
Copy the full SHA 18f91a7View commit details
Commits on Apr 6, 2022
-
Install and run poetry export in dpkg-buildpackage
Signed-off-by: Dan Callahan <danc@element.io>
Configuration menu - View commit details
-
Copy full SHA for f0d72ac - Browse repository at this point
Copy the full SHA f0d72acView commit details -
Merge branch 'develop' into dmr/pyproject-poetry
Signed-off-by: Dan Callahan <danc@element.io>
Configuration menu - View commit details
-
Copy full SHA for 60a6671 - Browse repository at this point
Copy the full SHA 60a6671View commit details
Commits on Apr 7, 2022
-
Bump locked version of prometheus-client to 0.14.0
The typechecking fix in #12389 only works if your local copy of prometheus-client is at least version 0.14. Otherwise, it fails with: synapse/metrics/_types.py:22: error: Module "prometheus_client.registry" has no attribute "Collector" [attr-defined] Signed-off-by: Dan Callahan <danc@element.io>
Configuration menu - View commit details
-
Copy full SHA for a653c20 - Browse repository at this point
Copy the full SHA a653c20View commit details -
Clarify a CI workflow step for Twisted trunk
Signed-off-by: Dan Callahan <danc@element.io>
Configuration menu - View commit details
-
Copy full SHA for 232a270 - Browse repository at this point
Copy the full SHA 232a270View commit details -
Inline CI steps for installing Twisted trunk
Signed-off-by: Dan Callahan <danc@element.io>
Configuration menu - View commit details
-
Copy full SHA for 9225764 - Browse repository at this point
Copy the full SHA 9225764View commit details -
Merge branch 'develop' into dmr/pyproject-poetry
Signed-off-by: Dan Callahan <danc@element.io>
Configuration menu - View commit details
-
Copy full SHA for 99892e7 - Browse repository at this point
Copy the full SHA 99892e7View commit details -
Minor tweaks to comments in response to reviews
Signed-off-by: Dan Callahan <danc@element.io>
Configuration menu - View commit details
-
Copy full SHA for 872dfb8 - Browse repository at this point
Copy the full SHA 872dfb8View commit details
Commits on Apr 8, 2022
-
Merge branch 'develop' into dmr/pyproject-poetry
Signed-off-by: Dan Callahan <danc@element.io>
Configuration menu - View commit details
-
Copy full SHA for 379944c - Browse repository at this point
Copy the full SHA 379944cView commit details
Commits on Apr 11, 2022
-
Merge branch 'develop' into dmr/pyproject-poetry
David Robertson authoredApr 11, 2022 Configuration menu - View commit details
-
Copy full SHA for fb611f1 - Browse repository at this point
Copy the full SHA fb611f1View commit details
Commits on Apr 12, 2022
-
Merge remote-tracking branch 'origin/develop' into dmr/pyproject-poetry
David Robertson committedApr 12, 2022 Configuration menu - View commit details
-
Copy full SHA for 0cf4705 - Browse repository at this point
Copy the full SHA 0cf4705View commit details
Commits on Apr 14, 2022
-
Include some dockerfile changes from develop
I think these may have been retained in merge confusion.
David Robertson committedApr 14, 2022 Configuration menu - View commit details
-
Copy full SHA for 988ff61 - Browse repository at this point
Copy the full SHA 988ff61View commit details -
We don't need README to export
we did need it to `install` though, (I think?)
David Robertson committedApr 14, 2022 Configuration menu - View commit details
-
Copy full SHA for badd5cf - Browse repository at this point
Copy the full SHA badd5cfView commit details -
Merge remote-tracking branch 'origin/develop' into dmr/pyproject-poetry
David Robertson committedApr 14, 2022 Configuration menu - View commit details
-
Copy full SHA for 443b94f - Browse repository at this point
Copy the full SHA 443b94fView commit details -
Merge remote-tracking branch 'origin/develop' into dmr/pyproject-poetry
David Robertson committedApr 14, 2022 Configuration menu - View commit details
-
Copy full SHA for cbdbcb0 - Browse repository at this point
Copy the full SHA cbdbcb0View commit details