Package Details: python-portalocker 4.4.2-1

Git Clone URL: https://aur.archlinux.org/python-portalocker.git (read-only, click to copy)
Package Base: python-portalocker
Description: Easy, portable file locking API.
Upstream URL: https://github.com/WoLpH/portalocker
Licenses: BSD-3-Clause
Submitter: eta-carinae
Maintainer: eta-carinae
Last Packager: eta-carinae
Votes: 8
Popularity: 0.26
First Submitted: 2016-04-27 16:56 (UTC)
Last Updated: 2026-11-01 20:07 (UTC)

Latest Comments

1 2 Next › Last »

Smoolak commented on 2026-10-21 20:26 (UTC)

I reproduced the uv_build<0.13 failure reported below. I emailed a 4.4.1 recipe allowing uv_build<0.14.

It built with uv_build 0.13.1 and passed 112 selected upstream tests. Exclusive locking and lock reacquisition also worked after installation.

Would you be willing to add me as a co-maintainer? I can help maintain build-tool compatibility and test future updates.

aurifier commented on 2026-10-21 13:35 (UTC) (edited on 2026-10-21 13:36 (UTC) by aurifier)

Hey, when I try to build this guy in a clean chroot, I get:

ERROR Unmet dependencies (checked against /usr/bin/python):
        uv_build<0.13,>=0.11
                wanted: <0.13,>=0.11
                found: 0.13.4
==> ERROR: A failure occurred in build().

I was able to cheat around it by updating the pyproject.toml in prepare() to tolerate the newer uv_build, but I'm not sure how you would feel about updating the PKGBUILD with something hacky like that. So FYI I guess :)

eta-carinae commented on 2026-09-28 17:51 (UTC)

Done. Thanks for the heads up, clalos. Also updated to 4.4.0.

clalos commented on 2026-09-28 14:06 (UTC)

Could you switch the source URL from the legacy pypi.python.org redirector to the stable file host? The redirector intermittently returns HTTP 503 (it did for several minutes on 2026-09-28, breaking builds), while files.pythonhosted.org serves the same sdist directly. The Arch Python package guidelines recommend this form:

source=("https://files.pythonhosted.org/packages/source/p/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")

The checksum is unchanged, since it is the same artifact the redirector points to. Thanks for maintaining the package.

NullX47 commented on 2025-05-30 15:08 (UTC) (edited on 2025-05-30 15:10 (UTC) by NullX47)

falling check errors result in unbuildable pkg : https://paste.cachyos.org/p/03e7eff

the build log : https://paste.cachyos.org/p/91a7dd6

hias commented on 2024-04-27 18:43 (UTC) (edited on 2024-04-27 18:44 (UTC) by hias)

Hi, thanks for this AUR package :-D The build failed whith

ERROR Missing dependencies:
        setuptools-scm
inside of build()

python-setuptools-scm 8.0.4-3 is installed btw. it would be cool someone could help me out here.

full makepkg -s output (German):

==> Erstelle Paket: python-portalocker 2.8.2-2 (Sa 27 Apr 2024 20:21:32 CEST)
==> Prüfe Laufzeit-Abhängigkeiten...
==> Prüfe Buildtime-Abhängigkeiten...
==> Empfange Quellen...
  -> portalocker-2.8.2.tar.gz gefunden
==> Überprüfe source Dateien mit sha256sums...
    portalocker-2.8.2.tar.gz ... Erfolg
==> Entpacke Quellen...
  -> Entpacke portalocker-2.8.2.tar.gz mit bsdtar
==> Entferne existierendes $pkgdir/ Verzeichnis...
==> Beginne build()...
* Getting build dependencies for wheel...
validate_pyproject.api.load_builtin_plugin defines `tool.distutils` schema
validate_pyproject.api.load_builtin_plugin defines `tool.setuptools` schema
running egg_info
writing portalocker.egg-info/PKG-INFO
writing dependency_links to portalocker.egg-info/dependency_links.txt
writing requirements to portalocker.egg-info/requires.txt
writing top-level names to portalocker.egg-info/top_level.txt
reading manifest file 'portalocker.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'portalocker.egg-info/SOURCES.txt'

ERROR Missing dependencies:
        setuptools-scm
==> FEHLER: Ein Fehler geschah in build().
    Breche ab...

eta-carinae commented on 2023-12-10 19:31 (UTC)

Should be fixed now. That's what I get for not using a clean chroot.

micwoj92 commented on 2023-12-10 19:11 (UTC)

Add python-pygments to checkdepends.

eta-carinae commented on 2023-12-10 16:05 (UTC)

This is now up-to-date with as of version 2.8.2. Sorry, I've had COVID and been out of commission for several weeks.