public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/clikit/
Date: Fri, 19 Aug 2022 10:48:57 +0000 (UTC)	[thread overview]
Message-ID: <1660906132.fd45c6cfbd4205563bb19e710cf5963423c65270.mgorny@gentoo> (raw)

commit:     fd45c6cfbd4205563bb19e710cf5963423c65270
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 19 10:42:11 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Aug 19 10:48:52 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd45c6cf

dev-python/clikit: Fix test failures

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/clikit/clikit-0.6.2.ebuild | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/dev-python/clikit/clikit-0.6.2.ebuild b/dev-python/clikit/clikit-0.6.2.ebuild
index 8bb676a6f1ba..200eb8b1216e 100644
--- a/dev-python/clikit/clikit-0.6.2.ebuild
+++ b/dev-python/clikit/clikit-0.6.2.ebuild
@@ -4,7 +4,7 @@
 EAPI=7
 
 DISTUTILS_USE_SETUPTOOLS=pyproject.toml
-PYTHON_COMPAT=( python3_{7..10} )
+PYTHON_COMPAT=( python3_{8..10} )
 inherit distutils-r1
 
 DESCRIPTION="Group of utilities to build beautiful and testable command line interfaces"
@@ -27,9 +27,11 @@ BDEPEND="
 
 distutils_enable_tests pytest
 
-python_prepare_all() {
-	# skip failing test
-	rm tests/utils/test_terminal.py || die
-
-	distutils-r1_python_prepare_all
+python_test() {
+	local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+	local EPYTEST_DESELECT=(
+		# skip failing test
+		tests/utils/test_terminal.py
+	)
+	epytest
 }


             reply	other threads:[~2022-08-19 10:49 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-19 10:48 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-06-19 15:00 [gentoo-commits] repo/gentoo:master commit in: dev-python/clikit/ Petr Vaněk
2023-12-27  0:20 Jakov Smolić
2023-11-24 16:32 Arthur Zamarin
2023-10-28 15:39 Michał Górny
2022-08-21  6:58 Michał Górny
2022-08-20 23:03 Sam James
2022-08-19 10:48 Michał Górny
2022-08-19 10:48 Michał Górny
2022-05-27 15:13 Arthur Zamarin
2022-03-25 19:41 Jakov Smolić
2021-11-17  6:57 Arthur Zamarin
2021-11-05  3:17 Sam James
2021-10-24  1:09 Sam James
2021-05-06 11:38 Michał Górny
2021-02-18 17:12 Sam James
2021-02-16 12:26 Sam James
2021-01-17 20:38 Michał Górny
2021-01-16  8:33 Joonas Niilola
2021-01-16  8:33 Joonas Niilola

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=1660906132.fd45c6cfbd4205563bb19e710cf5963423c65270.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --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