Hello community,
here is the log from the commit of package python-pydantic for openSUSE:Factory
checked in at 2020-03-19 19:53:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pydantic (Old)
and /work/SRC/openSUSE:Factory/.python-pydantic.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pydantic"
Thu Mar 19 19:53:17 2020 rev:2 rq:786483 version:1.4
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pydantic/python-pydantic.changes
2019-09-23 12:38:43.105597119 +0200
+++
/work/SRC/openSUSE:Factory/.python-pydantic.new.3160/python-pydantic.changes
2020-03-19 19:54:40.268278463 +0100
@@ -1,0 +2,24 @@
+Thu Mar 19 13:25:26 UTC 2020 - Marketa Calabkova <[email protected]>
+
+- Update to version 1.4
+ * rename Schema to Field, make it a function to placate mypy
+ * Implement root_validator and rename root errors from __obj__ to __root__
+ * Added initvars support to post_init_post_parse
+ * complete rewrite of URL parsing logic
+ * BaseSettings now uses the special env settings to define which
+ environment variables to read, not aliases
+ * add support for assert statements inside validators
+ * Change the precedence of aliases so child model aliases override
+ parent aliases, including using alias_generator
+ * Add a mypy plugin for type checking BaseModel.__init__ and more
+ * Add support for typing.Literal for Python 3.8
+ * Add a ByteSize type for converting byte string (1GB) to plain bytes
+ * Add support for required Optional with name: Optional[AnyType] =
Field(...)
+ and refactor ModelField creation to preserve required parameter value
+ * Add __eq__ to SecretStr and SecretBytes to allow "value equals"
+ * Add support for nested generic models
+ * alias precedence logic changed so aliases on a field always take
+ priority over an alias from alias_generator
+ * many more fixes and improvements
+
+-------------------------------------------------------------------
Old:
----
v0.32.2.tar.gz
New:
----
v1.4.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pydantic.spec ++++++
--- /var/tmp/diff_new_pack.6NO1xe/_old 2020-03-19 19:54:40.972278488 +0100
+++ /var/tmp/diff_new_pack.6NO1xe/_new 2020-03-19 19:54:40.984278489 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-pydantic
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2019, Martin Hauke <[email protected]>
#
# All modifications and additions to the file contributed by third parties
@@ -20,7 +20,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-pydantic
-Version: 0.32.2
+Version: 1.4
Release: 0
Summary: Data validation and settings management using python type
hinting
License: MIT
@@ -55,7 +55,7 @@
%files %{python_files}
%license LICENSE
-%doc README.rst HISTORY.rst
+%doc README.md HISTORY.md
%{python_sitelib}/*
%changelog
++++++ v0.32.2.tar.gz -> v1.4.tar.gz ++++++
++++ 30336 lines of diff (skipped)