summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-07-15 14:54:49 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-09-25 09:35:41 +0100
commit2c41b24d6010be6d595601017c022f31896bfb2c (patch)
treec632971a41b686064b7d4d5aef865afa251accaa /gnu/packages
parent869c3b6dc46cd559b555e8edfdd9e2e569acf672 (diff)
gnu: python-gitdb: Update to 4.0.12.
* gnu/packages/version-control.scm (python-gitdb): Update to 4.0.12. [build-system]: Use pyproject. [arguments] <test-flags>: Skip one test. <phases>: Use default 'check; add 'pre-check. [native-inputs]: Remove python-nose; add python-pytest, python-setuptools, and python-wheel. Change-Id: I3ede39a717671ae24b05cac99515981fce478ec7
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/version-control.scm18
1 files changed, 10 insertions, 8 deletions
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 6cae9c2546b..1142924efdb 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -1924,16 +1924,19 @@ default) of the repository.")
(define-public python-gitdb
(package
(name "python-gitdb")
- (version "4.0.2")
+ (version "4.0.12")
(source (origin
(method url-fetch)
(uri (pypi-uri "gitdb" version))
(sha256
(base32
- "0l113fphn6msjl3cl3kyf332b6lal7daxdd0nfma0x9ipfb013jr"))))
- (build-system python-build-system)
+ "0wdmzngk870944nc6q5sphzv29jzhgddbh7vzhk366hrbn2izxsy"))))
+ (build-system pyproject-build-system)
(arguments
- `(#:phases (modify-phases %standard-phases
+ ;; One test fails, probably due to low ulimit: ValueError: Expected to
+ ;; write 1000 objects into pack, but received only 0 from iterators.
+ `(#:test-flags '("-k" "not test_pack_writing")
+ #:phases (modify-phases %standard-phases
(add-before 'check 'create-test-repository
(lambda _
(mkdir "/tmp/testrepo")
@@ -1955,16 +1958,15 @@ default) of the repository.")
;; The repository checkout must be a "bare" clone.
(invoke "git" "clone" "--bare" "/tmp/testrepo"
"/tmp/testrepo.git")))
- (replace 'check
+ (add-before 'check 'pre-check
(lambda _
(setenv "GITDB_TEST_GIT_REPO_BASE" "/tmp/testrepo.git")
;; Skip tests that must be run from the gitdb repository.
- (setenv "TRAVIS" "1")
- (invoke "nosetests" "-v"))))))
+ (setenv "TRAVIS" "1"))))))
(propagated-inputs
(list python-smmap))
(native-inputs
- (list git-minimal/pinned python-nose))
+ (list git-minimal/pinned python-pytest python-setuptools python-wheel))
(home-page "https://github.com/gitpython-developers/gitdb")
(synopsis "Python implementation of the Git object database")
(description