[Bug 256232] security/py-flask-saml: Fails run-depends on py39 after security/py-pysaml2 update to 7.0

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 29 May 2021 00:20:16 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256232

            Bug ID: 256232
           Summary: security/py-flask-saml: Fails run-depends on py39
                    after security/py-pysaml2 update to 7.0
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: john@saltant.com
                CC: sunpoet@FreeBSD.org
                CC: sunpoet@FreeBSD.org

Created attachment 225350
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=225350&action=edit
security/py-flask-saml: Limit python version compatibility

poudriere log excerpt
=====================

===>   py39-Flask-SAML-0.4.4 depends on package: py39-pysaml2>=5.1.0<6.20 - not
found
*** Error code 1

Analysis
========

Since 0.4.4, flask_saml has required 'pysaml2>=5.1.0,<6.20' when built against
Python 3.9 or later [0], for reasons that are not clear. On 2021-05-26,
security/py-pysaml2 was upgraded from 6.5.0 to 7.0.0 [1], so the ports tree no
longer supplies a version of pysaml2 that satisfies this requirement.

Action
======

1) Submitted enhancement request to upstream project [2].
2) Prepared patch to limit current port to Python <3.9

[0]
https://bitbucket.org/asecurityteam/flask_saml/commits/a8ff66f3963b1fc6201293c949d6f3f5c8702b46#Lsetup.pyT22
[1]
https://cgit.freebsd.org/ports/commit/?id=11e789d4217c2b7e11aa31a63a83c12eb789f220
[2]
https://bitbucket.org/asecurityteam/flask_saml/issues/9/add-support-for-pysaml2-70-under-python-39

-- 
You are receiving this mail because:
You are the assignee for the bug.