forked from pool/python-pydantic
- Add patch bump-pydantic-core-2.35.1.patch to support latest
pydantic-core, gh#pydantic/pydantic#11963 - Add patch field-name-validator-core-schemas.patch to remove deprecation warning, gh#pydantic/pydantic#11761 - Update to 2.11.7 * Copy FieldInfo instance if necessary during FieldInfo build by @Viicos in #11980 2.11.6 * Rebuild dataclass fields before schema generation by @Viicos in #11949 * Always store the original field assignment on FieldInfo by @Viicos in #11946 2.11.5 * Check if FieldInfo is complete after applying type variable map by @Viicos in #11855 * Do not delete mock validator/serializer in model_rebuild() by @Viicos in #11890 * Do not duplicate metadata on model rebuild by @Viicos in #11902 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydantic?expand=0&rev=73
This commit is contained in:
@@ -27,17 +27,21 @@
|
||||
%endif
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-pydantic%{psuffix}
|
||||
Version: 2.11.4
|
||||
Version: 2.11.7
|
||||
Release: 0
|
||||
Summary: Data validation and settings management using python type hinting
|
||||
License: MIT
|
||||
URL: https://github.com/pydantic/pydantic
|
||||
Source: https://github.com/pydantic/pydantic/archive/v%{version}.tar.gz#/pydantic-%{version}.tar.gz
|
||||
# PATCH-FIX-UPSTREAM bump-pydantic-core-2.35.1.patch gh#pydantic/pydantic#11963
|
||||
Patch0: bump-pydantic-core-2.35.1.patch
|
||||
# PATCH-FIX-UPSTREAM field-name-validator-core-schemas.patch gh#pydantic/pydantic#11761
|
||||
Patch1: field-name-validator-core-schemas.patch
|
||||
BuildRequires: %{python_module hatch-fancy-pypi-readme}
|
||||
BuildRequires: %{python_module hatchling}
|
||||
BuildRequires: %{python_module packaging}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pydantic-core >= 2.33.2}
|
||||
BuildRequires: %{python_module pydantic-core = 2.35.1}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
@@ -61,7 +65,7 @@ Requires: python-annotated-types >= 0.4.0
|
||||
%if 0%{?python_version_nodots} < 310
|
||||
Requires: python-eval-type-backport
|
||||
%endif
|
||||
Requires: python-pydantic-core >= 2.33.2
|
||||
Requires: python-pydantic-core = 2.35.1
|
||||
Requires: python-typing-extensions >= 4.12.2
|
||||
Requires: python-typing-inspection
|
||||
BuildArch: noarch
|
||||
|
Reference in New Issue
Block a user