Package Details: python-spin 0.8-1

Git Clone URL: https://aur.archlinux.org/python-spin.git (read-only, click to copy)
Package Base: python-spin
Description: A developer tool for scientific Python libraries
Upstream URL: https://github.com/scientific-python/spin
Licenses: BSD
Submitter: tskaar
Maintainer: tskaar
Last Packager: tskaar
Votes: 0
Popularity: 0.000000
First Submitted: 2023-10-15 19:39 (UTC)
Last Updated: 2023-11-16 03:18 (UTC)

Latest Comments

tskaar commented on 2023-10-28 15:32 (UTC)

Thanks @MarsSeed

I added the dependency and also fixed the test-execution (it needed the CWD in sys.path to execute the tests correctly)

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

Cannot be built:

ModuleNotFoundError: No module named 'setuptools'

If I add python-setuptools to makedepends, then the check() function 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-spin/src/spin-0.7
configfile: pyproject.toml
collected 0 items / 1 error

==================================== ERRORS ====================================
__________________ ERROR collecting spin/tests/test_meson.py ___________________
ImportError while importing test module '/home/user/.cache/makepkg/python-spin/src/spin-0.7/spin/tests/test_meson.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.11/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
spin/tests/test_meson.py:9: in <module>
    from spin.cmds import meson
E   ModuleNotFoundError: No module named 'spin'
=========================== short test summary info ============================
ERROR spin/tests/test_meson.py
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
=============================== 1 error in 0.06s ===============================
==> ERROR: A failure occurred in check().
    Aborting...