Renaud Allard [2022-08-18, 10:58:24]:
>
>
> On 8/18/22 08:25, Landry Breuil wrote:
> > Le Thu, Aug 18, 2022 at 08:24:42AM +0200, Landry Breuil a écrit :
> > > 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.
> >
> > now with 100% more diffs..
>
> I am able to start it without errors with your diff and 3 other diffs I
> sent:
> textproc/py-unpaddedbase64 2.1.0
> textproc/py-unpaddedbase64 1.6.2
> devel/py-matrix_common 1.2.1
>
> You will also need to put the full path for your registration files for
> mautrix_whatsapp if you use it, instead of a relative path.
>
> More testing is welcome :)
Works fine here on arm64 with your 3 other updates. I only use the matrix
native messaging (no bridges or voice/video) on a very small setup.
My chat rooms are still working as expected. Thanks!