Bug 267362 - math/py-numpy: allow to build with python 3.11
Summary: math/py-numpy: allow to build with python 3.11
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: Wen Heping
URL: https://github.com/numpy/numpy/pull/2...
Keywords:
Depends on:
Blocks: 270103
  Show dependency treegraph
 
Reported: 2022-10-26 12:33 UTC by Oleg Sidorkin
Modified: 2023-03-11 08:06 UTC (History)
1 user (show)

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


Attachments
Trivial patch to allow numpy to be installed with python 3.11 (715 bytes, patch)
2022-10-26 12:33 UTC, Oleg Sidorkin
no flags Details | Diff
Trivial patch to allow numpy to be installed with python 3.11 (v2) (711 bytes, patch)
2022-10-27 15:32 UTC, Oleg Sidorkin
osidorkin: maintainer-approval?
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Oleg Sidorkin 2022-10-26 12:33:03 UTC
Created attachment 237650 [details]
Trivial patch to allow numpy to be installed with python 3.11

numpy claims that python 3.11 is supported since 1.23.3. We have 1.23.4 in ports so we can raise allowed python version in our port.
Comment 1 Dmitry Marakasov freebsd_committer freebsd_triage 2022-10-27 12:22:09 UTC
+1, but please do it as "3.8+", otherwise it prevents building numpy and all consumers with newer python version for no reason (the same as what we're experiencing right now).
Comment 2 Dmitry Marakasov freebsd_committer freebsd_triage 2022-10-27 12:41:44 UTC
Also, python version limitation should be changed the similar way in at least devel/boost-python-libs and games/freeorion
Comment 3 Oleg Sidorkin 2022-10-27 12:48:28 UTC
(In reply to Dmitry Marakasov from comment #1)

I'm not quite sure that allowing people to build such low-level library without at least declared upstream support is good.
Comment 4 Dmitry Marakasov freebsd_committer freebsd_triage 2022-10-27 13:05:44 UTC
(In reply to Oleg Sidorkin from comment #3)
I'm sure that 'not allowing' something proactively is a horrible idea.
Comment 5 Oleg Sidorkin 2022-10-27 15:32:43 UTC
Created attachment 237682 [details]
Trivial patch to allow numpy to be installed with python 3.11 (v2)

Ok
Comment 6 commit-hook freebsd_committer freebsd_triage 2022-10-31 06:17:46 UTC
A commit in branch main references this bug:

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

commit 4cf8b1f35f79476d09c3fb31e2087a8d7bcf40cf
Author:     Wen Heping <wen@FreeBSD.org>
AuthorDate: 2022-10-31 06:15:10 +0000
Commit:     Wen Heping <wen@FreeBSD.org>
CommitDate: 2022-10-31 06:15:10 +0000

    math/py-numpy: Allow build with python-3.11

    PR:             267362
    Reported by:    osidorkin@gmail.com

 math/py-numpy/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 7 commit-hook freebsd_committer freebsd_triage 2022-10-31 17:28:13 UTC
A commit in branch main references this bug:

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

commit 244bfa13d9ed100470fbc4f736f270c64d838613
Author:     Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2022-10-31 10:47:51 +0000
Commit:     Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2022-10-31 17:14:41 +0000

    games/freeorion: remove irrelevant python version limitation

    PR:             267362

 games/freeorion/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 8 commit-hook freebsd_committer freebsd_triage 2022-10-31 17:28:14 UTC
A commit in branch main references this bug:

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

commit cf61f740015a953554a76f9fbe197d05f6bf41d2
Author:     Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2022-10-31 10:46:03 +0000
Commit:     Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2022-10-31 17:14:40 +0000

    devel/boost-python-libs: remove irrelevant python version limitation

    PR:             267362

 devel/boost-python-libs/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)