14
0

Accepting request 1274365 from home:glaubitz:branches:devel:languages:python

- Update to 2.11.4
  * Bump mkdocs-llmstxt to v0.2.0
  * Allow config and bases to be specified together in create_model()
  * This change was backported as it was previously possible
    (although not meant to be supported)
  * To provide model_config as a field, which would make it
    possible to provide both configuration and bases.
  * Remove generics cache workaround
  * Remove coercion of decimal constraints
  * Fix crash when expanding root type in the mypy plugin
  * Fix issue with recursive generic models
  * Traverse function-before schemas during schema gathering
- Drop field_name.patch, merged upstream
- Update BuildRequires and Requires from pyproject.toml

OBS-URL: https://build.opensuse.org/request/show/1274365
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydantic?expand=0&rev=72
This commit is contained in:
2025-05-05 14:56:49 +00:00
committed by Git OBS Bridge
parent 8c78ba441f
commit da23bc9bcd
5 changed files with 24 additions and 497 deletions

View File

@@ -27,19 +27,17 @@
%endif
%{?sle15_python_module_pythons}
Name: python-pydantic%{psuffix}
Version: 2.11.3
Version: 2.11.4
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 https://github.com/pydantic/pydantic/commit/bce81efdeac1cbefd0196b478a32aa2586bd595a Do not provide field_name in validator core schemas
Patch: field_name.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.1}
BuildRequires: %{python_module pydantic-core >= 2.33.2}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -63,7 +61,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.27.2
Requires: python-pydantic-core >= 2.33.2
Requires: python-typing-extensions >= 4.12.2
Requires: python-typing-inspection
BuildArch: noarch