From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 finch.gentoo.org (Postfix) with ESMTPS id 18C25158128 for ; Sun, 15 Jun 2025 03:24:32 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 030A33424FE for ; Sun, 15 Jun 2025 03:24:32 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id DB5C2110509; Sun, 15 Jun 2025 03:24:13 +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) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id C81F51104F9 for ; Sun, 15 Jun 2025 03:24:13 +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) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7A10D3424E4 for ; Sun, 15 Jun 2025 03:24:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 07FAC29BD for ; Sun, 15 Jun 2025 03:24:11 +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: <1749956455.f6f9ab80f0fac8b61ad663acf61f15fafdb4cf50.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pydantic/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pydantic/Manifest dev-python/pydantic/pydantic-2.11.7.ebuild X-VCS-Directories: dev-python/pydantic/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: f6f9ab80f0fac8b61ad663acf61f15fafdb4cf50 X-VCS-Branch: master Date: Sun, 15 Jun 2025 03:24:11 +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: dc2b78ce-027f-4fdf-90f8-9fd75926048f X-Archives-Hash: f510efa3fe20d070e92b91a08af885b0 commit: f6f9ab80f0fac8b61ad663acf61f15fafdb4cf50 Author: Michał Górny gentoo org> AuthorDate: Sun Jun 15 03:00:55 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Jun 15 03:00:55 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6f9ab80 dev-python/pydantic: Bump to 2.11.7 Signed-off-by: Michał Górny gentoo.org> dev-python/pydantic/Manifest | 1 + dev-python/pydantic/pydantic-2.11.7.ebuild | 72 ++++++++++++++++++++++++++++++ 2 files changed, 73 insertions(+) diff --git a/dev-python/pydantic/Manifest b/dev-python/pydantic/Manifest index c6741bfbc269..15e56a4e8856 100644 --- a/dev-python/pydantic/Manifest +++ b/dev-python/pydantic/Manifest @@ -2,3 +2,4 @@ DIST pydantic-2.10.6.tar.gz 761681 BLAKE2B 1ddb057cd40f50d09dc870aae937bc4d5d415 DIST pydantic-2.11.4.tar.gz 786540 BLAKE2B cb040a3707cfcbb4864096cad4d990fb9d4302c0ffe4db3d9d4f3e98a78785099920c32d6ad0d62dfda5883bdb1d398e10e45320ff732f39ff6e1404c3443cbf SHA512 f77d0ecc432d222d07b2ed0ff30fcb1f569b3f9ed067db9fc921db5de650d12babf02b36a369d7cb436c99053cfea3d96a8cc02e1b1880575085db1296446655 DIST pydantic-2.11.5.tar.gz 787102 BLAKE2B 929b28c70774b9e456cb35a37c8d28fc3728bc9ba7b29554ad295c55f1834a5e5dd6534a0e1cd7ac30ab8fedcf074908f35d1940fc8ed13597c749a1c319cdbe SHA512 6ff5b0953d383518cadfab4cc1d84395e100c76e70da8c7d861b89eee308dca29021393e24dabe0f278b09886cc64015b354a42a35ba5873287830f7533160f1 DIST pydantic-2.11.6.tar.gz 787868 BLAKE2B afba6c6c031086a95f07e7bd0a8932b5da632e4e3065536b7e81854a6253877575dc3624ff87b4ceaab119cd3ac70b4868b1acfff65f35c902864310e9de699e SHA512 5e6e2cd212411929da063ec3fce473cf8f77f20763ba19747a458ab8520b1d68223bc5415e0b2355a1fb0c5c0cdb50b2d054af97c4b54bce79e98079eecbb32c +DIST pydantic-2.11.7.tar.gz 788350 BLAKE2B 4767f593beb649fe3139f3b22e3814a9f56793494dc17428cf70952451e9112d03b275c0af979f0f0159b25deae2e2794bfdb1392e2c3499220ad3cd67945414 SHA512 54ee1a49d5a429cad31928425c197139ae3cce004d8f3530835ce39897be9afa6aea35e639af1d6290bace7148e1369ce66840e26bced329bc2e7d93b3dad6e5 diff --git a/dev-python/pydantic/pydantic-2.11.7.ebuild b/dev-python/pydantic/pydantic-2.11.7.ebuild new file mode 100644 index 000000000000..aa39611f18c2 --- /dev/null +++ b/dev-python/pydantic/pydantic-2.11.7.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +# py3.14: https://github.com/pydantic/pydantic/issues/11613 +PYTHON_COMPAT=( pypy3_11 python3_{11..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Data parsing and validation using Python type hints" +HOMEPAGE=" + https://github.com/pydantic/pydantic/ + https://pypi.org/project/pydantic/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/annotated-types-0.6.0[${PYTHON_USEDEP}] + ~dev-python/pydantic-core-2.33.2[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.12.2[${PYTHON_USEDEP}] + >=dev-python/typing-inspection-0.4.0[${PYTHON_USEDEP}] + dev-python/tzdata[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/hatch-fancy-pypi-readme-22.5.0[${PYTHON_USEDEP}] + test? ( + $(python_gen_cond_dep ' + dev-python/cloudpickle[${PYTHON_USEDEP}] + ' 'python3*') + dev-python/dirty-equals[${PYTHON_USEDEP}] + >=dev-python/email-validator-2.0.0[${PYTHON_USEDEP}] + >=dev-python/faker-18.13.0[${PYTHON_USEDEP}] + >=dev-python/jsonschema-4.23.0[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + dev-python/rich[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + sed -i -e '/benchmark/d' pyproject.toml || die + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # -Werror, sigh + tests/test_types_typeddict.py::test_readonly_qualifier_warning + ) + local EPYTEST_IGNORE=( + # require pytest-examples + tests/test_docs.py + # benchmarks + tests/benchmarks + ) + + if ! has_version "dev-python/cloudpickle[${PYTHON_USEDEP}]"; then + EPYTEST_IGNORE+=( + tests/test_pickle.py + ) + fi + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p pytest_mock +}