Package Details: python-lap 1:0.4.0-1

Git Clone URL: https://aur.archlinux.org/python-lap.git (read-only, click to copy)
Package Base: python-lap
Description: lap is a linear assignment problem solver using Jonker-Volgenant algorithm for dense (LAPJV) or sparse (LAPMOD) matrices.
Upstream URL: https://github.com/gatagat/lap
Keywords: lap linear python solver
Licenses: BSD-2-Clause
Submitter: fanyujun
Maintainer: None
Last Packager: fanyujun
Votes: 0
Popularity: 0.000000
First Submitted: 2023-10-12 13:07 (UTC)
Last Updated: 2024-03-12 07:03 (UTC)

Latest Comments

fanyujun commented on 2024-05-12 17:57 (UTC)

@ThePirate42 Thanks for reporting issues. This error was due to that numpy.distutils was removed for Python >= 3.12. However, it seems that the author has stopped maintaining it for years. I suggest using python-lapx instead, for which I would try to open another AUR package called python-lapx.

c.f. https://github.com/rathaROG/lapx

ThePirate42 commented on 2024-05-03 15:17 (UTC)

The build fails with:

* Building wheel...
<string>:4: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
Partial import of lap during the build process.
Traceback (most recent call last):
File "/usr/lib/python3.12/site-packages/pyproject_hooks/_in_process/_in_process.py", line 373, in <module>
    main()
File "/usr/lib/python3.12/site-packages/pyproject_hooks/_in_process/_in_process.py", line 357, in main
    json_out["return_val"] = hook(**hook_input["kwargs"])
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/pyproject_hooks/_in_process/_in_process.py", line 271, in build_wheel
    return _build_backend().build_wheel(
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/setuptools/build_meta.py", line 404, in build_wheel
    return self._build_with_temp_dir(
        ^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/setuptools/build_meta.py", line 389, in _build_with_temp_dir
    self.run_setup()
File "/usr/lib/python3.12/site-packages/setuptools/build_meta.py", line 480, in run_setup
    super(_BuildMetaLegacyBackend, self).run_setup(setup_script=setup_script)
File "/usr/lib/python3.12/site-packages/setuptools/build_meta.py", line 311, in run_setup
    exec(code, locals())
File "<string>", line 236, in <module>
File "<string>", line 223, in setup_package
ModuleNotFoundError: No module named 'numpy.distutils'

ERROR Backend subprocess exited when trying to invoke build_wheel

fanyujun commented on 2024-03-12 07:07 (UTC)

Thanks @tapajos, I added cython as make dependency.

Besides, I changed the version to 0.4.0 to make it consistent with pypi version.

tapajos commented on 2024-03-11 12:15 (UTC)

Build error:

  File "<string>", line 237, in <module>
  File "<string>", line 231, in setup_package
  File "<string>", line 146, in generate_cython
  File "<string>", line 91, in cythonize
ImportError: Building lapjv requires cython, please "pip install cython".

ERROR Backend subprocess exited when trying to invoke build_wheel

Please add cython as a make dependency