Name: python-pydantic Version: 1.10.14 Release: 1%{?dist} Summary: Data validation using Python type hinting License: MIT URL: https://github.com/pydantic/pydantic Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel # For check phase BuildRequires: python3dist(hypothesis) BuildRequires: python3dist(mypy) BuildRequires: python3dist(pytest) BuildRequires: python3dist(pytest-mock) %description Data validation and settings management using python type hinting. %package -n python3-pydantic Summary: %{summary} # In F39, this is a strong dependency rather than a weak one to maximize # compatibility with the old manual dependency on python3-email-validator. Requires: python3-pydantic+email %description -n python3-pydantic Data validation and settings management using python type hinting. %prep %autosetup -n pydantic-%{version} %generate_buildrequires %pyproject_buildrequires -x email -x dotenv %build %pyproject_wheel %install %pyproject_install %pyproject_save_files pydantic %check # Disable mypy plugin tests. We don't use it for downstream packaging. %pytest -Wdefault --ignore=tests/mypy/test_mypy.py %files -n python3-pydantic -f %{pyproject_files} %license LICENSE %doc README.md docs/ %pyproject_extras_subpkg email,dotenv -n python3-pydantic %changelog * Tue Apr 16 2024 Benjamin A. Beasley - 1.10.14-1 - Update to 1.10.14. - Upgrade the dependency on the email extra metapackage from weak to strong * Tue Apr 16 2024 Benjamin A. Beasley - 1.10.13-1 - Update to 1.10.13. * Tue Apr 16 2024 Maxwell G - 1.10.12-1 - Update to 1.10.12. * Tue Apr 16 2024 Benjamin A. Beasley - 1.10.7-2 - Better align packaging style with Fedora - Package from the GitHub archive instead of the PyPI sdist - Add metapackages for Python extras - Package the README.md and documentation sources * Tue Apr 25 2023 Jiri Kyjovsky - 1.10.7-1 - Initial EPEL9 package