[Bug 292129] net-im/py-matrix-synapse: Update to 1.144.0
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 292129] net-im/py-matrix-synapse: Update to 1.144.0"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 03 Mar 2026 22:56:08 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292129
--- Comment #13 from László Károlyi <laszlo-rdr-keethu9thi@karolyi.hu> ---
Sascha,
make the last few weeks "a last few months". I was intentionally provoking an
emotional response to see you're still alive and listening.
If you don't have the time to test and/or commit the changes, you can add me as
an additional package maintainer, I use this package actively and so I have a
vested interest in having the latest working version.
Not updating synapse was especially awkward because since the last freebsd
release (10 versions ago!) they updated it to contain a background task that
might reduce a bloated postgresql table by removing unnecessary records, thus
saving often hundreds of gigabytes. Many people have this issue.
With that said, I can reproduce the failing tests on my FreeBSD 14.3 box:
tests.storage.test_user_directory.UserDirectoryStoreTestCase.test_search_user_dir_dotted_dotless_i_case_insensitivity
===============================================================================
[ERROR]
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/twisted/trial/runner.py", line
711, in loadByName
return self.suiteFactory([self.findByName(name, recurse=recurse)])
File "/usr/local/lib/python3.11/site-packages/twisted/trial/runner.py", line
474, in findByName
obj = reflect.namedModule(searchName)
File "/usr/local/lib/python3.11/site-packages/twisted/python/reflect.py",
line 156, in namedModule
topLevel = __import__(name)
File
"/usr/ports/net-im/py-matrix-synapse/work-py311/matrix_synapse-1.148.0/tests/handlers/test_saml.py",
line 39, in <module>
import saml2.config
File "/usr/local/lib/python3.11/site-packages/saml2/config.py", line 19, in
<module>
from saml2.mdstore import MetadataStore
File "/usr/local/lib/python3.11/site-packages/saml2/mdstore.py", line 44, in
<module>
from saml2.httpbase import HTTPBase
File "/usr/local/lib/python3.11/site-packages/saml2/httpbase.py", line 15, in
<module>
from saml2.pack import make_soap_enveloped_saml_thingy
File "/usr/local/lib/python3.11/site-packages/saml2/pack.py", line 22, in
<module>
from saml2.sigver import REQ_ORDER
File "/usr/local/lib/python3.11/site-packages/saml2/sigver.py", line 42, in
<module>
from saml2.xml.schema import XMLSchemaError
File "/usr/local/lib/python3.11/site-packages/saml2/xml/schema/__init__.py",
line 57, in <module>
_schema_validator_default = _create_xml_schema_validator()
File "/usr/local/lib/python3.11/site-packages/saml2/xml/schema/__init__.py",
line 54, in _create_xml_schema_validator
return _XMLSchema(source, **kwargs)
File
"/usr/local/lib/python3.11/site-packages/xmlschema/validators/schemas.py", line
376, in __init__
self.maps = XsdGlobals(self, parent=self.meta_schema, settings=settings)
File
"/usr/local/lib/python3.11/site-packages/xmlschema/validators/xsd_globals.py",
line 153, in __init__
ancestor.maps.build()
File
"/usr/local/lib/python3.11/site-packages/xmlschema/validators/xsd_globals.py",
line 550, in build
self.clear()
File
"/usr/local/lib/python3.11/site-packages/xmlschema/validators/xsd_globals.py",
line 521, in clear
schema.clear()
File
"/usr/local/lib/python3.11/site-packages/xmlschema/validators/schemas.py", line
840, in clear
for attr in self._cached_properties():
File
"/usr/local/lib/python3.11/site-packages/xmlschema/validators/xsdbase.py", line
75, in _cached_properties
if isinstance(getattr(cls, k), cached_property):
builtins.AttributeError: __provides__
tests.handlers.test_saml
===============================================================================
[ERROR]
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/twisted/trial/runner.py", line
711, in loadByName
return self.suiteFactory([self.findByName(name, recurse=recurse)])
File "/usr/local/lib/python3.11/site-packages/twisted/trial/runner.py", line
474, in findByName
obj = reflect.namedModule(searchName)
File "/usr/local/lib/python3.11/site-packages/twisted/python/reflect.py",
line 156, in namedModule
topLevel = __import__(name)
File
"/usr/ports/net-im/py-matrix-synapse/work-py311/matrix_synapse-1.148.0/tests/rest/client/test_login.py",
line 54, in <module>
from tests.handlers.test_saml import has_saml2
File
"/usr/ports/net-im/py-matrix-synapse/work-py311/matrix_synapse-1.148.0/tests/handlers/test_saml.py",
line 39, in <module>
import saml2.config
File "/usr/local/lib/python3.11/site-packages/saml2/config.py", line 19, in
<module>
from saml2.mdstore import MetadataStore
File "/usr/local/lib/python3.11/site-packages/saml2/mdstore.py", line 44, in
<module>
from saml2.httpbase import HTTPBase
File "/usr/local/lib/python3.11/site-packages/saml2/httpbase.py", line 15, in
<module>
from saml2.pack import make_soap_enveloped_saml_thingy
File "/usr/local/lib/python3.11/site-packages/saml2/pack.py", line 22, in
<module>
from saml2.sigver import REQ_ORDER
File "/usr/local/lib/python3.11/site-packages/saml2/sigver.py", line 42, in
<module>
from saml2.xml.schema import XMLSchemaError
File "/usr/local/lib/python3.11/site-packages/saml2/xml/schema/__init__.py",
line 57, in <module>
_schema_validator_default = _create_xml_schema_validator()
File "/usr/local/lib/python3.11/site-packages/saml2/xml/schema/__init__.py",
line 54, in _create_xml_schema_validator
return _XMLSchema(source, **kwargs)
File
"/usr/local/lib/python3.11/site-packages/xmlschema/validators/schemas.py", line
376, in __init__
self.maps = XsdGlobals(self, parent=self.meta_schema, settings=settings)
File
"/usr/local/lib/python3.11/site-packages/xmlschema/validators/xsd_globals.py",
line 153, in __init__
ancestor.maps.build()
File
"/usr/local/lib/python3.11/site-packages/xmlschema/validators/xsd_globals.py",
line 550, in build
self.clear()
File
"/usr/local/lib/python3.11/site-packages/xmlschema/validators/xsd_globals.py",
line 521, in clear
schema.clear()
File
"/usr/local/lib/python3.11/site-packages/xmlschema/validators/schemas.py", line
840, in clear
for attr in self._cached_properties():
File
"/usr/local/lib/python3.11/site-packages/xmlschema/validators/xsdbase.py", line
75, in _cached_properties
if isinstance(getattr(cls, k), cached_property):
builtins.AttributeError: __provides__
tests.rest.client.test_login
-------------------------------------------------------------------------------
Ran 4473 tests in 220.868s
Looks like an xmlschema package related problem that originates from saml. Not
sure if it matters, I use the package flawlessly now.
--
László
--
You are receiving this mail because:
You are the assignee for the bug.