From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1597188-garchives=archives.gentoo.org@lists.gentoo.org> 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 2BA9415815E for <garchives@archives.gentoo.org>; Sat, 3 Feb 2024 15:02:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 41C492BC041; Sat, 3 Feb 2024 15:02:55 +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 19F972BC041 for <gentoo-commits@lists.gentoo.org>; Sat, 3 Feb 2024 15:02:55 +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 2B2043431DF for <gentoo-commits@lists.gentoo.org>; Sat, 3 Feb 2024 15:02:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9471314D3 for <gentoo-commits@lists.gentoo.org>; Sat, 3 Feb 2024 15:02:50 +0000 (UTC) From: "Michał Górny" <mgorny@gentoo.org> 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" <mgorny@gentoo.org> Message-ID: <1706972499.9f04682f3aafda7854d5b51a8aab319072686de4.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-1.10.13.ebuild X-VCS-Directories: dev-python/pydantic/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 9f04682f3aafda7854d5b51a8aab319072686de4 X-VCS-Branch: master Date: Sat, 3 Feb 2024 15:02:50 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b4943fdb-13d8-45e0-9aa2-0a078f3a2165 X-Archives-Hash: 918754d0dc2ce1dccfaf9d880a5c89fe commit: 9f04682f3aafda7854d5b51a8aab319072686de4 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Sat Feb 3 14:51:21 2024 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Sat Feb 3 15:01:39 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f04682f dev-python/pydantic: Remove old Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/pydantic/Manifest | 1 - dev-python/pydantic/pydantic-1.10.13.ebuild | 91 ----------------------------- 2 files changed, 92 deletions(-) diff --git a/dev-python/pydantic/Manifest b/dev-python/pydantic/Manifest index f5022dfc9a20..0f8a0983884c 100644 --- a/dev-python/pydantic/Manifest +++ b/dev-python/pydantic/Manifest @@ -1,4 +1,3 @@ -DIST pydantic-1.10.13.gh.tar.gz 766572 BLAKE2B 3d4f4453469f960467ddf3512be8e97f0abf40406d441a1bc8909df1ebc0e7deaa5e84640d8614395e36d619e87f9d47327cd71526dae203046488d114ade49f SHA512 7ae96c08080e9d3bf3b66ee8ee77efc0b89b6630d4f0c37679e27a28a6433b3628fd342991cf38412ff6d1034c4a907841f74759c2e6b4d51d413d76625d5bfd DIST pydantic-1.10.14.gh.tar.gz 767164 BLAKE2B 0018f8db7f0d1e1063e9cf58047319f317aee968cd07837a1983c4283ef317a54d45d717829d2b7e4d5ae6257137a125372323322873fe3354c709ed096f320c SHA512 ba90fc57172b395398b87cac44778e842fba2d28c31d8d90ad49bf870c27da71b9eef2a5cf786b0de0a3ee84af187c0759b8b27a42edaa0feb7183a2b99aa52a DIST pydantic-2.4.2.tar.gz 654020 BLAKE2B 2f91b6bf89f87230976a2e777541bb7418382fb3534f5e61e1dc74a18e5e939508a2440d6bee9a09030beb5f2b6a60fd62c3bf30ee0ee2c7d3f71575920a47f3 SHA512 f0e0d90ead4ba754974b38f8e3d24bc017696674ca1ed3300104389d149baa41c495218a118f5e7f98bf20d34b3c17439921eaff0ccd7bf76cac96a16e592b4e DIST pydantic-2.5.2.tar.gz 652158 BLAKE2B d3a7eeb4e1933d4893df69d2600437a4df1a640f4ec6564079669f8703b8d21bba548197277a373e5a653f4aea67de2336ea983906c2e96b514cdab3f8821dc1 SHA512 56753c9739759251004476620ca25d69bebc7743da911f69a09fcbffa6d6e5ec9b9fc22975e845599fcb2aed5cbbf081c3737d6eab55b9e1696818c4da405e6d diff --git a/dev-python/pydantic/pydantic-1.10.13.ebuild b/dev-python/pydantic/pydantic-1.10.13.ebuild deleted file mode 100644 index 68345cdc15a8..000000000000 --- a/dev-python/pydantic/pydantic-1.10.13.ebuild +++ /dev/null @@ -1,91 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( pypy3 python3_{10..12} ) - -inherit distutils-r1 - -MY_P=${P/_beta/b} -DESCRIPTION="Data parsing and validation using Python type hints" -HOMEPAGE=" - https://github.com/pydantic/pydantic/ - https://pypi.org/project/pydantic/ -" -SRC_URI=" - https://github.com/pydantic/pydantic/archive/v${PV/_beta/b}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="native-extensions" - -RDEPEND=" - >=dev-python/typing-extensions-4.1.0[${PYTHON_USEDEP}] -" -BDEPEND=" - native-extensions? ( - <dev-python/cython-3[${PYTHON_USEDEP}] - ) - test? ( - >=dev-python/email-validator-1.2.1[${PYTHON_USEDEP}] - dev-python/hypothesis[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/python-dotenv[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - sed -i -e '/CFLAGS/d' setup.py || die - distutils-r1_src_prepare -} - -python_compile() { - if [[ ${EPYTHON} == pypy3 ]] || ! use native-extensions; then - # do not build extensions on PyPy to workaround - # https://github.com/cython/cython/issues/4763 - local -x SKIP_CYTHON=1 - fi - distutils-r1_python_compile -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=pytest_mock - - local EPYTEST_DESELECT=( - # flaky test, known upstream - tests/test_hypothesis_plugin.py::test_can_construct_models_with_all_fields - # mypy linting causes regressions with new mypy versions - tests/mypy - ) - case ${EPYTHON} in - pypy3) - EPYTEST_DESELECT+=( - tests/test_private_attributes.py::test_private_attribute - tests/test_private_attributes.py::test_private_attribute_annotation - tests/test_private_attributes.py::test_private_attribute_factory - tests/test_private_attributes.py::test_private_attribute_multiple_inheritance - tests/test_private_attributes.py::test_underscore_attrs_are_private - ) - ;; - python3.12) - EPYTEST_DESELECT+=( - tests/test_abc.py::test_model_subclassing_abstract_base_classes_without_implementation_raises_exception - tests/test_generics.py::test_partial_specification_name - tests/test_generics.py::test_parse_generic_json - tests/test_types.py::test_secretfield - ) - ;; - esac - rm -rf pydantic || die - epytest -}