mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-28 03:45:07 -06:00
gnu: python-hypothesmith: Update to 0.2.0.
* gnu/packages/check.scm (python-hypothesmith): Update to 0.2.0. [build-system]: Switch to pyproject-build-system. [arguments]<test-flags>: Ignore failing tests. <phases>: Add 'patch-lark-dependency test. [propagated-inputs]: Replace python-lark-parser by python-lark. [native-inputs]: Add python-black, python-parso, python-pytest, python-pytest-cov, python-setuptools, python-wheel. Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
parent
5d81b890db
commit
8a28bb5a98
1 changed files with 26 additions and 5 deletions
|
|
@ -2837,17 +2837,38 @@ seamlessly into your existing Python unit testing work flow.")
|
|||
(define-public python-hypothesmith
|
||||
(package
|
||||
(name "python-hypothesmith")
|
||||
(version "0.1.8")
|
||||
(version "0.2.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "hypothesmith" version))
|
||||
(sha256
|
||||
(base32
|
||||
"02j101m5grjrbvrgjap17jsxd1hgawkylmyswcn33vf42mxh9zzr"))))
|
||||
(build-system python-build-system)
|
||||
(base32 "08kr9p6hjm3ys87k1k3l79cmf936qbhn21ab8zadsvnp0gyv7dqg"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:test-flags
|
||||
#~(list "-k"
|
||||
(string-append
|
||||
;; XXX: hypothesis.errors.Unsatisfiable
|
||||
"not test_source_code_from_libcst_node_type[MatchSingleton]"
|
||||
;; XXX: Python/Black versions not as expected.
|
||||
" and not test_black_autoformatter_from_grammar"))
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'patch-lark-dependency
|
||||
(lambda _
|
||||
(substitute* "setup.py"
|
||||
(("lark-parser>=[0-9.]*") "lark")))))))
|
||||
(propagated-inputs
|
||||
(list python-hypothesis python-lark-parser python-libcst-minimal))
|
||||
(list python-hypothesis python-lark python-libcst-minimal))
|
||||
(native-inputs
|
||||
(list python-black
|
||||
python-parso
|
||||
python-pytest
|
||||
python-pytest-cov
|
||||
python-setuptools
|
||||
python-wheel))
|
||||
(home-page "https://github.com/Zac-HD/hypothesmith")
|
||||
(synopsis "Strategies for generating Python programs")
|
||||
(description
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue