From 05fc5ade5b13c0be80d91ce39bd24d57e3347224c9c1296ab2a6b7364996814b Mon Sep 17 00:00:00 2001 From: Thomas Bechtold Date: Fri, 23 Mar 2018 15:09:10 +0000 Subject: [PATCH] - update to 0.11.1: - Support Python 3.6. - Drop support for Python 2.6, 3.1 and 3.2. - Allow to use nested schema and allow any validator to be compiled. - Default values MUST now pass validation just as any regular value. This is a backward incompatible change if a schema uses default values that don't pass validation against the specified schema. - Modify `__lt__` in Marker class to allow comparison with non Marker objects, such as str and int. - Add description field to `Marker` instances. - Add `Schema.infer` method for basic schema inference. - Add `SomeOf` validator. - Treat Python 2 old-style classes like types when validating. - Make `IsDir()`, `IsFile()` and `PathExists()` consistent between different Python versions. - Use absolute imports to avoid import conflicts. - Fix `Coerce` validator to catch `decimal.InvalidOperation`. - Make `Schema([])` usage consistent with `Schema({})`. - Allow partial validation when using validate decorator. - Make `Schema.__eq__` deterministic. - Replace implementation of `Maybe(s)` with `Any(None, s)` to allow it to be compiled. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-voluptuous?expand=0&rev=9 --- python-voluptuous.changes | 26 ++++++++++++++++++++++++++ python-voluptuous.spec | 4 ++-- voluptuous-0.10.5.tar.gz | 3 --- voluptuous-0.11.1.tar.gz | 3 +++ 4 files changed, 31 insertions(+), 5 deletions(-) delete mode 100644 voluptuous-0.10.5.tar.gz create mode 100644 voluptuous-0.11.1.tar.gz diff --git a/python-voluptuous.changes b/python-voluptuous.changes index 0c94fd8..fcd8905 100644 --- a/python-voluptuous.changes +++ b/python-voluptuous.changes @@ -1,3 +1,29 @@ +------------------------------------------------------------------- +Fri Mar 23 15:05:35 UTC 2018 - tbechtold@suse.com + +- update to 0.11.1: + - Support Python 3.6. + - Drop support for Python 2.6, 3.1 and 3.2. + - Allow to use nested schema and allow any validator to be compiled. + - Default values MUST now pass validation just as any regular value. + This is a backward incompatible change if a schema uses default values + that don't pass validation against the specified schema. + - Modify `__lt__` in Marker class to allow comparison with non Marker + objects, such as str and int. + - Add description field to `Marker` instances. + - Add `Schema.infer` method for basic schema inference. + - Add `SomeOf` validator. + - Treat Python 2 old-style classes like types when validating. + - Make `IsDir()`, `IsFile()` and `PathExists()` consistent between + different Python versions. + - Use absolute imports to avoid import conflicts. + - Fix `Coerce` validator to catch `decimal.InvalidOperation`. + - Make `Schema([])` usage consistent with `Schema({})`. + - Allow partial validation when using validate decorator. + - Make `Schema.__eq__` deterministic. + - Replace implementation of `Maybe(s)` with `Any(None, s)` to allow + it to be compiled. + ------------------------------------------------------------------- Thu Jul 6 14:39:52 UTC 2017 - tbechtold@suse.com diff --git a/python-voluptuous.spec b/python-voluptuous.spec index 60fb5aa..dbcfa26 100644 --- a/python-voluptuous.spec +++ b/python-voluptuous.spec @@ -1,7 +1,7 @@ # # spec file for package python-voluptuous # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-voluptuous -Version: 0.10.5 +Version: 0.11.1 Release: 0 Summary: Voluptuous is a Python data validation library License: BSD-3-Clause diff --git a/voluptuous-0.10.5.tar.gz b/voluptuous-0.10.5.tar.gz deleted file mode 100644 index 9f6add4..0000000 --- a/voluptuous-0.10.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7a7466f8dc3666a292d186d1d871a47bf2120836ccb900d5ba904674957a2396 -size 41436 diff --git a/voluptuous-0.11.1.tar.gz b/voluptuous-0.11.1.tar.gz new file mode 100644 index 0000000..2ca4e4a --- /dev/null +++ b/voluptuous-0.11.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:af7315c9fa99e0bfd195a21106c82c81619b42f0bd9b6e287b797c6b6b6a9918 +size 44346