Commit Graph

11 Commits

Author SHA256 Message Date
Tomáš Chvátal
dd6eea538e Accepting request 726163 from home:alarrosa:branches:devel:languages:python
- Update to 0.11.7:
  * #378: Allow extend() of a Schema to return a subclass of a Schema as well.
  * #364: Accept description for Inclusive instances.
  * #373: Accept msg for Maybe instances.
  * #382: Added support for default values in Inclusive instances.
  * #371: Fixed DeprecationWarning related to collections.Mapping.
  * #377: Preserve Unicode strings when passed to utility functions
    (e.g., Lower(), Upper()).
  * #380: Fixed regression with Any and required flag.

OBS-URL: https://build.opensuse.org/request/show/726163
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-voluptuous?expand=0&rev=15
2019-08-27 00:52:45 +00:00
Tomáš Chvátal
a1bd393cbd Accepting request 628084 from home:jengelh:branches:devel:languages:python
- Trim repeated name in summary (rpmlint). Trim filler wording
  from description.

OBS-URL: https://build.opensuse.org/request/show/628084
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-voluptuous?expand=0&rev=13
2018-08-08 12:36:44 +00:00
299b7efc26 - update to 0.11.5:
* Fixed issue with opening README file in setup.py.
  * Support Python 3.7.
  * #343: Drop support for Python 3.3.
  * #342: Add support for sets and frozensets.
  * #332: Fix Python 3.x compatibility for setup.py when pypandoc is installed.
  * #348: Include path in AnyInvalid errors.
  *#351: Fix Date behaviour when a custom format is specified.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-voluptuous?expand=0&rev=12
2018-08-07 20:09:13 +00:00
Tomáš Chvátal
2e1cf8c34f - Sort out a bit with spec-cleaner
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-voluptuous?expand=0&rev=11
2018-08-07 11:31:35 +00:00
Thomas Bechtold
05fc5ade5b - 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
2018-03-23 15:09:10 +00:00
Thomas Bechtold
8bd4bc5486 Accepting request 508591 from home:tbechtold:branches:devel:languages:python
- update to 0.10.5:
  - [#278](https://github.com/alecthomas/voluptuous/pull/278): Unicode
    translation to python 2 issue fixed.
  - [#195](https://github.com/alecthomas/voluptuous/pull/195):
    `Range` raises `RangeInvalid` when testing `math.nan`.
  - [#215](https://github.com/alecthomas/voluptuous/pull/215):
    `{}` and `[]` now always evaluate as is, instead of as any dict or any list.
    To specify a free-form list, use `list` instead of `[]`. To specify a
    free-form dict, use `dict` instead of `Schema({}, extra=ALLOW_EXTRA)`.
  - [#224](https://github.com/alecthomas/voluptuous/pull/224):
    Change the encoding of keys in error messages from Unicode to UTF-8.
  - [#185](https://github.com/alecthomas/voluptuous/pull/185):
    Add argument validation decorator.
  - [#199](https://github.com/alecthomas/voluptuous/pull/199):
    Add `Unordered`.
  - [#200](https://github.com/alecthomas/voluptuous/pull/200):
    Add `Equal`.
  - [#207](https://github.com/alecthomas/voluptuous/pull/207):
    Add `Number`.
  - [#210](https://github.com/alecthomas/voluptuous/pull/210):
    Add `Schema` equality check.
  - [#212](https://github.com/alecthomas/voluptuous/pull/212):
    Add `coveralls`.
  - [#227](https://github.com/alecthomas/voluptuous/pull/227):
    Improve `Marker` management in `Schema`.
  - [#232](https://github.com/alecthomas/voluptuous/pull/232):
    Add `Maybe`.
  - [#234](https://github.com/alecthomas/voluptuous/pull/234):
    Add `Date`.
  - [#236](https://github.com/alecthomas/voluptuous/pull/236),

OBS-URL: https://build.opensuse.org/request/show/508591
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-voluptuous?expand=0&rev=7
2017-07-07 13:03:39 +00:00
Denisart Benjamin
8403589bbe Accepting request 418675 from home:tbechtold:branches:devel:languages:python
- Use pypi.io as Source url

OBS-URL: https://build.opensuse.org/request/show/418675
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-voluptuous?expand=0&rev=5
2016-08-11 16:06:02 +00:00
3b41aec731 Accepting request 418338 from Cloud:OpenStack:Master
- update to 0.9.3:
  * README: Document Schema.extend
  * Also include README.rst in distribution.
  * Add missing % formatting character
  * Mention use of Any to allow None values
  * Flake8 errors resolved; Tox now running successfully
  * Bump to 0.9.2
  * if/else conditions modified
  * 0.9.1 to fix missing Error import.
  * Don't assume a user's dict type can be instantiated.
  * Eliminate unnecessary SequenceItemInvalid exception.
  * Squashing commits into 1
  * Fixes issue #118 by guarding against a TypeError: unhashable type: 'list' exception
  * Bump version.
  * Include tests in sdist.
  * Removed docs from master to avoid confusion
  * Added additional @wraps where appropriate
  * Added Unique and Set
  * Added recursive schema into README #128
  * Remove setup_requires from setup.py
  * Added validator for datetime strings
  * 0.8.9 release.
  * Documentation made with Sphinx
  * Make many of the validators have useful __repr__
  * Test cases for checking validation of domain less url's
  * Added Literal wrapper for literal comparisons.
  * Fixed docs for doctest
  * Added Documentation Link
  * Implement Schema.extend
  * Release 0.8.7.

OBS-URL: https://build.opensuse.org/request/show/418338
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-voluptuous?expand=0&rev=4
2016-08-10 16:28:39 +00:00
7f019f4f7d Accepting request 418295 from Cloud:OpenStack:Master
- update to 0.9.3

OBS-URL: https://build.opensuse.org/request/show/418295
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-voluptuous?expand=0&rev=3
2016-08-10 16:24:45 +00:00
Dominique Leuenberger
e0c79df73a Accepting request 347801 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/347801
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-voluptuous?expand=0&rev=1
2015-12-09 18:53:48 +00:00
6e317bf641 Accepting request 294086 from home:aspiers:branches:devel:languages:python
new package (required by python-gertty)

OBS-URL: https://build.opensuse.org/request/show/294086
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-voluptuous?expand=0&rev=1
2015-04-02 07:50:43 +00:00