mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-14 01:23:23 -04:00
dev-python/pydantic-settings: add 2.6.0, drop old
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
@@ -1,3 +1,2 @@
|
||||
DIST pydantic_settings-2.3.4.tar.gz 59231 BLAKE2B fd30924fb3c19f41da1f082af41aaa31ea2e0b25bfbc10310e1d5562e84dce02edacb1f7a9017d84ada8cf0ec091284fdd5af77d33e8bec80474389cbff3b946 SHA512 87b87393009e1aca43a0238aca787f4bdcf3306f484dbe7d4410707512fb9ccd5ba8a25249b66e8183fbffca3060b47da6e85f971787e13333be5db89e8b278b
|
||||
DIST pydantic_settings-2.4.0.tar.gz 63033 BLAKE2B 458c539956aba70d5ef2dfc9d4935c95aeba7545252834f1a01a1a94cea2cc20955addf386753e936aaa78dafa9a0cdf604b1151e8e9fff5f9722ac0d8955e8d SHA512 a4154605976c7615c64cad3614f7ef894a868f1288e40091ba9c13952041d5837a15e344d4e01a94dec270748c00c8f8d87b498ffbcfe1ce7d89710d1fa885fd
|
||||
DIST pydantic_settings-2.5.2.tar.gz 70938 BLAKE2B ef5f2791c6bfe450096baa694d4512315118d92aca8959e2654d7e832112b4c0a8f468075b31f872ca74a3e40dbc594841f3a69cd487deed94903fac283230e0 SHA512 8aa2585a2b1648630a89f2b271765b240194ce99597d6adf3a61bb705fd0a1504614f7c22ae3fd78f25a598108dc41469c9a7c90810b49f73e07fc7339693dd1
|
||||
DIST pydantic_settings-2.6.0.tar.gz 75232 BLAKE2B 1fd0954f4785166433253f28b64e66b5bee2bc3ae0f78170800b5b4b26b5092a3b098ae59a275937de10022c9040e9eba398b62ed1a370364b2126d4ddf69a52 SHA512 c84fda5e343a654ea98ecc6c704be00882a5a1b5e05e2b84c91b7d48c113f79d505a85caa21fa03f1e63cfe6f564073f85556f8db0dedb13f68d6e19484633d3
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
<upstream>
|
||||
<remote-id type="pypi">pydantic-settings</remote-id>
|
||||
<remote-id type="github">pydantic/pydantic-settings</remote-id>
|
||||
<doc>https://docs.pydantic.dev/dev-v2/concepts/pydantic_settings/</doc>
|
||||
<doc>https://docs.pydantic.dev/dev/concepts/pydantic_settings/</doc>
|
||||
<maintainer>
|
||||
<name>Samuel Colvin</name>
|
||||
<email>s@muelcolvin.com</email>
|
||||
|
||||
@@ -1,44 +0,0 @@
|
||||
# Copyright 2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=hatchling
|
||||
PYTHON_COMPAT=( python3_{11..12} )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Settings management using Pydantic"
|
||||
HOMEPAGE="
|
||||
https://pypi.org/project/pydantic-settings/
|
||||
https://github.com/pydantic/pydantic-settings
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/pydantic-2.7.0[${PYTHON_USEDEP}]
|
||||
dev-python/pydantic-core[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-dotenv-0.21.0[${PYTHON_USEDEP}]
|
||||
dev-python/typing-extensions[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/annotated-types[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-mock[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
dev-python/tomli[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_IGNORE=( tests/test_docs.py )
|
||||
EPYTEST_DESELECT=(
|
||||
tests/test_settings.py::test_ignore_empty_with_dotenv_when_empty_uses_default
|
||||
tests/test_settings.py::test_ignore_empty_with_dotenv_when_not_empty_uses_value
|
||||
tests/test_settings.py::test_protected_namespace_defaults
|
||||
tests/test_settings.py::test_cli_help_differentiation
|
||||
)
|
||||
|
||||
distutils_enable_tests pytest
|
||||
@@ -4,7 +4,7 @@
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=hatchling
|
||||
PYTHON_COMPAT=( python3_{11..12} )
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
@@ -33,12 +33,26 @@ BDEPEND="
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_IGNORE=( tests/test_docs.py )
|
||||
EPYTEST_IGNORE=(
|
||||
# Dependencies not packaged: pytest-examples
|
||||
tests/test_docs.py
|
||||
# Dependencies not packaged: azure-keyvault-secrets, azure-identity
|
||||
tests/test_source_azure_key_vault.py
|
||||
)
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
tests/test_settings.py::test_ignore_empty_with_dotenv_when_empty_uses_default
|
||||
tests/test_settings.py::test_ignore_empty_with_dotenv_when_not_empty_uses_value
|
||||
# Failed: DID NOT RAISE <class 'UserWarning'>
|
||||
tests/test_settings.py::test_protected_namespace_defaults
|
||||
tests/test_settings.py::test_cli_help_differentiation
|
||||
)
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
# Parsing --help output is width dependent
|
||||
local -x COLUMNS=80
|
||||
|
||||
# Ebuild's "A" variable conflicts with test expectations
|
||||
local -x A=
|
||||
|
||||
epytest
|
||||
}
|
||||
Reference in New Issue
Block a user