public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Anna Vyalkova" <cyber+gentoo@sysrq.in>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pytest-benchmark/
Date: Sun,  5 Jun 2022 06:16:22 +0000 (UTC)	[thread overview]
Message-ID: <1654409534.f287069080e56d8190348898b0f473ad34f38fb9.cybertailor@gentoo> (raw)

commit:     f287069080e56d8190348898b0f473ad34f38fb9
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Sat Jun  4 22:07:14 2022 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Sun Jun  5 06:12:14 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f2870690

dev-python/pytest-benchmark: disable tests broken with pytest7

Closes: https://bugs.gentoo.org/849605
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 .../pytest-benchmark/pytest-benchmark-3.4.1.ebuild | 28 ++++++++++++++++++++--
 1 file changed, 26 insertions(+), 2 deletions(-)

diff --git a/dev-python/pytest-benchmark/pytest-benchmark-3.4.1.ebuild b/dev-python/pytest-benchmark/pytest-benchmark-3.4.1.ebuild
index a3a72616f..a37c92d0f 100644
--- a/dev-python/pytest-benchmark/pytest-benchmark-3.4.1.ebuild
+++ b/dev-python/pytest-benchmark/pytest-benchmark-3.4.1.ebuild
@@ -4,11 +4,12 @@
 EAPI=8
 
 PYTHON_COMPAT=( python3_{8..10} )
+DISTUTILS_USE_PEP517=setuptools
 inherit distutils-r1
 
 DESCRIPTION="py.test fixture for benchmarking code"
 HOMEPAGE="
-	https://pypi.python.org/pypi/pytest-benchmark
+	https://pypi.python.org/pypi/pytest-benchmark/
 	https://github.com/ionelmc/pytest-benchmark
 "
 SRC_URI="https://github.com/ionelmc/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
@@ -30,11 +31,34 @@ BDEPEND="test? (
 	dev-python/hunter[${PYTHON_USEDEP}]
 	dev-python/pygal[${PYTHON_USEDEP}]
 	dev-python/pygaljs[${PYTHON_USEDEP}]
-)"
+	dev-python/pytest-xdist[${PYTHON_USEDEP}]
+)" # tests include pytest-xdist integration
 
 EPYTEST_DESELECT=(
 	tests/test_cli.py::test_help
 	tests/test_cli.py::test_help_compare
+
+	# test failures with pytest7, see:
+	# https://github.com/ionelmc/pytest-benchmark/issues/214
+	tests/test_benchmark.py::test_groups
+	tests/test_benchmark.py::test_group_by_func
+	tests/test_benchmark.py::test_group_by_fullfunc
+	tests/test_benchmark.py::test_group_by_param_all
+	tests/test_benchmark.py::test_group_by_param_select
+	tests/test_benchmark.py::test_group_by_param_select_multiple
+	tests/test_benchmark.py::test_group_by_fullname
+	tests/test_benchmark.py::test_only_override_skip
+	tests/test_benchmark.py::test_fixtures_also_skipped
+	tests/test_benchmark.py::test_max_time_min_rounds
+	tests/test_benchmark.py::test_max_time
+	tests/test_benchmark.py::test_disable_gc
+	tests/test_benchmark.py::test_custom_timer
+	tests/test_benchmark.py::test_sort_by_mean
+	tests/test_benchmark.py::test_basic
+	tests/test_benchmark.py::test_skip
+	tests/test_benchmark.py::test_disable
+	tests/test_benchmark.py::test_mark_selection
+	tests/test_benchmark.py::test_only_benchmarks
 )
 
 distutils_enable_tests pytest


             reply	other threads:[~2022-06-05  6:16 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-05  6:16 Anna Vyalkova [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-05-25 13:01 [gentoo-commits] repo/proj/guru:master commit in: dev-python/pytest-benchmark/ Julien Roy
2024-05-25 12:41 ` [gentoo-commits] repo/proj/guru:dev " Julien Roy
2024-04-15  9:34 [gentoo-commits] repo/proj/guru:master " Julien Roy
2024-04-15  9:26 ` [gentoo-commits] repo/proj/guru:dev " Julien Roy
2024-04-13 12:31 Henri Gasc
2023-07-24 20:26 Anna Vyalkova
2023-07-05 13:59 Anna Vyalkova
2023-05-04  2:02 Anna Vyalkova
2022-11-03  7:37 Anna Vyalkova
2022-06-05  1:09 Alessandro Barbieri
2022-06-01  5:03 Anna Vyalkova
2021-08-14  2:00 Anna Vyalkova
2021-06-14 23:09 Alessandro Barbieri
2021-06-14  2:27 Alessandro Barbieri
2021-05-25 10:37 Anna Vyalkova
2021-05-06  0:22 Alessandro Barbieri
2020-09-24 12:17 Andrew Ammerlaan
2020-06-09 16:37 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-06-09 14:00 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-03-29 13:21 Andrew Ammerlaan
2020-03-29  9:29 Alessandro Barbieri

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1654409534.f287069080e56d8190348898b0f473ad34f38fb9.cybertailor@gentoo \
    --to=cyber+gentoo@sysrq.in \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox