summaryrefslogtreecommitdiff
path: root/gnu/packages/python-check.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-08-11 19:37:53 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-09-25 09:36:12 +0100
commitad11d68fe147268114b422774006921f492e9b94 (patch)
treef8f02317c112b1c675fbbeaf3e0a93e7fcf00a23 /gnu/packages/python-check.scm
parentcad01598b6cb9778c9524e5a9f5ac8e0907d3297 (diff)
gnu: python-expecttest: Update to 0.3.0.
* gnu/packages/python-check.scm (python-expecttest): Update to 0.3.0. [native-inputs]: Remove poetry; add python-poetry-core. Change-Id: If0e4a51fe0acfcca06aec952f9c24be09823b5be
Diffstat (limited to 'gnu/packages/python-check.scm')
-rw-r--r--gnu/packages/python-check.scm29
1 files changed, 10 insertions, 19 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index b8e2eba103d..a4a9cd919a2 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -695,39 +695,30 @@ syntax that are likely to be commented out code.")
(license license:expat)))
(define-public python-expecttest
- (let ((commit "683b09a352cc426851adc2e3a9f46e0ab25e4dee")
- (revision "0"))
(package
(name "python-expecttest")
- (version (git-version "0.2.1" revision commit))
+ (version "0.3.0")
(source
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/ezyang/expecttest")
- (commit commit)))
+ (url "https://github.com/pytorch/expecttest")
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
- "1djwxp9x1hczzxbimv1b1bmd083am88v27l82nmlkhvzyg2cmpvv"))))
+ "1diz07lbbdlypbmcikj646vr5fav4prgs68nmnlqi0fr7m01l4zw"))))
(build-system pyproject-build-system)
- (arguments
- (list
- #:phases
- #~(modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- ;; The test runs tests expected to fail, so the output is
- ;; confusing
- (invoke "python3" "test_expecttest.py")))))))
- (native-inputs (list python-hypothesis poetry))
- (home-page "https://github.com/ezyang/expecttest")
+ (native-inputs
+ (list python-hypothesis
+ python-poetry-core
+ ))
+ (home-page "https://github.com/pytorch/expecttest")
(synopsis "Python module for expect tests")
(description "@code{expecttest} is a Python module for expect tests, where
the initial expected value of a test can be automatically set by running the
test itself.")
- (license license:expat))))
+ (license license:expat)))
(define-public python-flake8-builtins
(package