diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-11-22 13:34:05 +0000 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-12-13 20:23:28 +0000 |
| commit | 7427ff48be0db84a5dfb2283668f08cfdeb5cd4e (patch) | |
| tree | ca73586a8ad8d408493838ad46f6abd5bc2f5db2 | |
| parent | 27fdf6fa94872a4fec99809cacb6afbc1a7077ec (diff) | |
gnu: python-pytest-metadata: Update to 3.1.1.
* gnu/packages/python-check.scm (python-pytest-metadata): Update to 3.1.1.
[build-system]: Swap to pyproject-build-system.
[native-inputs]: Add python-hatchling and python-hatch-vcs.
Change-Id: If6d335a10a8eafcbab09e6149f8117647f95990f
| -rw-r--r-- | gnu/packages/python-check.scm | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index a29352b531f..1b80e402fdd 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm | |||
| @@ -953,22 +953,19 @@ someone to import them in their actual tests to use them.") | |||
| 953 | (define-public python-pytest-metadata | 953 | (define-public python-pytest-metadata |
| 954 | (package | 954 | (package |
| 955 | (name "python-pytest-metadata") | 955 | (name "python-pytest-metadata") |
| 956 | (version "1.11.0") | 956 | (version "3.1.1") |
| 957 | (source | 957 | (source |
| 958 | (origin | 958 | (origin |
| 959 | (method url-fetch) | 959 | (method url-fetch) |
| 960 | (uri (pypi-uri "pytest-metadata" version)) | 960 | (uri (pypi-uri "pytest_metadata" version)) |
| 961 | (sha256 | 961 | (sha256 |
| 962 | (base32 "1wgcz0w053lnjln0081kjmfflaq7bwncxdzx7k63kr9lkpa0ddbi")))) | 962 | (base32 "1j0ph028mj81314vxb027d5b98xii3zl2vd9i8b3zh7val1rp8nj")))) |
| 963 | (build-system python-build-system) | 963 | (build-system pyproject-build-system) |
| 964 | (arguments | 964 | (native-inputs |
| 965 | (list #:phases | 965 | (list python-hatchling |
| 966 | #~(modify-phases %standard-phases | 966 | python-hatch-vcs |
| 967 | (replace 'check | 967 | python-pytest |
| 968 | (lambda* (#:key tests? #:allow-other-keys) | 968 | python-setuptools-scm)) |
| 969 | (when tests? | ||
| 970 | (invoke "pytest" "-vv"))))))) | ||
| 971 | (native-inputs (list python-pytest python-setuptools-scm)) | ||
| 972 | (home-page "https://github.com/pytest-dev/pytest-metadata") | 969 | (home-page "https://github.com/pytest-dev/pytest-metadata") |
| 973 | (synopsis "Access test session metadata with Pytest") | 970 | (synopsis "Access test session metadata with Pytest") |
| 974 | (description | 971 | (description |
