summary refs log tree commit diff
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-05-12 20:48:14 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-05-31 14:54:04 -0400
commitfe136c39bf26599814fabcb87407f8f747ff73e4 (patch)
treeabb43e0455c9f76f373457fa757cdcfabde852ff
parent0b85c365a2a569a6a87facc420fe8bee52652994 (diff)
downloadguix-fe136c39bf26599814fabcb87407f8f747ff73e4.tar.gz
gnu: Remove python2-hypothesis.
* gnu/packages/check.scm (python2-hypothesis): Delete variable.
(python-hypothesis)[properties]: Delete field.
-rw-r--r--gnu/packages/check.scm19
1 files changed, 1 insertions, 18 deletions
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 0e2417c400..05192af76a 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -2062,8 +2062,7 @@ much larger range of examples than you would ever want to write by hand.  It’s
 based on the Haskell library, Quickcheck, and is designed to integrate
 seamlessly into your existing Python unit testing work flow.")
     (home-page "https://github.com/HypothesisWorks/hypothesis")
-    (license license:mpl2.0)
-    (properties `((python2-variant . ,(delay python2-hypothesis))))))
+    (license license:mpl2.0)))
 
 ;;; TODO: Make the default python-hypothesis in the next rebuild cycle.
 (define-public python-hypothesis-next
@@ -2080,22 +2079,6 @@ seamlessly into your existing Python unit testing work flow.")
      (modify-inputs (package-propagated-inputs python-hypothesis)
        (append python-pytest)))))       ;to satisfy the sanity-check phase
 
-;; This is the last version of Hypothesis that supports Python 2.
-(define-public python2-hypothesis
-  (let ((hypothesis (package-with-python2
-                     (strip-python2-variant python-hypothesis))))
-    (package (inherit hypothesis)
-      (version "4.57.1")
-      (source (origin
-                (method url-fetch)
-                (uri (pypi-uri "hypothesis" version))
-                (sha256
-                 (base32
-                  "183gpxbfcdhdqzlahkji5a71n6lmvgqsbkcb0ihqad51n2j6jhrw"))))
-      (propagated-inputs
-       (modify-inputs (package-propagated-inputs hypothesis)
-         (prepend python2-enum34))))))
-
 (define-public python-hypothesmith
   (package
     (name "python-hypothesmith")