From: Troy Figiel <troy@troyfigiel.com>
To: 67258@debbugs.gnu.org
Subject: [bug#67258] [PATCH] gnu: python-pytest-perf: Update to 0.13.1.
Date: Sat, 18 Nov 2023 11:36:08 +0100 [thread overview]
Message-ID: <87wmufl55z.fsf@troyfigiel.com> (raw)
* gnu/packages/check.scm (python-pytest-perf): Update to 0.13.1.
[build-system]: Switch to pyproject-build-system, because setup.py has been removed since 0.12.1.
[arguments]<#:phases>: Remove ignored tests from the check phase.
<#:test-flags>: And use test flags instead.
Change-Id: Id81e47666a51b411740c6e6a6f6976cee616b6a4
---
gnu/packages/check.scm | 33 ++++++++++++++-------------------
1 file changed, 14 insertions(+), 19 deletions(-)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index cf26196a24..1f5b886977 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -2551,7 +2551,7 @@ (define-public python-pytest-pep8
(define-public python-pytest-perf
(package
(name "python-pytest-perf")
- (version "0.12.0")
+ (version "0.13.1")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -2560,26 +2560,21 @@ (define-public python-pytest-perf
(file-name (git-file-name name version))
(sha256
(base32
- "05mgknvrmyz1kmkgw8jzvisavc68wz1g2wxv69i6xvzgqxf17m9f"))))
- (build-system python-build-system)
+ "1hrccvrbccqwba04pqj749hdzn4sgldmbpg74nf3fzz7wyg6jxqk"))))
+ (build-system pyproject-build-system)
(arguments
(list
- #:phases
- #~(modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- (invoke "pytest" "-k"
- (string-append
- ;; Do not test the myproject.toml build as it tries to pull
- ;; dependencies from the internet.
- "not project "
- ;; The benchmark test attempts to install the
- ;; package, failing to pull its dependencies from the
- ;; network.
- "and not BenchmarkRunner "
- ;; The upstream_url test requires networking.
- "and not upstream_url"))))))))
+ #:test-flags '(list "-k"
+ (string-append
+ ;; Do not test the myproject.toml build as it tries to pull
+ ;; dependencies from the internet.
+ "not project "
+ ;; The benchmark test attempts to install the
+ ;; package, failing to pull its dependencies from the
+ ;; network.
+ "and not BenchmarkRunner "
+ ;; The upstream_url test requires networking.
+ "and not upstream_url"))))
(native-inputs
(list python-pytest
python-pytest-black
--
2.40.1
next reply other threads:[~2023-11-18 10:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-18 10:36 Troy Figiel [this message]
2023-11-18 14:39 ` bug#67258: [PATCH] gnu: python-pytest-perf: Update to 0.13.1 jgart via Guix-patches via
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87wmufl55z.fsf@troyfigiel.com \
--to=troy@troyfigiel.com \
--cc=67258@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).