gnu: python-hypothesis: Update to 5.1.5.
* gnu/packages/check.scm (python-hypothesis): Update to 5.1.5. [native-inputs]: Remove. [arguments]: New field. [propagated-inputs]: Remove PYTHON-COVERAGE. Add PYTHON-SORTEDCONTAINERS. (python2-hypothesis): Update to 4.57.1.
This commit is contained in:
		
							parent
							
								
									8aed0895f1
								
							
						
					
					
						commit
						3b5378a87f
					
				
					 1 changed files with 14 additions and 6 deletions
				
			
		| 
						 | 
					@ -1612,20 +1612,20 @@ instantly.")
 | 
				
			||||||
(define-public python-hypothesis
 | 
					(define-public python-hypothesis
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "python-hypothesis")
 | 
					    (name "python-hypothesis")
 | 
				
			||||||
    (version "4.18.3")
 | 
					    (version "5.1.5")
 | 
				
			||||||
    (source (origin
 | 
					    (source (origin
 | 
				
			||||||
              (method url-fetch)
 | 
					              (method url-fetch)
 | 
				
			||||||
              (uri (pypi-uri "hypothesis" version))
 | 
					              (uri (pypi-uri "hypothesis" version))
 | 
				
			||||||
              (sha256
 | 
					              (sha256
 | 
				
			||||||
               (base32
 | 
					               (base32
 | 
				
			||||||
                "0a35nwqyjnm4cphi43xracqpkws0ip61mndvqb1iqq7gkva83lb1"))))
 | 
					                "1ady8cjwpwsicpkhpjd6qwnipjr1lf488sv23psksbxsbgffg7sz"))))
 | 
				
			||||||
    (build-system python-build-system)
 | 
					    (build-system python-build-system)
 | 
				
			||||||
    (native-inputs
 | 
					    (arguments
 | 
				
			||||||
     `(("python-flake8" ,python-flake8)
 | 
					     ;; XXX: Tests are not distributed with the PyPI archive.
 | 
				
			||||||
       ("python-pytest" ,python-pytest-bootstrap)))
 | 
					     '(#:tests? #f))
 | 
				
			||||||
    (propagated-inputs
 | 
					    (propagated-inputs
 | 
				
			||||||
     `(("python-attrs" ,python-attrs-bootstrap)
 | 
					     `(("python-attrs" ,python-attrs-bootstrap)
 | 
				
			||||||
       ("python-coverage" ,python-coverage)))
 | 
					       ("python-sortedcontainers" ,python-sortedcontainers)))
 | 
				
			||||||
    (synopsis "Library for property based testing")
 | 
					    (synopsis "Library for property based testing")
 | 
				
			||||||
    (description "Hypothesis is a library for testing your Python code against a
 | 
					    (description "Hypothesis is a library for testing your Python code against a
 | 
				
			||||||
much larger range of examples than you would ever want to write by hand.  It’s
 | 
					much larger range of examples than you would ever want to write by hand.  It’s
 | 
				
			||||||
| 
						 | 
					@ -1635,10 +1635,18 @@ seamlessly into your existing Python unit testing work flow.")
 | 
				
			||||||
    (license license:mpl2.0)
 | 
					    (license license:mpl2.0)
 | 
				
			||||||
    (properties `((python2-variant . ,(delay python2-hypothesis))))))
 | 
					    (properties `((python2-variant . ,(delay python2-hypothesis))))))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					;; This is the last version of Hypothesis that supports Python 2.
 | 
				
			||||||
(define-public python2-hypothesis
 | 
					(define-public python2-hypothesis
 | 
				
			||||||
  (let ((hypothesis (package-with-python2
 | 
					  (let ((hypothesis (package-with-python2
 | 
				
			||||||
                     (strip-python2-variant python-hypothesis))))
 | 
					                     (strip-python2-variant python-hypothesis))))
 | 
				
			||||||
    (package (inherit hypothesis)
 | 
					    (package (inherit hypothesis)
 | 
				
			||||||
 | 
					      (version "4.57.1")
 | 
				
			||||||
 | 
					      (source (origin
 | 
				
			||||||
 | 
					                (method url-fetch)
 | 
				
			||||||
 | 
					                (uri (pypi-uri "hypothesis" version))
 | 
				
			||||||
 | 
					                (sha256
 | 
				
			||||||
 | 
					                 (base32
 | 
				
			||||||
 | 
					                  "183gpxbfcdhdqzlahkji5a71n6lmvgqsbkcb0ihqad51n2j6jhrw"))))
 | 
				
			||||||
      (propagated-inputs
 | 
					      (propagated-inputs
 | 
				
			||||||
       `(("python2-enum34" ,python2-enum34)
 | 
					       `(("python2-enum34" ,python2-enum34)
 | 
				
			||||||
         ,@(package-propagated-inputs hypothesis))))))
 | 
					         ,@(package-propagated-inputs hypothesis))))))
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue