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 F072A15806E for ; Wed, 24 May 2023 08:19:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3DE41E01B5; Wed, 24 May 2023 08:19:18 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 AB952E01B5 for ; Wed, 24 May 2023 08:19:17 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BC114340DA4 for ; Wed, 24 May 2023 08:19:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 580B5A72 for ; Wed, 24 May 2023 08:19:15 +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: <1684916350.de32a96faca798f8ff4611eff80fc80c18bf0e37.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/hypothesis/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/hypothesis/hypothesis-6.75.3.ebuild X-VCS-Directories: dev-python/hypothesis/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: de32a96faca798f8ff4611eff80fc80c18bf0e37 X-VCS-Branch: master Date: Wed, 24 May 2023 08:19:15 +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: 6e4577c8-1cd4-48cd-948d-5a76b8c0c6eb X-Archives-Hash: ead0e5d117d4755a8698559979a90526 commit: de32a96faca798f8ff4611eff80fc80c18bf0e37 Author: Michał Górny gentoo org> AuthorDate: Wed May 24 07:25:05 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed May 24 08:19:10 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de32a96f dev-python/hypothesis: Enable py3.12 Signed-off-by: Michał Górny gentoo.org> dev-python/hypothesis/hypothesis-6.75.3.ebuild | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/dev-python/hypothesis/hypothesis-6.75.3.ebuild b/dev-python/hypothesis/hypothesis-6.75.3.ebuild index 017a26484d47..fef5bdcef671 100644 --- a/dev-python/hypothesis/hypothesis-6.75.3.ebuild +++ b/dev-python/hypothesis/hypothesis-6.75.3.ebuild @@ -4,8 +4,8 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -CLI_COMPAT=( python3_{9..11} ) -PYTHON_COMPAT=( "${CLI_COMPAT[@]}" pypy3 ) +CLI_COMPAT=( python3_{10..11} ) +PYTHON_COMPAT=( "${CLI_COMPAT[@]}" python3_12 pypy3 ) PYTHON_REQ_USE="threads(+),sqlite" inherit distutils-r1 multiprocessing optfeature @@ -59,13 +59,30 @@ python_test() { # NB: paths need to be relative to pytest.ini, # i.e. start with hypothesis-python/ - local EPYTEST_DESELECT=() + local EPYTEST_DESELECT=() EPYTEST_IGNORE=() if [[ ${EPYTHON} == pypy3 ]]; then EPYTEST_DESELECT+=( # failing due to warnings from numpy/cython hypothesis-python/tests/pytest/test_fixtures.py::test_given_plus_overridden_fixture ) fi + if [[ ${EPYTHON} == python3.12 ]]; then + # these look serious but affect hypothesis only partially, + # i.e. many revdeps will still work and since this is a test dep, + # we don't need it 100% perfect + EPYTEST_IGNORE+=( + tests/cover/test_type_lookup.py + ) + EPYTEST_DESELECT+=( + hypothesis-python/tests/cover/test_complex_numbers.py::test_allow_subnormal + hypothesis-python/tests/cover/test_lambda_formatting.py::test_can_get_descriptions_of_nested_lambdas_with_different_names + hypothesis-python/tests/cover/test_lookup.py + hypothesis-python/tests/cover/test_targeting.py::test_disallowed_inputs_to_target + hypothesis-python/tests/cover/test_type_lookup_forward_ref.py + hypothesis-python/tests/cover/test_uuids.py + hypothesis-python/tests/quality/test_discovery_ability.py::test_one_of_flattens_filter_branches_{1..3} + ) + fi epytest -o filterwarnings= -n "$(makeopts_jobs)" \ tests/cover tests/pytest tests/quality