Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pydantic for openSUSE:Factory 
checked in at 2026-02-11 18:47:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pydantic (Old)
 and      /work/SRC/openSUSE:Factory/.python-pydantic.new.1670 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pydantic"

Wed Feb 11 18:47:16 2026 rev:38 rq:1331658 version:2.12.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pydantic/python-pydantic.changes  
2025-12-17 17:29:56.499450275 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-pydantic.new.1670/python-pydantic.changes    
    2026-02-11 18:47:36.946273764 +0100
@@ -1,0 +2,11 @@
+Thu Feb  5 13:58:33 UTC 2026 - Markéta Machová <[email protected]>
+
+- Add upstream test.patch to fix tests with Python 3.14
+
+-------------------------------------------------------------------
+Thu Feb  5 12:34:34 UTC 2026 - Georg Pfuetzenreuter 
<[email protected]>
+
+- Recommend email-validator
+  (this was previously dropped as Requires, but is needed by pydantic.networks)
+
+-------------------------------------------------------------------

New:
----
  test.patch

----------(New B)----------
  New:
- Add upstream test.patch to fix tests with Python 3.14
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-pydantic.spec ++++++
--- /var/tmp/diff_new_pack.ZxdPjJ/_old  2026-02-11 18:47:37.614301817 +0100
+++ /var/tmp/diff_new_pack.ZxdPjJ/_new  2026-02-11 18:47:37.614301817 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pydantic
 #
-# Copyright (c) 2025 SUSE LLC and contributors
+# Copyright (c) 2026 SUSE LLC and contributors
 # Copyright (c) 2019, Martin Hauke <[email protected]>
 #
 # All modifications and additions to the file contributed by third parties
@@ -33,6 +33,8 @@
 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/pull/12609 Remove 
xfail marker on a PEP 649 related test
+Patch0:         test.patch
 BuildRequires:  %{python_module hatch-fancy-pypi-readme}
 BuildRequires:  %{python_module hatchling}
 BuildRequires:  %{python_module packaging}
@@ -61,6 +63,7 @@
 Requires:       python-pydantic-core = 2.41.5
 Requires:       python-typing-extensions >= 4.14.1
 Requires:       python-typing-inspection
+Recommends:     python-email-validator >= 2.0
 BuildArch:      noarch
 %python_subpackages
 
@@ -85,7 +88,8 @@
 
 %check
 %if %{with test}
-%pytest
+# test_base64url[Base64UrlBytes-bytes-alphabet-vanilla] fails with patched 
python314 https://github.com/pydantic/pydantic/issues/12778
+%pytest -k "not Base64UrlBytes-bytes-alphabet-vanilla"
 %endif
 
 %if %{without test}

++++++ test.patch ++++++
>From 53cb5f830207dd417d20e0e55aab2e6764f0d6fc Mon Sep 17 00:00:00 2001
From: Victorien <[email protected]>
Date: Thu, 4 Dec 2025 11:10:39 +0100
Subject: [PATCH] Remove `xfail` marker on a PEP 649 related test (#12609)

Thanks to https://github.com/python/cpython/pull/138164 (included in 3.14.1), 
Python is now able to preserve references when building the forward ref object, 
and so calling `_eval_type()` on the individual annotations works as expected.
---
 tests/test_deferred_annotations.py | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/tests/test_deferred_annotations.py 
b/tests/test_deferred_annotations.py
index c8a9c65dae2..c36281c0a6d 100644
--- a/tests/test_deferred_annotations.py
+++ b/tests/test_deferred_annotations.py
@@ -36,12 +36,6 @@ class Model(BaseModel):
     assert inst.b == 'test'
 
 
[email protected](
-    reason=(
-        'When rebuilding model fields, we individually re-evaluate all fields 
(using `_eval_type()`) '
-        "and as such we don't benefit from PEP 649's capabilities."
-    ),
-)
 def test_deferred_annotations_nested_model() -> None:
     def outer():
         def inner():

Reply via email to