@@ -2114,15 +2114,25 @@ (define-public python-fb-re2
(define-public python-filelock
(package
(name "python-filelock")
- (version "3.0.12")
+ (version "3.8.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "filelock" version))
(sha256
(base32
- "0ngzlvb5j8gqs2nxlp2b0jhzii792h66wsn694qm8kqixr225n0q"))))
- (build-system python-build-system)
+ "1p2f1il288abcrjx002w25dzl9jd1392cfminv2rh8bgcsm7qi2m"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'compatibility-fixes
+ (lambda _
+ ;; We have an outdated version of setuptools-scm
+ (substitute* "pyproject.toml" (("7.0.5") "6.3.2")))))))
+ ;; Required for the version to be properly defined in METADATA
+ (native-inputs (list python-setuptools-scm))
(home-page
"https://github.com/benediktschmitt/py-filelock")
(synopsis "Platform independent file lock")