This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
poetry install
over a running instance causes processes to segfault
#15461
Labels
A-Packaging
Our Debian packages, docker images; or issues relevant to downstream packagers
T-Task
Refactoring, removal, replacement, enabling or disabling functionality, other engineering tasks.
Z-Future-Maintenance
Things that can't yet be done, but will need cleaning up in a couple of months/releases
When we looking into this, we saw that
poetry install
is "editing" the shared object file rather than replacing it.Erik investigated further and ultimately submitted a patch to setuptools-rust: PyO3/setuptools-rust#295. This was accepted, but has yet to be released.
Once a newer setuptools-rust release is available, we should take advantage of this to ensure that we don't accidentally segfault running processes when we actually want to do a rolling restart.
At the moment, setuptools_rust is currently upper-bounded at the current release version:
synapse/pyproject.toml
Lines 366 to 371 in ae69d69
which will presumably need bumping; confusingly we also have a lower bound here:
synapse/pyproject.toml
Lines 212 to 220 in ae69d69
The text was updated successfully, but these errors were encountered: