-
Notifications
You must be signed in to change notification settings - Fork 198
Closed
Description
Found while building scipy which depends on pythran
#28 59.45 pdm.termui: [651/1475] Generating 'scipy/stats/_stats_pythran.cpython-311-x86_64-linux-gnu.so.p/_stats_pythran.cpp'
#28 59.45 pdm.termui: FAILED: scipy/stats/_stats_pythran.cpython-311-x86_64-linux-gnu.so.p/_stats_pythran.cpp
#28 59.45 pdm.termui: /tmp/pdm-build-env-4jkfvkat-shared/bin/pythran -E ../scipy/stats/_stats_pythran.py -o scipy/stats/_stats_pythran.cpython-311-x86_64-linux-gnu.so.p/_stats_pythran.cpp
#28 59.45 pdm.termui: Traceback (most recent call last):
#28 59.45 pdm.termui: File "/tmp/pdm-build-env-4jkfvkat-shared/bin/pythran", line 8, in <module>
#28 59.45 pdm.termui: sys.exit(run())
#28 59.45 pdm.termui: ^^^^^
#28 59.45 pdm.termui: File "/tmp/pdm-build-env-4jkfvkat-shared/lib/python3.11/site-packages/pythran/run.py", line 181, in run
#28 59.45 pdm.termui: pythran.compile_pythranfile(args.input_file,
#28 59.45 pdm.termui: ^^^^^^^^^^^^^^^^^^^^^^^^^^^
#28 59.45 pdm.termui: File "/tmp/pdm-build-env-4jkfvkat-shared/lib/python3.11/site-packages/pythran/__init__.py", line 127, in __getattr__
#28 59.45 pdm.termui: import pythran.toolchain
#28 59.45 pdm.termui: File "/tmp/pdm-build-env-4jkfvkat-shared/lib/python3.11/site-packages/pythran/toolchain.py", line 11, in <module>
#28 59.45 pdm.termui: from pythran.dist import PythranExtension, PythranBuildExt
#28 59.45 pdm.termui: File "/tmp/pdm-build-env-4jkfvkat-shared/lib/python3.11/site-packages/pythran/dist.py", line 139, in <module>
#28 59.45 pdm.termui: class PythranBuildExt(PythranBuildExtMixIn, LegacyBuildExt, metaclass=PythranBuildExtMeta):
#28 59.45 pdm.termui: TypeError: metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases
Build environment
#28 27.59 pdm.termui: ======== Resolution Result ========
#28 27.59 pdm.termui: Stable pins:
#28 27.59 pdm.termui: python None
#28 27.59 pdm.termui: cython 3.0.11
#28 27.59 pdm.termui: meson-python 0.16.0
#28 27.59 pdm.termui: numpy 2.1.0
#28 27.59 pdm.termui: pybind11 2.12.0
#28 27.59 pdm.termui: pythran 0.15.0
#28 27.59 pdm.termui: beniget 0.4.2.post1
#28 27.59 pdm.termui: gast 0.5.5
#28 27.59 pdm.termui: meson 1.5.1
#28 27.59 pdm.termui: packaging 24.1
#28 27.59 pdm.termui: ply 3.11
#28 27.59 pdm.termui: pyproject-metadata 0.8.0
#28 27.59 pdm.termui: setuptools 73.0.0
See relevant discussion in scipy repo: scipy/scipy#21416
Metadata
Metadata
Assignees
Labels
No labels