Package Details: py-cidr 3.8.0-1

Git Clone URL: https://aur.archlinux.org/py-cidr.git (read-only, click to copy)
Package Base: py-cidr
Description: python module providing network / CIDR tools
Upstream URL: https://github.com/gene-git/py-cidr
Licenses: MIT
Submitter: GeneArch
Maintainer: GeneArch
Last Packager: GeneArch
Votes: 2
Popularity: 0.022701
First Submitted: 2025-01-18 19:17 (UTC)
Last Updated: 2025-07-17 10:11 (UTC)

Latest Comments

GeneArch commented on 2025-07-17 09:52 (UTC)

@piater - so sorry about that and thanks for letting me know. The getlogin line was accidentally left instead of being deleted. Should be fixed in 3.7.0

piater commented on 2025-07-17 07:47 (UTC)

The os.getlogin() error during check() is back despite an apparent attempt in the code to work around it:

        user = _get_lock_user()

        if user:
>           user = os.getlogin()
                   ^^^^^^^^^^^^^
E           OSError: [Errno -25] Unknown error -25

GeneArch commented on 2025-05-20 23:05 (UTC)

@piater thanks for letting me know - good catch. Should be fixed in 3.4.0. Let me know if you have any further issues.

piater commented on 2025-05-20 20:16 (UTC)

When building in a clean chroot (I guess this triggers the problem), check() fails because one test contains a os.getlogin() that throws an exception. Presumably his test should be rewritten to e.g. use the tempfile module instead.

GeneArch commented on 2025-05-19 09:29 (UTC)

Fixed in 3.2.2 - thank you for letting me know @reylak

Reylak commented on 2025-05-19 07:00 (UTC)

Hello, this PKGBUILD is missing py-test in checkdepends.