dev-python/pydantic: drop 1.10.12, 1.10.13, 1.10.15

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2025-02-21 11:55:32 +01:00
parent 8c4797375f
commit 1bfe0eb0d8
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
5 changed files with 2 additions and 281 deletions

View File

@ -606,11 +606,11 @@ A daily compile test is run at Github with Python 3.9 to catch general faults. E
## Licenses
This repository itself is released under GPL-3 (like most Gentoo repositories), all work on the depending components under the licenses they came from. Perhaps you came here because I filed an issue at your component about a bad or missing license. It is easy to [assign a license](https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository). During cleanups and license investigations I have been asked often which license to choose. I am not a lawyer, but I can offer the following table, counted over this repository, perhaps this helps your decision. If a package has more than one license listed, all of them are counted.
There are 2379 Ebuilds in total, 2365 of them have in total 2409 (43 different) licenses assigned.
There are 2376 Ebuilds in total, 2362 of them have in total 2406 (43 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1355|
|MIT|1352|
|Apache-2.0|557|
|GPL-3|149|
|BSD|127|

View File

@ -1,12 +1,6 @@
DIST pydantic-1.10.12.gh.tar.gz 766366 BLAKE2B b00885b86ef331f3f8531d1514f4e3e1ef10d009b35453c6d5a6295ecfe2d2b842f66c7ea2a79ca1d235d54fa38b42432e14804163f944c4455f05c06869815a SHA512 413d433decfa3bb7173d6f4e6e06f746cfbf95f6d27c6a17098216ba81d64d7f8bb956cda195d0676559f96278f3800c77be53ecf46496ac009f130120642cc2
DIST pydantic-1.10.13.gh.tar.gz 766572 BLAKE2B 3d4f4453469f960467ddf3512be8e97f0abf40406d441a1bc8909df1ebc0e7deaa5e84640d8614395e36d619e87f9d47327cd71526dae203046488d114ade49f SHA512 7ae96c08080e9d3bf3b66ee8ee77efc0b89b6630d4f0c37679e27a28a6433b3628fd342991cf38412ff6d1034c4a907841f74759c2e6b4d51d413d76625d5bfd
DIST pydantic-1.10.15.gh.tar.gz 767909 BLAKE2B 26bc325d91fc8df4ced6f7ac3e083ced00fd5b4255dadf23c95b15ec554c36cdbdf13a457538eb5916837f432c4895d40d1a3af7bb9ac0cc199c14b70951e231 SHA512 58dfb35a832f679c50fc01db3ebabe936d49251c52530c4363a72ecba41dd30bafae8665ae380adf5abe104082b3802fa87ac0351d5c2dde2f44a433b43f8b5c
DIST pydantic-1.10.17.gh.tar.gz 770525 BLAKE2B a169f03073beaec43791881ddb431b17cd26ac9082e7582f74a831ca97eb2f4c813c25d52e55455ab40c9f83c345cf5a0e7143d9a75582ad2054881e3603c1f2 SHA512 306eb6c62eb830ae5c917b72533dd5c783ad26c4cfe999ed7e24bf36db8ad487519b6ce50ee6b8377886eb9a2b14f072993d038b9d1113117147498dd4e0c376
DIST pydantic-1.10.18.gh.tar.gz 771108 BLAKE2B 59b5e8c029c056af93b9054397bcf746136e6f25589e89f2e31832dc2abd9cfb1f3b4f213b98d7b43e84bc0786925081517cc941fce80884b07fa0521e89f5e5 SHA512 79fc6f7bdfdd9a309a3362b878282833dd06750771be904589af7db2426bf9d53451cda6b6e6df0d89526e9e72fca7d243c32801a8d7dd03276ddb88968a667e
DIST pydantic-1.10.19.gh.tar.gz 771425 BLAKE2B 08599c1d9ade016dd958148726ec2d5a7a3495e4349eafbdc4088b3b94c3401248f3f193a4f55201c10400cb75347a082c1db38447d8c73b86991d1ec9699276 SHA512 7f634fa238dac28394524ed44b2c1796b37c536e0767376b47fdf8eb5b5429b6dbd7708ed1e484f1be8af9f6b9256f1f823a016d389564c53a3aaa14e0afaecc
EBUILD pydantic-1.10.12.ebuild 2373 BLAKE2B df1b5e2296bf4b78aefa20ad4c9b2d3c2ddf80724e86ad6604cd0a52b4f17514314132b3edf1d0a1f968f2cc9ab12cb0e762b9f461bc04ca86403a6265e18693 SHA512 57d428c7dc05b2510a085ea2213ffa400be154659411dbb406d0b3f1f81c298a17b27e93ef0d9ee49940732d3af44eb4a1f6c875bdfb980329371b1f6b9c2c17
EBUILD pydantic-1.10.13.ebuild 2373 BLAKE2B df1b5e2296bf4b78aefa20ad4c9b2d3c2ddf80724e86ad6604cd0a52b4f17514314132b3edf1d0a1f968f2cc9ab12cb0e762b9f461bc04ca86403a6265e18693 SHA512 57d428c7dc05b2510a085ea2213ffa400be154659411dbb406d0b3f1f81c298a17b27e93ef0d9ee49940732d3af44eb4a1f6c875bdfb980329371b1f6b9c2c17
EBUILD pydantic-1.10.15.ebuild 2373 BLAKE2B df1b5e2296bf4b78aefa20ad4c9b2d3c2ddf80724e86ad6604cd0a52b4f17514314132b3edf1d0a1f968f2cc9ab12cb0e762b9f461bc04ca86403a6265e18693 SHA512 57d428c7dc05b2510a085ea2213ffa400be154659411dbb406d0b3f1f81c298a17b27e93ef0d9ee49940732d3af44eb4a1f6c875bdfb980329371b1f6b9c2c17
EBUILD pydantic-1.10.17.ebuild 2480 BLAKE2B 58946dc3a22509a9d558e2cc4c59f921fd9df3032de5eb91f8b781fe43f6444906935a71e4237706006fe3014291d0e57e951e03b38b88e3a19f2f9881bab488 SHA512 b08dd8917a4862c824f1d2890f1c942c40eae199db30ad58aa700d5e5c083e3bcf362379df20df41dfb281b5686de70b9c56f391679024935af331fcbc96f11a
EBUILD pydantic-1.10.18.ebuild 2479 BLAKE2B cb8bd8dc804040bb6867ef00a8aaae4f78bac8fe6a9fcce0fdfe6be3ec97a610cd78246792f6d3f70e234b76be5c8de1cffb576b1b8717930f68c77427460f67 SHA512 ed6bb8ace494c766730f65f4524c3b2095f56708177addab6bab72b9a04b40a9738debe06c3b63123fe3cb25701cba3715a2c4ddd103fb76c100a2c7c07f026c
EBUILD pydantic-1.10.19.ebuild 2479 BLAKE2B cb8bd8dc804040bb6867ef00a8aaae4f78bac8fe6a9fcce0fdfe6be3ec97a610cd78246792f6d3f70e234b76be5c8de1cffb576b1b8717930f68c77427460f67 SHA512 ed6bb8ace494c766730f65f4524c3b2095f56708177addab6bab72b9a04b40a9738debe06c3b63123fe3cb25701cba3715a2c4ddd103fb76c100a2c7c07f026c

View File

@ -1,91 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..13} )
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="amd64 arm arm64 x86"
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
}

View File

@ -1,91 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..13} )
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="amd64 arm arm64 x86"
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
}

View File

@ -1,91 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..13} )
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="amd64 arm arm64 x86"
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
}