[packages/python3-pydantic-settings] Rel 4.

arekm arekm at pld-linux.org
Thu Nov 12 13:56:49 CET 2026


commit 8af5b105754088ede42441191a46a1b89b66bdc8
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Thu Nov 12 13:44:53 2026 +0100

    Rel 4.

 python3-pydantic-settings.spec | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/python3-pydantic-settings.spec b/python3-pydantic-settings.spec
index 179b328..43aefd6 100644
--- a/python3-pydantic-settings.spec
+++ b/python3-pydantic-settings.spec
@@ -7,7 +7,7 @@ Summary:	Settings management using Pydantic
 Summary(pl.UTF-8):	Zarządzanie ustawieniami z użyciem Pydantic
 Name:		python3-pydantic-settings
 Version:	2.16.2
-Release:	3
+Release:	4
 License:	MIT
 Group:		Libraries/Python
 #Source0Download: https://pypi.org/simple/pydantic-settings/
@@ -48,6 +48,9 @@ danych Pydantic.
 %py3_build_pyproject
 
 %if %{with tests}
+# pytest-examples lints the doc examples with ruff; ruff crashes at startup
+# on x32, skip them where it cannot run
+ruff --version >/dev/null 2>&1 || skip_docs="--ignore tests/test_docs.py"
 # Azure Key Vault doc examples need azure-identity (not in PLD); the ids
 # carry docs/index.md line ranges, refresh them on update
 PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
@@ -55,7 +58,8 @@ PYTEST_PLUGINS=pytest_examples,pytest_mock.plugin \
 %{__python3} -m pytest tests \
 	--deselect 'tests/test_docs.py::test_docs_examples[docs/index.md:2827-2870]' \
 	--deselect 'tests/test_docs.py::test_docs_examples[docs/index.md:2876-2907]' \
-	--deselect 'tests/test_docs.py::test_docs_examples[docs/index.md:2917-2955]'
+	--deselect 'tests/test_docs.py::test_docs_examples[docs/index.md:2917-2955]' \
+	$skip_docs
 %endif
 
 %install
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-pydantic-settings.git/commitdiff/8af5b105754088ede42441191a46a1b89b66bdc8



More information about the pld-cvs-commit mailing list