14
0

- Update to 2.39.0:

* build: bump pytest to 8.4
  * Add exclude_computed_fields serialization option
  * Switch to PEP 639 license information
  * Simplify ValidationError.from_exception_data() docstring
  * feat: make TzInfo instantiable without any arguments
  * Implement val_temporal_unit for deciding how datetimes and dates timestamps get validated.
  * Add missing entries in missing-sentinel core schema
  * Add MISSING sentinel
  * Implement ser_json_temporal config option
  * Properly coerce fractions as int
  * Add exclude_if logic at the field level

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydantic-core?expand=0&rev=23
This commit is contained in:
2025-08-14 04:04:26 +00:00
committed by Git OBS Bridge
parent e496260cb8
commit ccc7b94658
6 changed files with 25 additions and 10 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pydantic-core
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -26,7 +26,7 @@
%endif
%{?sle15_python_module_pythons}
Name: python-pydantic-core%{psuffix}
Version: 2.35.1
Version: 2.39.0
Release: 0
Summary: Core functionality for pydantic validation and serialization
License: MIT
@@ -80,8 +80,7 @@ Pydantic-core is currently around 17x faster than pydantic V1.
%check
%if %{with test}
# https://github.com/pydantic/pydantic-core/issues/1755
%pytest_arch -k 'not (test_keyword_args or test_positional_args)'
%pytest_arch
%endif
%if %{without test}