[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#45712] [PATCHES] Improve Python package quality
From: |
Maxim Cournoyer |
Subject: |
[bug#45712] [PATCHES] Improve Python package quality |
Date: |
Fri, 29 Jan 2021 09:14:40 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
Lars-Dominik Braun <lars@6xq.net> writes:
[...]
>>From 9bc53a8e9706440668ec70d88db1ebc7d5e2c71d Mon Sep 17 00:00:00 2001
> From: Lars-Dominik Braun <lars@6xq.net>
> Date: Thu, 7 Jan 2021 13:27:55 +0100
> Subject: [PATCH 03/15] gnu: python-pytest-xdist: Add missing input, relax
> pytest requirement.
>
> * gnu/packages/check.scm: (python-pytest-xdist)
> [arguments]: Relax pytest version requirements.
> [propagated-inputs]: Add python-pytest-forked.
> ---
> gnu/packages/check.scm | 25 ++++++++++++++++---------
> 1 file changed, 16 insertions(+), 9 deletions(-)
>
> diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
> index 9d1e0b8173..32a1a2d6a3 100644
> --- a/gnu/packages/check.scm
> +++ b/gnu/packages/check.scm
> @@ -1216,20 +1216,27 @@ same arguments.")
> #t))))
> (build-system python-build-system)
> (arguments
> - '(#:tests? #f)) ;FIXME: Some tests are failing.
> - ;; #:phases
> - ;; (modify-phases %standard-phases
> - ;; (delete 'check)
> - ;; (add-after 'install 'check
> - ;; (lambda* (#:key inputs outputs #:allow-other-keys)
> - ;; (add-installed-pythonpath inputs outputs)
> - ;; (zero? (system* "py.test" "-v")))))
> + '(#:tests? #f ; Lots of tests fail.
> + #:phases
> + (modify-phases %standard-phases
> + (add-after 'unpack 'patch
> + (lambda* (#:key inputs #:allow-other-keys)
> + ;; Relax pytest requirement.
> + (substitute* "setup.py"
> + (("pytest>=6\\.0\\.0") "pytest"))
I'm not sure what the above was caused by, but its'
been fixed on core-updates (the version of pytest as per its metadata is
reported correctly there).
- [bug#45712] [PATCHES] Improve Python package quality, (continued)
- [bug#45712] [PATCHES] Improve Python package quality, Ricardo Wurmus, 2021/01/08
- [bug#45712] [PATCHES] Improve Python package quality, Lars-Dominik Braun, 2021/01/12
- [bug#45712] [PATCHES] Improve Python package quality, Maxim Cournoyer, 2021/01/25
- [bug#45712] [PATCHES] Improve Python package quality, Lars-Dominik Braun, 2021/01/26
- [bug#45712] [PATCHES] Improve Python package quality, Maxim Cournoyer, 2021/01/28
- [bug#45712] [PATCHES] Improve Python package quality, Lars-Dominik Braun, 2021/01/28
- [bug#45712] [PATCHES] Improve Python package quality, Maxim Cournoyer, 2021/01/29
[bug#45712] [PATCHES] Improve Python package quality, Maxim Cournoyer, 2021/01/25
[bug#45712] [PATCHES] Improve Python package quality, Maxim Cournoyer, 2021/01/25
[bug#45712] [PATCHES] Improve Python package quality,
Maxim Cournoyer <=