summaryrefslogtreecommitdiff
path: root/gnu/packages/python-check.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/python-check.scm')
-rw-r--r--gnu/packages/python-check.scm43
1 files changed, 43 insertions, 0 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 930717e1426..9618add0993 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -864,6 +864,49 @@ to the code, providing free tests, static analysis, formal verification, and
864much more.") 864much more.")
865 (license license:expat))) 865 (license license:expat)))
866 866
867(define-public python-deal-solver
868 (package
869 (name "python-deal-solver")
870 (version "0.1.2")
871 (source
872 (origin
873 (method git-fetch)
874 (uri (git-reference
875 (url "https://github.com/life4/deal-solver")
876 (commit version)))
877 (file-name (git-file-name name version))
878 (sha256
879 (base32 "16kxxip5czjsy1b4xds4zpjz3rgpsrp4k2bbvw1r3z2in509w0qc"))))
880 (build-system pyproject-build-system)
881 (arguments
882 (list
883 ;; tests: 6893 passed, 40 warnings
884 #:test-flags
885 #~(list "--numprocesses" (number->string (min 8 (parallel-job-count)))
886 ;; AssertionError: assert <Conclusion.SKIP: 'skipped'> is
887 ;; <Conclusion.OK: 'proved!'>
888 (string-append "--deselect=tests/test_types/test_set.py"
889 "::test_expr_asserts_ok[len({4, 5, 5, 6}) >= 3]"))
890 #:phases
891 #~(modify-phases %standard-phases
892 (add-after 'unpack 'fix-pytest-config
893 (lambda _
894 (substitute* "pyproject.toml"
895 ((".*--cov.*") "")))))))
896 (native-inputs
897 (list python-pytest
898 python-pytest-xdist
899 python-flit-core))
900 (propagated-inputs
901 (list python-astroid
902 z3))
903 (home-page "https://github.com/life4/deal-solver")
904 (synopsis "z3-powered solver (theorem prover) for Deal")
905 (description
906 "This package provides a @url{https://github.com/Z3Prover/z3, z3}-powered
907solver (theorem prover) for Deal.")
908 (license license:expat)))
909
867(define-public python-ddt 910(define-public python-ddt
868 (package 911 (package
869 (name "python-ddt") 912 (name "python-ddt")