Name: python-pydantic Version: 1.10.21 Release: 1 Summary: Data validation using Python type hinting License: MIT URL: https://github.com/pydantic/pydantic Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz Patch0: backport-Fix-test_assert_raises_validation_error-with-pytest-8.patch BuildArch: noarch BuildRequires: python3-devel # For check phase BuildRequires: python3-mypy BuildRequires: python3dist(pytest) BuildRequires: python3dist(pytest-mock) BuildRequires: python3dist(hypothesis) BuildRequires: python%{python3_pkgversion}-pip BuildRequires: python%{python3_pkgversion}-wheel BuildRequires: python%{python3_pkgversion}-hatchling %description Data validation and settings management using python type hinting. %package -n python3-pydantic Summary: %{summary} %{?python_provide:%python_provide python3-pydantic} Requires: python3-email-validator >= 1.0.3 Requires: python3-ujson >= 1.35 %description -n python3-pydantic Data validation and settings management using python type hinting. %prep %autosetup -n pydantic-%{version} -p1 %build %pyproject_build # Docs are in MarkDown, and should be added when mkdocs is packaged. %install %pyproject_install %check pytest -Wdefault --ignore=tests/mypy/test_mypy.py %files -n python3-pydantic %license LICENSE %doc README.md %{python3_sitelib}/pydantic %{python3_sitelib}/pydantic*.dist-info/ %changelog * Sat Jan 25 2025 Funda Wang - 1.10.21-1 - update to 1.10.21 * Tue Jul 02 2024 zouzhimin - 1.10.14-1 - Update package to version 1.10.14 - fix CVE-2024-3772 * Mon Jun 26 2023 mengzhaoa - 1.10.9-1 - Initial package.