Bug 270978 - devel/llvm12: remove obsolete Python limitation imposed by py-sphinx
Summary: devel/llvm12: remove obsolete Python limitation imposed by py-sphinx
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Brooks Davis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-21 13:29 UTC by Michael Osipov
Modified: 2023-06-14 06:39 UTC (History)
1 user (show)

See Also:
michael.osipov: maintainer-feedback-


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Osipov 2023-04-21 13:29:08 UTC
I have moved to Python 3.10 and llvm12 forces me to install 3.9. According to https://github.com/freebsd/freebsd-ports/commit/04945857ab7af0a5a94ecc472d80efb4a6abfd8e this was done in good spirit with py-sphinx. Nowaways, this isn't an issue anymore: https://github.com/freebsd/freebsd-ports/blob/2c27890887b85339a02ba78ccd0930fdf50351b1/textproc/py-sphinx/Makefile#L41

Please lift this limitation and MFH to 2023Q3.

OpenJDK 11+ requires this as a build time dependency.

Thanks!

PS: I have lifted locally for 3.10 and the package has just build fine.
Comment 1 Brooks Davis freebsd_committer freebsd_triage 2023-04-21 16:56:34 UTC
Thanks for the report, looks like an easy fix.  I'll also bump all the 3.6+ entries to 3.7+ since there's no more 3.6 in the tree.
Comment 2 Michael Osipov 2023-04-21 17:45:35 UTC
(In reply to Brooks Davis from comment #1)

Correct, that will be best.
Comment 3 commit-hook freebsd_committer freebsd_triage 2023-04-24 17:08:00 UTC
A commit in branch main references this bug:

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

commit fb323dfd2ac2499f35e4d31a24fd9dd958af619a
Author:     Brooks Davis <brooks@FreeBSD.org>
AuthorDate: 2023-04-24 17:06:31 +0000
Commit:     Brooks Davis <brooks@FreeBSD.org>
CommitDate: 2023-04-24 17:06:31 +0000

    devel/llvm*: Consistently use python:3.7+

    llvm12 was inappropriately constrained to 3.6-3.9 breaking the ability
    to set 3.10 as the default.  llvm11 just specified "python", but there's
    no need to keep 2.7 support around.  The rest had obsolete 3.6+ entries.

    No functional change: This is not expected to change the version of
    python used.

    PR:             270978
    MFH:            2023Q2
    Reported by:    michael.osipov@siemens.com
    Sponsored by:   DARPA

 devel/llvm-cheri/Makefile | 6 +++---
 devel/llvm-devel/Makefile | 6 +++---
 devel/llvm10/Makefile     | 8 ++++----
 devel/llvm11/Makefile     | 8 ++++----
 devel/llvm12/Makefile     | 8 ++++----
 devel/llvm13/Makefile     | 8 ++++----
 devel/llvm14/Makefile     | 8 ++++----
 devel/llvm15/Makefile     | 8 ++++----
 devel/llvm16/Makefile     | 8 ++++----
 9 files changed, 34 insertions(+), 34 deletions(-)
Comment 4 Michael Osipov 2023-05-04 10:48:40 UTC
(In reply to commit-hook from comment #3)

Brooks, can you back port to 2023Q2 and close this issue?
Comment 5 Michael Osipov 2023-06-13 06:47:21 UTC
Maintainer timeout, next quarterly is approaching...
Comment 6 commit-hook freebsd_committer freebsd_triage 2023-06-13 18:04:05 UTC
A commit in branch 2023Q2 references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=002024a3a13eff3a297b88c8fcc511fcc1d45408

commit 002024a3a13eff3a297b88c8fcc511fcc1d45408
Author:     Brooks Davis <brooks@FreeBSD.org>
AuthorDate: 2023-05-05 12:53:05 +0000
Commit:     Brooks Davis <brooks@FreeBSD.org>
CommitDate: 2023-06-13 18:02:38 +0000

    devel/llvm*: Consistently use python:3.7+

    llvm12 was inappropriately constrained to 3.6-3.9 breaking the ability
    to set 3.10 as the default.  llvm11 just specified "python", but there's
    no need to keep 2.7 support around.  The rest had obsolete 3.6+ entries.

    No functional change: This is not expected to change the version of
    python used.

    PR:             270978
    Reported by:    michael.osipov@siemens.com
    Sponsored by:   DARPA

    (cherry picked from commit fb323dfd2ac2499f35e4d31a24fd9dd958af619a)

 devel/llvm-cheri/Makefile |  6 +++---
 devel/llvm-devel/Makefile |  6 ++++--
 devel/llvm10/Makefile     |  8 ++++----
 devel/llvm11/Makefile     |  8 ++++----
 devel/llvm12/Makefile     |  8 ++++----
 devel/llvm13/Makefile     |  8 ++++----
 devel/llvm14/Makefile     |  8 ++++----
 devel/llvm15/Makefile     |  8 ++++----
 devel/llvm16/Makefile     | 11 +++++------
 9 files changed, 36 insertions(+), 35 deletions(-)
Comment 7 Brooks Davis freebsd_committer freebsd_triage 2023-06-13 18:05:10 UTC
Sorry for the delay, I started this MFH and then a pile of other obligations caused me to loose track of it.  I've merged it now.
Comment 8 Michael Osipov 2023-06-14 06:39:55 UTC
(In reply to Brooks Davis from comment #7)

Thanks, appreciated.