mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
dev-python/pydantic-core: Bump to 2.37.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -55,6 +55,7 @@ DIST pydantic_core-2.33.2.tar.gz 435195 BLAKE2B 8ac251da2eb8b9f4e54a55ca79945f18
|
||||
DIST pydantic_core-2.35.2.tar.gz 437878 BLAKE2B 5fd9d863bccd1ac20c44cb7c9d596c4f22bea384c9fc84a7ce46d1dd8887109824ed841bbdaa4646bbea37d4d5f9e88aeb3e69410e8dab5eee63f8fa82bbef78 SHA512 59e7f7f5462327247ad6e21594fc288a5e2e8bb2401a199a07ab8183858772b3ddcb39576229a3f939085d7aa2e2576ef211738b8335b51c358b16b2f116879a
|
||||
DIST pydantic_core-2.36.0.tar.gz 442517 BLAKE2B 4de253b3280c7c3ae326f723c85c1732345250e7383261d61d04d6176b90dbe476c9cd505973a511ecf48f2c1d524531608eccc37a068e4ccc32c8acf438c1c9 SHA512 afd258a561da73ed4aa0e69afb2121e57242b4d2d3660b37546f9c518f24580c45493b48a3a394deb6a91cb6437c5aea1a5effad453f38d0cf6df41bea6594c4
|
||||
DIST pydantic_core-2.37.1.tar.gz 443893 BLAKE2B 6bd619365ded8e679a73a8b44813078237ecee6105ad240c7019bd85e05e3e6da657e7616f54cb53c51a4531ff60c34194c4de0ad235e3123b50e503b8e865ca SHA512 02f9f026243ea92b6e1257bfd1bdedad574f96cd894d5601fa7a5ac6df3a6cdb8e3938ecd1e3ee9ef9891cbbb4e9aaec4fb54e98b48162352ac7be2cd1477020
|
||||
DIST pydantic_core-2.37.2.tar.gz 443903 BLAKE2B 01aacc0d23a3ae8db396c6bb4bc2b0da02d4df2a2ef498a0a644a427dabd4f2fec5e2a1ff325fe41fc9484182b5b1b22bf2682ca41ff49edcd99e75f6103cb74 SHA512 7fd9a47079d101633d56e781a627d6a99c6a2a362332b89d30fd6e773004776783fd7cf2154206c9df748c94d52747a18b548e2771dd113aeeabf18262cc27bf
|
||||
DIST pyo3-0.24.1.crate 1113050 BLAKE2B 5a203f8c845b08b40ed64561d385d2e4134a38916723ef6b0b4be8f44fa9de594c4eca138c318ad83a156f66273b20b55acb19897dca3eba5d479e6333be815e SHA512 6c2a8f9d554a3cf151a796ee20610b596ebdbf9e642d6b2ddc35d0142841d7be51e739ddef4332cfa8c4625c972d9705eae5f694b4d8907882bec4add7c6c6ed
|
||||
DIST pyo3-0.25.0.crate 1120850 BLAKE2B 6f373129d032e6980d058ec5dbfea58a7ce0cb8ed2b32aa852a14746cfd3a541b02286676c934a5d7f7bc1bea03e986e93e44de42114f7620b487977c0092d85 SHA512 83336d284eefdef5bc26dec4880e21c608a001b4676b3628eb59b7c0011fb672ca81fca035666b714eeb158809064f9b5b0720802045d5ff8fc9f6af02813c30
|
||||
DIST pyo3-0.25.1.crate 1121993 BLAKE2B 79a982131fc4c4f9292e97bc8d938d236ee9cefb99bb90646a84703660ad506aee8ae1f1e626d985aa62c695722510f2697544581fa5c3a01f193be2bc2779fe SHA512 9c842c89d274dba0c8a3085a8524736245d65f07e5c05bc13fc89167cfdeb1a4ff2b4a9da9467eee918e45d01777473f39bda11efe0052859969d4fdeac1adc6
|
||||
|
||||
171
dev-python/pydantic-core/pydantic-core-2.37.2.ebuild
Normal file
171
dev-python/pydantic-core/pydantic-core-2.37.2.ebuild
Normal file
@@ -0,0 +1,171 @@
|
||||
# Copyright 2023-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_EXT=1
|
||||
DISTUTILS_USE_PEP517=maturin
|
||||
PYTHON_COMPAT=( pypy3_11 python3_{11..13} )
|
||||
|
||||
CRATES="
|
||||
ahash@0.8.12
|
||||
aho-corasick@1.1.3
|
||||
autocfg@1.3.0
|
||||
base64@0.22.1
|
||||
bitflags@2.9.1
|
||||
bitvec@1.0.1
|
||||
bumpalo@3.19.0
|
||||
cc@1.0.101
|
||||
cfg-if@1.0.0
|
||||
displaydoc@0.2.5
|
||||
enum_dispatch@0.3.13
|
||||
form_urlencoded@1.2.1
|
||||
funty@2.0.0
|
||||
getrandom@0.3.3
|
||||
heck@0.5.0
|
||||
hex@0.4.3
|
||||
icu_collections@1.5.0
|
||||
icu_locid@1.5.0
|
||||
icu_locid_transform@1.5.0
|
||||
icu_locid_transform_data@1.5.0
|
||||
icu_normalizer@1.5.0
|
||||
icu_normalizer_data@1.5.0
|
||||
icu_properties@1.5.1
|
||||
icu_properties_data@1.5.0
|
||||
icu_provider@1.5.0
|
||||
icu_provider_macros@1.5.0
|
||||
idna@1.0.3
|
||||
idna_adapter@1.2.0
|
||||
indoc@2.0.5
|
||||
itoa@1.0.11
|
||||
jiter@0.10.0
|
||||
js-sys@0.3.77
|
||||
lexical-parse-float@1.0.5
|
||||
lexical-parse-integer@1.0.5
|
||||
lexical-util@1.0.6
|
||||
libc@0.2.155
|
||||
litemap@0.7.3
|
||||
log@0.4.27
|
||||
memchr@2.7.4
|
||||
memoffset@0.9.1
|
||||
num-bigint@0.4.6
|
||||
num-integer@0.1.46
|
||||
num-traits@0.2.19
|
||||
once_cell@1.19.0
|
||||
percent-encoding@2.3.1
|
||||
portable-atomic@1.6.0
|
||||
proc-macro2@1.0.86
|
||||
pyo3-build-config@0.25.1
|
||||
pyo3-ffi@0.25.1
|
||||
pyo3-macros-backend@0.25.1
|
||||
pyo3-macros@0.25.1
|
||||
pyo3@0.25.1
|
||||
python3-dll-a@0.2.14
|
||||
quote@1.0.36
|
||||
r-efi@5.2.0
|
||||
radium@0.7.0
|
||||
regex-automata@0.4.8
|
||||
regex-syntax@0.8.5
|
||||
regex@1.11.1
|
||||
rustversion@1.0.17
|
||||
ryu@1.0.18
|
||||
serde@1.0.219
|
||||
serde_derive@1.0.219
|
||||
serde_json@1.0.140
|
||||
smallvec@1.15.1
|
||||
speedate@0.16.0
|
||||
stable_deref_trait@1.2.0
|
||||
static_assertions@1.1.0
|
||||
strum@0.27.1
|
||||
strum_macros@0.27.1
|
||||
syn@2.0.82
|
||||
synstructure@0.13.1
|
||||
tap@1.0.1
|
||||
target-lexicon@0.13.2
|
||||
tinystr@0.7.6
|
||||
unicode-ident@1.0.12
|
||||
unindent@0.2.3
|
||||
url@2.5.4
|
||||
utf16_iter@1.0.5
|
||||
utf8_iter@1.0.4
|
||||
uuid@1.17.0
|
||||
version_check@0.9.5
|
||||
wasi@0.14.2+wasi-0.2.4
|
||||
wasm-bindgen-backend@0.2.100
|
||||
wasm-bindgen-macro-support@0.2.100
|
||||
wasm-bindgen-macro@0.2.100
|
||||
wasm-bindgen-shared@0.2.100
|
||||
wasm-bindgen@0.2.100
|
||||
wit-bindgen-rt@0.39.0
|
||||
write16@1.0.0
|
||||
writeable@0.5.5
|
||||
wyz@0.5.1
|
||||
yoke-derive@0.7.4
|
||||
yoke@0.7.4
|
||||
zerocopy-derive@0.8.25
|
||||
zerocopy@0.8.25
|
||||
zerofrom-derive@0.1.4
|
||||
zerofrom@0.1.4
|
||||
zerovec-derive@0.10.3
|
||||
zerovec@0.10.4
|
||||
"
|
||||
|
||||
inherit cargo distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Core validation logic for pydantic written in Rust"
|
||||
HOMEPAGE="
|
||||
https://github.com/pydantic/pydantic-core/
|
||||
https://pypi.org/project/pydantic_core/
|
||||
"
|
||||
SRC_URI+="
|
||||
${CARGO_CRATE_URIS}
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
# Dependent crate licenses
|
||||
LICENSE+="
|
||||
Apache-2.0-with-LLVM-exceptions MIT Unicode-3.0 Unicode-DFS-2016
|
||||
|| ( Apache-2.0 Boost-1.0 )
|
||||
"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/typing-extensions-4.14.1[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
>=dev-python/dirty-equals-0.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/hypothesis-6.63.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/inline-snapshot-0.13.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/pydantic-1.10.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/typing-inspection-0.4.1[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=( pytest-{mock,timeout} )
|
||||
distutils_enable_tests pytest
|
||||
|
||||
QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/pydantic_core/_pydantic_core.*.so"
|
||||
|
||||
src_prepare() {
|
||||
distutils-r1_src_prepare
|
||||
|
||||
sed -i -e '/--benchmark/d' pyproject.toml || die
|
||||
sed -i -e '/^strip/d' Cargo.toml || die
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_IGNORE=(
|
||||
tests/benchmarks
|
||||
)
|
||||
local EPYTEST_DESELECT=(
|
||||
# TODO: recursion till segfault
|
||||
tests/serializers/test_functions.py::test_recursive_call
|
||||
)
|
||||
|
||||
rm -rf pydantic_core || die
|
||||
# tests link to libpython, so they fail to link on pypy3
|
||||
[[ ${EPYTHON} != pypy3* ]] && cargo_src_test
|
||||
epytest -o xfail_strict=False -o addopts=
|
||||
}
|
||||
Reference in New Issue
Block a user