[MacPorts] #68908: py-numpy: pep517 backend broken: ERROR: Unknown compiler(s): [['cython'], ['cython3']]

MacPorts noreply at macports.org
Sun Dec 17 13:16:53 UTC 2023


#68908: py-numpy: pep517 backend broken: ERROR: Unknown compiler(s): [['cython'],
['cython3']]
-------------------------+-------------------------------------------------
  Reporter:              |      Owner:  michaelld
  barracuda156           |
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.8.1
Resolution:              |   Keywords:  tiger, leopard, snowleopard,
      Port:              |  powerpc
  py311-numpy            |
-------------------------+-------------------------------------------------

Comment (by reneeotten):

 there are many issues with the update to NumPy 1.26+ and it appears
 testing wasn't done properly before that PR was merged. Also the variants
 selecting a different BLAS/LAPACK implementation are broken.
 Similar issues are happening in the latest SciPy version, where we at
 least can use our own {{{meson}}} port to build it so that irons out some
 of the issues you're describing here. I would think that's the first thing
 we should try: use our {{{meson}}} and {{{meson-python}}} ports instead of
 the vendored ones.

 The error message you show in the ticket title is expected though as none
 of our {{{py-cython}}} ports install scripts without the Python-version-
 suffix. So you will need to create a link to that in a {{{pre-build}}}
 phase as in (which at least works for my WIP SciPy update):
 {{{
     # meson build systems is looking for default filenames without the
 version suffix
     pre-build {
         ln -s ${prefix}/bin/cython-${python.branch} ${worksrcpath}/cython
         build.env-append    PATH=$env(PATH):${worksrcpath}
     }
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/68908#comment:12>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list