diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2024-04-06 10:58:21 +0200 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-12-13 20:18:35 +0000 |
commit | e5d29467bb824f49489d6a7fffee5be9c6479257 (patch) | |
tree | e2acb2ab3afde030cb6a0c7e3a9aa4f9a36a1d6e /gnu | |
parent | 5c059522ed433e7435bf15624d0a7a92b89538e5 (diff) |
gnu: python-pyproject-metadata: Disable two tests.
* gnu/packages/python-xyz.scm (python-pyproject-metadata)[arguments]:
Disable two tests.
(python-pyproject-metadata-0.7)[arguments]: Override.
Change-Id: I13bdf9d9e8705d84306f235b1abd58a147726426
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/python-xyz.scm | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index be4179d79d..d7c553cf0d 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -14870,6 +14870,12 @@ plugin for flake8 to check PEP-8 naming conventions.") (base32 "0yvs59ymz5gdix34a95wxlxvk9bnvjgrzsnmnc3ws7whpfv3yasm")))) (build-system pyproject-build-system) + (arguments + (list + #:test-flags + ;; Two tests fail because the error message slightly changed, so the + ;; tests' regular expressions no longer match. + '(list "--ignore=tests/test_standard_metadata.py"))) (propagated-inputs (list python-packaging)) (native-inputs (list python-pypa-build python-pytest python-setuptools python-tomli python-wheel)) @@ -14882,6 +14888,23 @@ validate this input and generate a PEP 643-compliant metadata file (e.g. @file{PKG-INFO}).") (license license:expat))) +(define-public python-pyproject-metadata-0.7 + (package + (inherit python-pyproject-metadata) + (name "python-pyproject-metadata") + (version "0.7.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/FFY00/python-pyproject-metadata") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0yvs59ymz5gdix34a95wxlxvk9bnvjgrzsnmnc3ws7whpfv3yasm")))) + (arguments '()))) + ;; pep621 was renamed to pyproject-metadata. (define-public python-pep621 (deprecated-package "python-pep621" python-pyproject-metadata)) |