From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 67C6C158089 for ; Wed, 8 Nov 2023 09:41:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A56B82BC01D; Wed, 8 Nov 2023 09:41:49 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 901382BC01D for ; Wed, 8 Nov 2023 09:41:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C4F1C335D45 for ; Wed, 8 Nov 2023 09:41:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 06E031331 for ; Wed, 8 Nov 2023 09:41:47 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1699436503.51166722bc09cdaeb41ad240492fa1a6bde6faf3.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/keystoneauth1/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/keystoneauth1/keystoneauth1-5.3.0.ebuild X-VCS-Directories: dev-python/keystoneauth1/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 51166722bc09cdaeb41ad240492fa1a6bde6faf3 X-VCS-Branch: master Date: Wed, 8 Nov 2023 09:41:47 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 06dc6e6e-89bc-494b-afbb-1f3254cbe8c5 X-Archives-Hash: 43baa5aa37c794877eafd3b8b81ccd46 commit: 51166722bc09cdaeb41ad240492fa1a6bde6faf3 Author: Michał Górny gentoo org> AuthorDate: Wed Nov 8 09:27:14 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Nov 8 09:41:43 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51166722 dev-python/keystoneauth1: Enable py3.12 Signed-off-by: Michał Górny gentoo.org> .../keystoneauth1/keystoneauth1-5.3.0.ebuild | 23 ++++++++++------------ 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/dev-python/keystoneauth1/keystoneauth1-5.3.0.ebuild b/dev-python/keystoneauth1/keystoneauth1-5.3.0.ebuild index a4464f228372..0087295bf84e 100644 --- a/dev-python/keystoneauth1/keystoneauth1-5.3.0.ebuild +++ b/dev-python/keystoneauth1/keystoneauth1-5.3.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..11} ) +PYTHON_COMPAT=( python3_{10..12} ) inherit distutils-r1 pypi @@ -45,17 +45,14 @@ BDEPEND=" ) " -distutils_enable_tests unittest +distutils_enable_tests pytest -src_prepare() { - # relies on specific test runner name - sed -i -e 's:run\.py:unittest_or_fail.py:' \ - keystoneauth1/tests/unit/test_session.py || die - # remove the test that requires hacking - rm keystoneauth1/tests/unit/test_hacking_checks.py || die - distutils-r1_src_prepare -} +EPYTEST_DESELECT=( + # fragile to test runner name + keystoneauth1/tests/unit/test_session.py::SessionTests::test_user_agent +) -python_test() { - eunittest -b -} +EPYTEST_IGNORE=( + # require hacking + keystoneauth1/tests/unit/test_hacking_checks.py +)