Created
October 19, 2023 12:47
-
-
Save TinfoilSubmarine/a35c0045f0e20f60e073d5cebe8e7ee4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ERROR] | |
Traceback (most recent call last): | |
File "/usr/lib/python3.12/site-packages/twisted/trial/runner.py", line 711, in loadByName | |
return self.suiteFactory([self.findByName(name, recurse=recurse)]) | |
File "/usr/lib/python3.12/site-packages/twisted/trial/runner.py", line 474, in findByName | |
obj = reflect.namedModule(searchName) | |
File "/usr/lib/python3.12/site-packages/twisted/python/reflect.py", line 156, in namedModule | |
topLevel = __import__(name) | |
File "/builddir/synapse-1.94.0/build/lib.linux-x86_64-cpython-312/tests/handlers/test_saml.py", line 32, in <module> | |
import saml2.config | |
File "/usr/lib/python3.12/site-packages/saml2/config.py", line 19, in <module> | |
from saml2.mdstore import MetadataStore | |
File "/usr/lib/python3.12/site-packages/saml2/mdstore.py", line 44, in <module> | |
from saml2.httpbase import HTTPBase | |
File "/usr/lib/python3.12/site-packages/saml2/httpbase.py", line 15, in <module> | |
from saml2.pack import make_soap_enveloped_saml_thingy | |
File "/usr/lib/python3.12/site-packages/saml2/pack.py", line 27, in <module> | |
from saml2.sigver import REQ_ORDER | |
File "/usr/lib/python3.12/site-packages/saml2/sigver.py", line 52, in <module> | |
from saml2.xml.schema import XMLSchemaError | |
File "/usr/lib/python3.12/site-packages/saml2/xml/schema/__init__.py", line 11, in <module> | |
from xmlschema import XMLSchema as _XMLSchema | |
File "/usr/lib/python3.12/site-packages/xmlschema/__init__.py", line 21, in <module> | |
from .dataobjects import DataElement, DataElementConverter, DataBindingConverter | |
File "/usr/lib/python3.12/site-packages/xmlschema/dataobjects.py", line 22, in <module> | |
from . import validators | |
File "/usr/lib/python3.12/site-packages/xmlschema/validators/__init__.py", line 38, in <module> | |
from .schemas import XMLSchemaMeta, XMLSchemaBase, XMLSchema, XMLSchema10, XMLSchema11 | |
File "/usr/lib/python3.12/site-packages/xmlschema/validators/schemas.py", line 2184, in <module> | |
class XMLSchema10(XMLSchemaBase): | |
File "/usr/lib/python3.12/site-packages/xmlschema/validators/schemas.py", line 134, in __new__ | |
meta_schema = meta_schema_class.create_meta_schema(meta_schema_file) | |
File "/usr/lib/python3.12/site-packages/xmlschema/validators/schemas.py", line 769, in create_meta_schema | |
meta_schema = meta_schema_class(source, XSD_NAMESPACE, defuse='never', build=False) | |
File "/usr/lib/python3.12/site-packages/xmlschema/validators/schemas.py", line 346, in __init__ | |
self.source = XMLResource(source, base_url, allow, defuse, timeout) | |
File "/usr/lib/python3.12/site-packages/xmlschema/resources.py", line 470, in __init__ | |
self.parse(source, lazy) | |
File "/usr/lib/python3.12/site-packages/xmlschema/resources.py", line 728, in parse | |
url = normalize_url(source, self._base_url) | |
File "/usr/lib/python3.12/site-packages/xmlschema/resources.py", line 144, in normalize_url | |
path = _PurePath.from_uri(url) | |
File "/usr/lib/python3.12/site-packages/xmlschema/resources.py", line 65, in from_uri | |
return cls(uri) | |
File "/usr/lib/python3.12/site-packages/xmlschema/resources.py", line 54, in __new__ | |
return cast('_PurePath', cls._from_parts(args)) | |
builtins.AttributeError: type object '_PurePosixPath' has no attribute '_from_parts' | |
tests.handlers.test_saml | |
=============================================================================== | |
[ERROR] | |
Traceback (most recent call last): | |
File "/usr/lib/python3.12/site-packages/twisted/trial/runner.py", line 711, in loadByName | |
return self.suiteFactory([self.findByName(name, recurse=recurse)]) | |
File "/usr/lib/python3.12/site-packages/twisted/trial/runner.py", line 474, in findByName | |
obj = reflect.namedModule(searchName) | |
File "/usr/lib/python3.12/site-packages/twisted/python/reflect.py", line 156, in namedModule | |
topLevel = __import__(name) | |
File "/builddir/synapse-1.94.0/build/lib.linux-x86_64-cpython-312/tests/rest/client/test_login.py", line 40, in <module> | |
from tests.handlers.test_saml import has_saml2 | |
File "/builddir/synapse-1.94.0/build/lib.linux-x86_64-cpython-312/tests/handlers/test_saml.py", line 32, in <module> | |
import saml2.config | |
File "/usr/lib/python3.12/site-packages/saml2/config.py", line 19, in <module> | |
from saml2.mdstore import MetadataStore | |
File "/usr/lib/python3.12/site-packages/saml2/mdstore.py", line 44, in <module> | |
from saml2.httpbase import HTTPBase | |
File "/usr/lib/python3.12/site-packages/saml2/httpbase.py", line 15, in <module> | |
from saml2.pack import make_soap_enveloped_saml_thingy | |
File "/usr/lib/python3.12/site-packages/saml2/pack.py", line 27, in <module> | |
from saml2.sigver import REQ_ORDER | |
File "/usr/lib/python3.12/site-packages/saml2/sigver.py", line 52, in <module> | |
from saml2.xml.schema import XMLSchemaError | |
File "/usr/lib/python3.12/site-packages/saml2/xml/schema/__init__.py", line 11, in <module> | |
from xmlschema import XMLSchema as _XMLSchema | |
File "/usr/lib/python3.12/site-packages/xmlschema/__init__.py", line 21, in <module> | |
from .dataobjects import DataElement, DataElementConverter, DataBindingConverter | |
File "/usr/lib/python3.12/site-packages/xmlschema/dataobjects.py", line 22, in <module> | |
from . import validators | |
File "/usr/lib/python3.12/site-packages/xmlschema/validators/__init__.py", line 38, in <module> | |
from .schemas import XMLSchemaMeta, XMLSchemaBase, XMLSchema, XMLSchema10, XMLSchema11 | |
File "/usr/lib/python3.12/site-packages/xmlschema/validators/schemas.py", line 2184, in <module> | |
class XMLSchema10(XMLSchemaBase): | |
File "/usr/lib/python3.12/site-packages/xmlschema/validators/schemas.py", line 134, in __new__ | |
meta_schema = meta_schema_class.create_meta_schema(meta_schema_file) | |
File "/usr/lib/python3.12/site-packages/xmlschema/validators/schemas.py", line 769, in create_meta_schema | |
meta_schema = meta_schema_class(source, XSD_NAMESPACE, defuse='never', build=False) | |
File "/usr/lib/python3.12/site-packages/xmlschema/validators/schemas.py", line 346, in __init__ | |
self.source = XMLResource(source, base_url, allow, defuse, timeout) | |
File "/usr/lib/python3.12/site-packages/xmlschema/resources.py", line 470, in __init__ | |
self.parse(source, lazy) | |
File "/usr/lib/python3.12/site-packages/xmlschema/resources.py", line 728, in parse | |
url = normalize_url(source, self._base_url) | |
File "/usr/lib/python3.12/site-packages/xmlschema/resources.py", line 144, in normalize_url | |
path = _PurePath.from_uri(url) | |
File "/usr/lib/python3.12/site-packages/xmlschema/resources.py", line 65, in from_uri | |
return cls(uri) | |
File "/usr/lib/python3.12/site-packages/xmlschema/resources.py", line 54, in __new__ | |
return cast('_PurePath', cls._from_parts(args)) | |
builtins.AttributeError: type object '_PurePosixPath' has no attribute '_from_parts' | |
tests.rest.client.test_login | |
------------------------------------------------------------------------------- | |
Ran 2948 tests in 68.071s | |
FAILED (skips=252, errors=2, successes=2694) | |
=> ERROR: synapse-1.94.0_1: do_check: 'PYTHONPATH="$(cd build/lib* && pwd):." trial3 ${makejobs} tests' exited with 1 | |
=> ERROR: in do_check() at srcpkgs/synapse/template:44 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment