Skip to content

TypeError: Backend.__init__() takes 17 positional arguments but 18 were given #22

@yurivict

Description

@yurivict

Build fails:

===>  Building for py311-qmllib-1.1.5
* Getting build dependencies for wheel...
Using numpy 1.26.4
export FFLAGS='-O3 -fopenmp -m64 -march=native -fPIC -Wno-maybe-uninitialized -Wno-unused-function -Wno-cpp'
export LDFLAGS='-lgomp -lpthread -lm -ldl -L/usr/lib/ -lblas -llapack'
export FCC='gfortran'
src/qmllib/representations /usr/local/bin/python3.11 -m numpy.f2py -c frepresentations.f90 -m frepresentations --backend meson
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/usr/local/lib/python3.11/site-packages/numpy/f2py/__main__.py", line 5, in <module>
    main()
  File "/usr/local/lib/python3.11/site-packages/numpy/f2py/f2py2e.py", line 768, in main
    run_compile()
  File "/usr/local/lib/python3.11/site-packages/numpy/f2py/f2py2e.py", line 720, in run_compile
    builder = build_backend(
              ^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/numpy/f2py/_backends/_meson.py", line 123, in __init__
    super().__init__(*args, **kwargs)
TypeError: Backend.__init__() takes 17 positional arguments but 18 were given

Version: 1.1.5
Python-3.11
FreeBSD 14.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions