Created attachment 241168 [details] patch This unbreaks Cython that fails like this with older versions: File "Cython/Compiler/Visitor.py", line 16, in init Cython.Compiler.Visitor File "/usr/local/lib/python3.9/site-packages/Cython/Compiler/Nodes.py", line 31, in <module> from .Pythran import has_np_pythran, pythran_type, is_pythran_buffer File "/usr/local/lib/python3.9/site-packages/Cython/Compiler/Pythran.py", line 11, in <module> pythran_is_pre_0_9 = tuple(map(int, pythran.__version__.split('.')[0:2])) < (0, 9) AttributeError: module 'pythran' has no attribute '__version__'
It break scipy :(
math/py-petsc4py version 3.19.0 also depends on pythran-0.12.1 - so it can't be updated.
Created attachment 241268 [details] patch
(In reply to Wen Heping from comment #1) Hi Wen, scipy is now updated. devel/py-pythran can probably be updated as well?
(In reply to Yuri Victorovich from comment #4) Yes. scipy-1.10.1 build well with pythran-0.12.1, please go ahead ! wen
Committed, thanks!
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=b6891c08dea0fea35fcd67079b8682c31407d59a commit b6891c08dea0fea35fcd67079b8682c31407d59a Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2023-04-24 04:42:00 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2023-04-24 05:40:25 +0000 devel/py-pythran: Update 0.12.0 → 0.12.1 PR: 270507 Approved by: wen@ (maintainer) devel/py-pythran/Makefile | 7 +++---- devel/py-pythran/distinfo | 6 +++--- .../patch-pythran_xsimd_arch_xsimd__scalar.hpp (new) | 16 ++++++++++++++++ ...patch-third__party_xsimd_arch_xsimd__scalar.hpp (new) | 16 ++++++++++++++++ 4 files changed, 38 insertions(+), 7 deletions(-)