Package Details: python-scikit-misc 0.4.0-1

Git Clone URL: https://aur.archlinux.org/python-scikit-misc.git (read-only, click to copy)
Package Base: python-scikit-misc
Description: Miscellaenous tools for scientific computing
Upstream URL: https://github.com/has2k1/scikit-misc
Licenses: BSD-3-Clause
Submitter: tskaar
Maintainer: tskaar
Last Packager: tskaar
Votes: 0
Popularity: 0.000000
First Submitted: 2023-10-15 21:41 (UTC)
Last Updated: 2024-06-25 01:30 (UTC)

Latest Comments

tskaar commented on 2023-10-29 18:16 (UTC)

Thanks @MarsSeed!

I fixed it in the latest PKGBUILD now

MarsSeed commented on 2023-10-28 11:41 (UTC) (edited on 2023-10-28 11:41 (UTC) by MarsSeed)

If I then add makedepends=gcc-fortran, the build succeeds but the check() fails:

==> Starting check()...
============================= test session starts ==============================
platform linux -- Python 3.11.5, pytest-7.4.3, pluggy-1.3.0
rootdir: /home/user/.cache/makepkg/python-scikit-misc/src/scikit-misc-0.3.0
configfile: pyproject.toml
testpaths: skmisc/loess/tests
collected 0 items / 1 error

==================================== ERRORS ====================================
______________ ERROR collecting skmisc/loess/tests/test_loess.py _______________
ImportError while importing test module '/home/user/.cache/makepkg/python-scikit-misc/src/scikit-misc-0.3.0/skmisc/loess/tests/test_loess.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
skmisc/loess/tests/test_loess.py:9: in <module>
    from skmisc.loess import loess, loess_anova
E   ModuleNotFoundError: No module named 'skmisc'
=========================== short test summary info ============================
ERROR skmisc/loess/tests/test_loess.py
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
=============================== 1 error in 0.25s ===============================
==> ERROR: A failure occurred in check().
    Aborting...

MarsSeed commented on 2023-10-28 11:35 (UTC) (edited on 2023-10-28 11:44 (UTC) by MarsSeed)

Also, as per meson files, this needs depends=blas-openblas, because lapack is needed as well, and that is the Arch package that includes lapack from the OpenBLAS implementation.

MarsSeed commented on 2023-10-28 11:32 (UTC)

Cannot be built:

==> Starting build()...
* Getting build dependencies for wheel...

ERROR Missing dependencies:
        setuptools
        Cython>=0.29.35
==> ERROR: A failure occurred in build().
    Aborting...

If I add 'cython' and 'python-setuptools' to makedepends, another build failure occurs:

==> Starting build()...
* Getting build dependencies for wheel...
* Building wheel...
+ meson setup /home/user/.cache/makepkg/python-scikit-misc/src/scikit-misc-0.3.0 /home/user/.cache/makepkg/python-scikit-misc/src/scikit-misc-0.3.0/.mesonpy-ke7c1upb -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --native-file=/home/user/.cache/makepkg/python-scikit-misc/src/scikit-misc-0.3.0/.mesonpy-ke7c1upb/meson-python-native-file.ini
The Meson build system
Version: 1.2.3
Source dir: /home/user/.cache/makepkg/python-scikit-misc/src/scikit-misc-0.3.0
Build dir: /home/user/.cache/makepkg/python-scikit-misc/src/scikit-misc-0.3.0/.mesonpy-ke7c1upb
Build type: native build
Project name: scikit-misc
Project version: 0.3.0
C compiler for the host machine: sccache cc (gcc 13.2.1 "cc (GCC) 13.2.1 20230801")
C linker for the host machine: cc ld.bfd 2.41.0
Cython compiler for the host machine: cython (cython 3.0.4)
Host machine cpu family: x86_64
Host machine cpu: x86_64

../meson.build:18:0: ERROR: Unknown compiler(s): [['gfortran'], ['flang'], ['nvfortran'], ['pgfortran'], ['ifort'], ['ifx'], ['g95']]
The following exception(s) were encountered:
Running `gfortran --version` gave "[Errno 2] No such file or directory: 'gfortran'"
Running `gfortran -V` gave "[Errno 2] No such file or directory: 'gfortran'"
Running `flang --version` gave "[Errno 2] No such file or directory: 'flang'"
Running `flang -V` gave "[Errno 2] No such file or directory: 'flang'"
Running `nvfortran --version` gave "[Errno 2] No such file or directory: 'nvfortran'"
Running `nvfortran -V` gave "[Errno 2] No such file or directory: 'nvfortran'"
Running `pgfortran --version` gave "[Errno 2] No such file or directory: 'pgfortran'"
Running `pgfortran -V` gave "[Errno 2] No such file or directory: 'pgfortran'"
Running `ifort --version` gave "[Errno 2] No such file or directory: 'ifort'"
Running `ifort -V` gave "[Errno 2] No such file or directory: 'ifort'"
Running `ifx --version` gave "[Errno 2] No such file or directory: 'ifx'"
Running `ifx -V` gave "[Errno 2] No such file or directory: 'ifx'"
Running `g95 --version` gave "[Errno 2] No such file or directory: 'g95'"
Running `g95 -V` gave "[Errno 2] No such file or directory: 'g95'"

A full log can be found at /home/user/.cache/makepkg/python-scikit-misc/src/scikit-misc-0.3.0/.mesonpy-ke7c1upb/meson-logs/meson-log.txt

ERROR Backend subprocess exited when trying to invoke build_wheel
==> ERROR: A failure occurred in build().
    Aborting...