guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit 6bed0f17a3197f42b6e9163a51b8400bbe1da44f
Author: Nicolas Graves <[email protected]>
AuthorDate: Fri Oct 31 08:48:30 2025 +0100
gnu: Add python-filelock-bootstrap.
* gnu/packages/python-build.scm (python-filelock-bootstrap): New variable.
* gnu/packages/python-xyz.scm (python-filelock): Inherit from
python-filelock-bootstrap.
Change-Id: I0a0ff8246bcdccd384fe36119fd1125b53e0f670
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/python-build.scm | 26 ++++++++++++++++++++++++++
gnu/packages/python-xyz.scm | 2 ++
2 files changed, 28 insertions(+)
diff --git a/gnu/packages/python-build.scm b/gnu/packages/python-build.scm
index ac46590c32..92c03a1355 100644
--- a/gnu/packages/python-build.scm
+++ b/gnu/packages/python-build.scm
@@ -1030,6 +1030,32 @@ compatible build front-ends to build Poetry managed
projects.")
(define-deprecated/public-alias python-poetry-core-next
python-poetry-core) ;may be removed after 2025-12-01
+(define-public python-filelock-bootstrap
+ ;; Try to update simultaneously with the standard version in
+ ;; (gnu packages python-build).
+ (package
+ (name "python-filelock-bootstrap")
+ (version "3.16.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "filelock" version))
+ (sha256
+ (base32
+ "0d8ljvmsfgriiqf5dqii91gfcpj7cpjrh8fnsvifaiyvspygnjf2"))))
+ (build-system pyproject-build-system)
+ (arguments (list #:tests? #f)) ; avoid extra dependencies.
+ (native-inputs
+ (list python-hatch-vcs-bootstrap
+ python-hatchling
+ python-setuptools-scm-bootstrap))
+ (home-page "https://github.com/tox-dev/py-filelock")
+ (synopsis "Platform independent file lock")
+ (description "@code{filelock} contains a single module implementing
+a platform independent file lock in Python, which provides a simple way of
+inter-process communication.")
+ (license license:unlicense)))
+
;;; This package exists to bootstrap python-tomli.
(define-public python-flit-core-bootstrap
(package
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 96d5cd7b99..3576063778 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -5859,6 +5859,8 @@ Python's built-in @code{re} module with compatible
interfaces.")
(license license:bsd-3)))
(define-public python-filelock
+ ;; Try to update simultaneously with the bootstrap version in
+ ;; (gnu packages python-build).
(package
(name "python-filelock")
(version "3.16.1")