Bug 276359 - security/py-flask-saml: Update to 0.5.1
Summary: security/py-flask-saml: Update to 0.5.1
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-15 22:04 UTC by John W. O'Brien
Modified: 2024-02-07 18:19 UTC (History)
2 users (show)

See Also:


Attachments
security/py-flask-saml: Update to 0.5.1 (1.62 KB, text/plain)
2024-01-15 22:04 UTC, John W. O'Brien
john: maintainer-approval+
Details

Note You need to log in before you can comment on or make changes to this bug.
Description John W. O'Brien 2024-01-15 22:04:38 UTC
Created attachment 247690 [details]
security/py-flask-saml: Update to 0.5.1

Changelog
=========

*   Update to 0.5.1

QA
==

portlint: OK
poudriere: OK -- testport on 13.2-RELEASE amd64 w/py38, py39, py310 (default), and py311
Comment 1 commit-hook freebsd_committer freebsd_triage 2024-01-19 03:26:20 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2e26811c8c2ca2c8067f975767cadb2b881c026f

commit 2e26811c8c2ca2c8067f975767cadb2b881c026f
Author:     Wen Heping <wen@FreeBSD.org>
AuthorDate: 2024-01-19 03:24:53 +0000
Commit:     Wen Heping <wen@FreeBSD.org>
CommitDate: 2024-01-19 03:25:47 +0000

    security/py-flask-saml: Update to 0.5.1

    PR:             276359
    Reported by:    maintainer

 security/py-flask-saml/Makefile | 7 +++----
 security/py-flask-saml/distinfo | 6 +++---
 2 files changed, 6 insertions(+), 7 deletions(-)
Comment 2 John W. O'Brien 2024-01-22 12:10:40 UTC
(In reply to commit-hook from comment #1)

Thanks for taking this, Wen.

It looks like the commit that landed is a little different than the patch I prepared when it comes to security/py-pysaml* in RUN_DEPENDS. I'm inclined to believe this was a mistake, since "pysaml24>=6.5.0<5" is self-evidently unsatisfiable.

 .if ${PYTHON_REL} < 30900
RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}pysaml26>=6.5.0:security/py-pysaml26@${PY_FLAVOR}
 .else
RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}pysaml2>=6.5.0:security/py-pysaml2@${PY_FLAVOR}
 .endif

Flask-SAML itself claims support for Python 3.8 or higher. PySAML, on the other hand, dropped support for 3.8 as of 7.4.0. security/py-pysaml26 still satisfies the ">=6.5.0" dependency and supports 3.8.

What's your perspective?
Comment 3 John W. O'Brien 2024-02-04 14:50:51 UTC
Wen, this port is failing run-depends with py38, which I think is avoidable. Could you please respond to comment #2?
Comment 4 Wen Heping freebsd_committer freebsd_triage 2024-02-05 01:12:02 UTC
(In reply to John W. O'Brien from comment #3)
Sorry for the delay.
It is my fault. 
I shall update it as your patch.
Comment 5 commit-hook freebsd_committer freebsd_triage 2024-02-05 01:27:31 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5f993c18c21e1c49834414a966c20d5fb712161b

commit 5f993c18c21e1c49834414a966c20d5fb712161b
Author:     Wen Heping <wen@FreeBSD.org>
AuthorDate: 2024-02-05 01:24:44 +0000
Commit:     Wen Heping <wen@FreeBSD.org>
CommitDate: 2024-02-05 01:26:23 +0000

    security/py-flask-saml: Fix typo in previous commit

    PR:             276359
    Reported by:    john@saltant.com(maintainer)

 security/py-flask-saml/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
Comment 6 John W. O'Brien 2024-02-05 13:10:42 UTC
(In reply to Wen Heping from comment #4)

Thanks, Wen. It doesn't look like I have a way to assign this bug to you for resolution.
Comment 7 Wen Heping freebsd_committer freebsd_triage 2024-02-05 14:36:26 UTC
(In reply to John W. O'Brien from comment #6)
No problem.
Would you close the PR if all is OK ?
Comment 8 John W. O'Brien 2024-02-06 14:21:38 UTC
(In reply to Wen Heping from comment #7)

This port is still failing in run-depends with py38.

From my patch:


 .if ${PYTHON_REL} < 30900
RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}pysaml26>=6.5.0:security/py-pysaml26@${PY_FLAVOR}
 .else
RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}pysaml2>=6.5.0:security/py-pysaml2@${PY_FLAVOR}
 .endif


After your last commit:


.if ${PYTHON_REL} < 30900
RUN_DEPENDS+=   ${PYTHON_PKGNAMEPREFIX}pysaml24>=6.5.0:security/py-pysaml24@${PY_FLAVOR}
.else
RUN_DEPENDS+=   ${PYTHON_PKGNAMEPREFIX}pysaml26>=6.5.0:security/py-pysaml26@${PY_FLAVOR}
.endif
Comment 9 commit-hook freebsd_committer freebsd_triage 2024-02-07 12:18:55 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2a70b63721df5009c22985b80df8431d33c620b8

commit 2a70b63721df5009c22985b80df8431d33c620b8
Author:     Wen Heping <wen@FreeBSD.org>
AuthorDate: 2024-02-07 12:16:16 +0000
Commit:     Wen Heping <wen@FreeBSD.org>
CommitDate: 2024-02-07 12:17:27 +0000

    security/py-flask-saml: Correct EUN_DEPENDS

    PR:             276359
    Reported by:    john@saltant.com(maintainer)

 security/py-flask-saml/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)