Hi, so now that we have poetry-core in ports thanks to sthen@, here's a wip diff for synapse using MODPY_PEP517 = poetry-core. Note that i haven't tested it at all *yet*, and the do-test target fails:
===> Regression tests for synapse-1.65.0 cd /usr/obj/ports/synapse-1.65.0/synapse-1.65.0 && /usr/bin/env -i PYTHONPATH=. /usr/local/bin/trial tests tests ... [ERROR] =============================================================================== [ERROR] Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/twisted/trial/runner.py", line 691, in loadByName return self.suiteFactory([self.findByName(name, recurse=recurse)]) File "/usr/local/lib/python3.9/site-packages/twisted/trial/runner.py", line 451, in findByName obj = reflect.namedModule(searchName) File "/usr/local/lib/python3.9/site-packages/twisted/python/reflect.py", line 156, in namedModule topLevel = __import__(name) File "/usr/obj/ports/synapse-1.65.0/synapse-1.65.0/tests/__init__.py", line 18, in <module> from synapse.util.patch_inline_callbacks import do_patch File "/usr/obj/ports/synapse-1.65.0/synapse-1.65.0/synapse/__init__.py", line 71, in <module> import synapse.util File "/usr/obj/ports/synapse-1.65.0/synapse-1.65.0/synapse/util/__init__.py", line 195, in <module> SYNAPSE_VERSION = get_distribution_version_string("matrix-synapse", __file__) builtins.TypeError: get_distribution_version_string() takes 1 positional argument but 2 were given so a bit more work is needed, but that's a start for getting us up-to-date for 7.2. Landry