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 65E8015800D for ; Fri, 7 Jul 2023 03:15:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 99D27E0858; Fri, 7 Jul 2023 03:15:24 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 D687EE084E for ; Fri, 7 Jul 2023 03:15:23 +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 30FAD335D6B for ; Fri, 7 Jul 2023 03:15:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9D0EBADB for ; Fri, 7 Jul 2023 03:15:19 +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: <1688699707.36cf0ff06dfb534e727fa8c206ee413ae73f18e9.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pydantic/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pydantic/pydantic-2.0.2.ebuild X-VCS-Directories: dev-python/pydantic/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 36cf0ff06dfb534e727fa8c206ee413ae73f18e9 X-VCS-Branch: master Date: Fri, 7 Jul 2023 03:15:19 +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: a6f04efd-4e67-40de-af52-9c775a94cbe1 X-Archives-Hash: 19146fdf44bfc8979969160c686f291d commit: 36cf0ff06dfb534e727fa8c206ee413ae73f18e9 Author: Michał Górny gentoo org> AuthorDate: Fri Jul 7 02:47:19 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Jul 7 03:15:07 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36cf0ff0 dev-python/pydantic: Enable py3.12 on 2.0.2 Signed-off-by: Michał Górny gentoo.org> dev-python/pydantic/pydantic-2.0.2.ebuild | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/dev-python/pydantic/pydantic-2.0.2.ebuild b/dev-python/pydantic/pydantic-2.0.2.ebuild index 8603e0f0b172..834053de9dc8 100644 --- a/dev-python/pydantic/pydantic-2.0.2.ebuild +++ b/dev-python/pydantic/pydantic-2.0.2.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{10..11} ) +PYTHON_COMPAT=( python3_{10..12} ) inherit distutils-r1 pypi @@ -40,6 +40,17 @@ python_test() { # require pytest-examples tests/test_docs.py ) + case ${EPYTHON} in + python3.12) + EPYTEST_DESELECT+=( + tests/test_abc.py::test_model_subclassing_abstract_base_classes_without_implementation_raises_exception + tests/test_computed_fields.py::test_abstractmethod_missing + tests/test_edge_cases.py::test_abstractmethod_missing_for_all_decorators + tests/test_generics.py::test_partial_specification_name + tests/test_model_signature.py::test_annotated_field + ) + ;; + esac local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 epytest -p pytest_mock