summary refs log tree commit diff
path: root/debian/clean
diff options
context:
space:
mode:
authorDavid Robertson <davidr@element.io>2022-04-14 11:03:24 +0100
committerGitHub <noreply@github.com>2022-04-14 11:03:24 +0100
commit6b3e0ea6bdff15aa24a42f1f5938785460a323a7 (patch)
treef5dddc05792b24a753654512d6ee941b8fc3b285 /debian/clean
parentDockerfile-workers: give the master its own log config (#12466) (diff)
downloadsynapse-6b3e0ea6bdff15aa24a42f1f5938785460a323a7.tar.xz
Use `poetry` to manage the virtualenv in debian packages (#12449)
* Use `poetry` to build venv in debian packages

Co-authored-by: Dan Callahan <danc@element.io>
Co-authored-by: Shay <hillerys@element.io>

* Changelog

* Only pull in from requirements.txt

Addresses the same problem as #12439.

* Include `test` and `all` extras

`poetry export` helpfully silently ignores an unknown extra

Haven't seen this before because it's the only place we export `all` and
`test`. I could have __sworm__ that the syntax `--extra "all test"`
worked for `poetry install`...

* Clean up requirements file on subsequence builds

* Fix shell syntax

Co-authored-by: Dan Callahan <danc@element.io>
Co-authored-by: Shay <hillerys@element.io>
Diffstat (limited to '')
-rw-r--r--debian/clean1
1 files changed, 1 insertions, 0 deletions
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000000..d488f298d5
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1 @@
+exported_requirements.txt