Package Details: python-sysv_ipc 1.1.0-6

Git Clone URL: https://aur.archlinux.org/python-sysv_ipc.git (read-only, click to copy)
Package Base: python-sysv_ipc
Description: System V IPC primitives (semaphores, shared memory and message queues) for Python
Upstream URL: http://semanchuk.com/philip/sysv_ipc/
Licenses: BSD
Submitter: jelly
Maintainer: ktamp
Last Packager: ktamp
Votes: 4
Popularity: 1.60
First Submitted: 2024-02-24 10:28 (UTC)
Last Updated: 2024-05-08 06:57 (UTC)

Latest Comments

oliverpoool commented on 2024-05-05 11:19 (UTC) (edited on 2024-05-05 11:20 (UTC) by oliverpoool)

I think the line 24 of PKGBUILD should be removed (already called line 23 with the proper PYTHONPATH):

python -m unittest discover

wandrien commented on 2024-05-04 06:00 (UTC)

According to the wiki, the correct lines should probably be:

check() {
  cd sysv_ipc-$pkgver
  local python_version=$(python -c 'import sys; print("".join(map(str, sys.version_info[:2])))')
  PYTHONPATH="$PWD/build/lib.linux-$CARCH-cpython-$python_version" python -m unittest discover
}

ktamp commented on 2024-05-02 23:44 (UTC)

One of the reasons for adopting and updating this package was exactly systemd-swap. Before the update, building it would fail on my systems. After the update building it succeeds.

I asume you too have python v.3.12 installed. Thus sysv_ipc* file and folder should be in /usr/lib/python3.12/site-packages.

Could you please have a look in /usr/lib/python3.11 (the previous python version) and see which folders exist in there?

markusressel commented on 2024-05-02 11:14 (UTC)

This currently breaks dependencies like systemd-swap due to the tests failing. Please fix :)

jelly commented on 2024-04-30 06:47 (UTC)

While you are updating it, don't hardcode the Python version when running tests https://wiki.archlinux.org/title/Python_package_guidelines#Check

timothy.lee commented on 2024-04-30 03:46 (UTC) (edited on 2024-04-30 03:50 (UTC) by timothy.lee)

PKGBUILD needs to be updated for Python 3.12, ie:

pkgrel=4

...

PYTHONPATH="$PWD/build/lib.linux-$CARCH-cpython-312" python -m unittest discover