Bug 258419 - net-im/py-matrix-synapse: Update to 1.42.0
Summary: net-im/py-matrix-synapse: Update to 1.42.0
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Ashish SHUKLA
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-11 07:20 UTC by Ashish SHUKLA
Modified: 2021-09-14 08:18 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (ports)


Attachments
Update diff (2.16 KB, patch)
2021-09-11 07:20 UTC, Ashish SHUKLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ashish SHUKLA freebsd_committer 2021-09-11 07:20:04 UTC
Created attachment 227823 [details]
Update diff

Update to 1.42.0
Comment 1 Sascha Biberhofer 2021-09-14 08:18:33 UTC
(In reply to Ashish SHUKLA from comment #0)
Sorry for the delay, I've been a bit busy. :(

Diff looks fine to me, but running the tests currently results in an error, though I'm not sure if this is actually synapse's fault. It might be caused by the recent bump in py-xmlschema, but I'll need a bit of time to properly pinpoint this issue. Full error:

tests.handlers.test_saml
===============================================================================
[ERROR]
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/twisted/trial/runner.py", line 598, in loadPackage
    module = modinfo.load()
  File "/usr/local/lib/python3.8/site-packages/twisted/python/modules.py", line 390, in load
    return self.pathEntry.pythonPath.moduleLoader(self.name)
  File "/usr/local/lib/python3.8/site-packages/twisted/python/reflect.py", line 298, in namedAny
    topLevelPackage = _importAndCheckStack(trialname)
  File "/usr/local/lib/python3.8/site-packages/twisted/python/reflect.py", line 239, in _importAndCheckStack
    return __import__(importName)
  File "/var/ports/usr/local/ports/net-im/py-matrix-synapse/work-py38/synapse-1.42.0/tests/rest/client/test_login.py", line 34, in <module>
    from tests.handlers.test_saml import has_saml2
  File "/var/ports/usr/local/ports/net-im/py-matrix-synapse/work-py38/synapse-1.42.0/tests/handlers/test_saml.py", line 27, in <module>
    import saml2.config
  File "/usr/local/lib/python3.8/site-packages/saml2/config.py", line 22, in <module>
    from saml2.mdstore import MetadataStore
  File "/usr/local/lib/python3.8/site-packages/saml2/mdstore.py", line 28, in <module>
    from saml2.httpbase import HTTPBase
  File "/usr/local/lib/python3.8/site-packages/saml2/httpbase.py", line 13, in <module>
    from saml2.pack import http_post_message
  File "/usr/local/lib/python3.8/site-packages/saml2/pack.py", line 20, in <module>
    from saml2.sigver import REQ_ORDER, RESP_ORDER
  File "/usr/local/lib/python3.8/site-packages/saml2/sigver.py", line 55, in <module>
    from saml2.xml.schema import node_to_schema
  File "/usr/local/lib/python3.8/site-packages/saml2/xml/schema/__init__.py", line 3, in <module>
    from xmlschema import XMLSchema as _XMLSchema
  File "/usr/local/lib/python3.8/site-packages/xmlschema/__init__.py", line 20, in <module>
    from .dataobjects import DataElement, DataElementConverter, DataBindingConverter
  File "/usr/local/lib/python3.8/site-packages/xmlschema/dataobjects.py", line 20, in <module>
    from . import validators
  File "/usr/local/lib/python3.8/site-packages/xmlschema/validators/__init__.py", line 21, in <module>
    from .identities import XsdSelector, XsdFieldSelector, XsdIdentity, XsdKeyref, XsdKey, \
  File "/usr/local/lib/python3.8/site-packages/xmlschema/validators/identities.py", line 24, in <module>
    from .attributes import XsdAttribute
  File "/usr/local/lib/python3.8/site-packages/xmlschema/validators/attributes.py", line 27, in <module>
    from .simple_types import XsdSimpleType
  File "/usr/local/lib/python3.8/site-packages/xmlschema/validators/simple_types.py", line 31, in <module>
    from .facets import XsdFacet, XsdWhiteSpaceFacet, XSD_10_FACETS_BUILDERS, \
  File "/usr/local/lib/python3.8/site-packages/xmlschema/validators/facets.py", line 674, in <module>
    def evaluate_last(self, context=None):
  File "/usr/local/lib/python3.8/site-packages/elementpath/tdop.py", line 734, in bind
    assert callable(getattr(token_class, func.__name__, None)), \
builtins.AssertionError: The name 'evaluate_last' does not match with a callable of <class 'xmlschema.validators.facets._LastFunction'>.