mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-inline-snapshot: Update to 0.29.1.
* gnu/packages/python-check.scm (python-inline-snapshot): Update to 0.29.1. [arguments] <test-flags>: Run tests in parallel, rework ignored and skipped tests to prevent adding MyPy and Pyright. [propagated-inputs]: Remove python-black, python-click, python-mkdocs, python-tomli, and python-typing-extensions. [native-inputs]: Remove python-mypy, python-pydantic, and python-pytest; add python-black, python-freezer, python-pydantic-2, python-pytest-bootstrap, python-pytest-xdist. Change-Id: I8d831efc1ef52f94037ce349cffecfe79ab4efd9 Modified-by: Efraim Flashner <efraim@flashner.co.il> Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
parent
0d42fc1624
commit
db6d6b00e7
1 changed files with 19 additions and 26 deletions
|
@ -1073,45 +1073,38 @@ to establish class invariants.")
|
||||||
(define-public python-inline-snapshot
|
(define-public python-inline-snapshot
|
||||||
(package
|
(package
|
||||||
(name "python-inline-snapshot")
|
(name "python-inline-snapshot")
|
||||||
(version "0.18.2")
|
(version "0.29.1")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "inline_snapshot" version))
|
(uri (pypi-uri "inline_snapshot" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "09pqgz4phal2pjkv03wg3gvj7jr89rrb93rfw4hd2x9v8px4mqqv"))))
|
(base32 "19x5j97i96p3xr9xyjvwh0mmpcnypf8g5hf2jjm6g82ghsv3rrqp"))))
|
||||||
(build-system pyproject-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
|
;; tests: 518 passed, 88 skipped, 1 xfailed, 903 subtests passed
|
||||||
#:test-flags
|
#:test-flags
|
||||||
;; Missing "freezer" fixture
|
#~(list "--numprocesses" (number->string (min 8 (parallel-job-count)))
|
||||||
'(list "--ignore=tests/test_external.py"
|
;; To prevent adding mypy and pyright.
|
||||||
"--ignore=tests/test_pytest_plugin.py"
|
"--ignore=tests/test_typing.py")))
|
||||||
"-k"
|
|
||||||
(string-append
|
|
||||||
"not test_trailing_comma"
|
|
||||||
;; Cannot use inline-snapshop when xdist is available.
|
|
||||||
" and not test_xdist"
|
|
||||||
" and not test_xdist_disabled"
|
|
||||||
" and not test_xdist_and_disable"
|
|
||||||
" and not test_typing"))))
|
|
||||||
(propagated-inputs (list python-asttokens
|
|
||||||
python-black
|
|
||||||
python-click
|
|
||||||
python-executing
|
|
||||||
python-mkdocs
|
|
||||||
python-rich
|
|
||||||
python-tomli
|
|
||||||
python-typing-extensions))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-dirty-equals
|
(list python-black ;XXX: used in tests/conftest.py to self lint
|
||||||
|
python-dirty-equals
|
||||||
python-freezegun
|
python-freezegun
|
||||||
python-hatchling
|
python-hatchling
|
||||||
python-pydantic
|
python-hypothesis
|
||||||
python-pytest
|
python-pydantic-2
|
||||||
|
python-pytest-bootstrap
|
||||||
|
python-pytest-freezer
|
||||||
python-pytest-mock
|
python-pytest-mock
|
||||||
python-pytest-subtests))
|
python-pytest-subtests
|
||||||
(home-page "https://pypi.org/project/inline-snapshot/")
|
python-pytest-xdist))
|
||||||
|
(propagated-inputs
|
||||||
|
(list python-asttokens
|
||||||
|
python-executing
|
||||||
|
python-rich))
|
||||||
|
(home-page "https://github.com/15r10nk/inline-snapshot/")
|
||||||
(synopsis "Golden master/snapshot/approval testing library")
|
(synopsis "Golden master/snapshot/approval testing library")
|
||||||
(description
|
(description
|
||||||
"This package can be used for different things:
|
"This package can be used for different things:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue