Hello community,
here is the log from the commit of package python-pydantic for openSUSE:Factory
checked in at 2020-04-21 13:05:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pydantic (Old)
and /work/SRC/openSUSE:Factory/.python-pydantic.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pydantic"
Tue Apr 21 13:05:44 2020 rev:3 rq:795465 version:1.5
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pydantic/python-pydantic.changes
2020-03-19 19:54:40.268278463 +0100
+++
/work/SRC/openSUSE:Factory/.python-pydantic.new.2738/python-pydantic.changes
2020-04-21 13:05:44.560222974 +0200
@@ -1,0 +2,46 @@
+Sat Apr 18 19:11:39 UTC 2020 - Martin Hauke <[email protected]>
+
+- Update to version 1.5
+ * Make includes/excludes arguments for .dict(), ._iter(), ...,
+ immutable
+ * Always use a field's real name with includes/excludes in
+ model._iter(), regardless of by_alias, #1397 by @AlexECX
+ * Update constr regex example to include start and end lines,
+ * Confirm that shallow model.copy() does make a shallow copy of
+ attributes
+ * Renaming model_name argument of main.create_model()
+ to __model_name to allow using model_name as a field name
+ * Replace raising of exception to silent passing for non-Var
+ attributes in mypy plugin
+ * Remove typing_extensions dependency for python 3.8
+ * Make SecretStr and SecretBytes initialization idempotent
+ * document making secret types dumpable using the json method
+ * fix card number length check in PaymentCardNumber,
+ PaymentCardBrand now inherits from str
+ * Have BaseModel inherit from Representation to make mypy happy
+ when overriding __str__
+ * Allow None as input to all optional list fields
+ * Add datetime field to default_factory example
+ * Allow subclasses of known types to be encoded with superclass
+ encoder
+ * Exclude exported fields from all elements of a list/tuple of
+ submodels/dicts with '__all__', #1286 by @masalim2
+ * Add pydantic.color.Color objects as available input for Color
+ fields
+ * In examples, type nullable fields as Optional, so that these
+ are valid mypy annotations
+ * Make pattern_validator() accept pre-compiled Pattern objects.
+ Fix str_validator() return type to str
+ * Support instance methods and class methods with
+ @validate_arguments
+ * Add default_factory argument to Field to create a dynamic
+ default value by passing a zero-argument callable
+ * add support for NewType of List, Optional, etc
+ * fix mypy signature for root_validator
+ * Fixed parsing of nested 'custom root type' models
+ * Add validate_arguments function decorator which checks the
+ arguments to a function matches type annotations
+ * Add __signature__ to models
+ * Refactor ._iter() method, 10x speed boost for dict(model)
+
+-------------------------------------------------------------------
Old:
----
v1.4.tar.gz
New:
----
v1.5.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pydantic.spec ++++++
--- /var/tmp/diff_new_pack.qMQh2v/_old 2020-04-21 13:05:45.224224298 +0200
+++ /var/tmp/diff_new_pack.qMQh2v/_new 2020-04-21 13:05:45.228224306 +0200
@@ -20,7 +20,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-pydantic
-Version: 1.4
+Version: 1.5
Release: 0
Summary: Data validation and settings management using python type
hinting
License: MIT
@@ -32,7 +32,6 @@
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Suggests: python-email-validator >= 1.0.3
-Suggests: python-typing-extensions >= 3.7.2
Suggests: python-ujson >= 1.35
BuildArch: noarch
%python_subpackages
++++++ v1.4.tar.gz -> v1.5.tar.gz ++++++
++++ 5213 lines of diff (skipped)