Skip to content

Commit

Permalink
dev-python/pydantic-settings: add 2.6.0, drop old
Browse files Browse the repository at this point in the history
Signed-off-by: Anna (cybertailor) Vyalkova <[email protected]>
  • Loading branch information
CyberTailor committed Oct 22, 2024
1 parent d255975 commit bdfd630
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 52 deletions.
3 changes: 1 addition & 2 deletions dev-python/pydantic-settings/Manifest
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion dev-python/pydantic-settings/metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>[email protected]</email>
Expand Down
44 changes: 0 additions & 44 deletions dev-python/pydantic-settings/pydantic-settings-2.4.0.ebuild

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
EAPI=8

DISTUTILS_USE_PEP517=hatchling
PYTHON_COMPAT=( python3_{11..12} )
PYTHON_COMPAT=( python3_{11..13} )

inherit distutils-r1 pypi

Expand Down Expand Up @@ -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
}

0 comments on commit bdfd630

Please sign in to comment.