Commit Graph

22 Commits

Author SHA256 Message Date
Ana Guerrero
8fe6b5cd77 Accepting request 1132857 from devel:languages:python
- update to 0.14.1:
  * Add `python_requires` so package installers know
    requirement is >= 3.7
  * Fix a few code comment typos
  * Change to SPDX conform license string
  * Add typing information
  * Fix new type hint of schemas, for example for
    `Required('key')`
  * Fix new type hints and enable `mypy`
  * Allow error reporting on keys
  * Set static PyPI project description
  * Remove Travis build status badge

OBS-URL: https://build.opensuse.org/request/show/1132857
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-voluptuous?expand=0&rev=9
2023-12-13 17:36:19 +00:00
b0431c4863 - update to 0.14.1:
* Add `python_requires` so package installers know
    requirement is >= 3.7
  * Fix a few code comment typos
  * Change to SPDX conform license string
  * Add typing information
  * Fix new type hint of schemas, for example for
    `Required('key')`
  * Fix new type hints and enable `mypy`
  * Allow error reporting on keys
  * Set static PyPI project description
  * Remove Travis build status badge

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-voluptuous?expand=0&rev=21
2023-12-13 10:44:08 +00:00
Dominique Leuenberger
2c8833c101 Accepting request 1007462 from devel:languages:python
- update to 0.13.1:
  * Ignore `Enum` if it is unavailable
  * Fix email regex match for Python 2.7
  * Enable github actions
  * Convert codebase to adhere to `flake8` W504 (PEP 8)
  * Enable `flake8` in github actions
  * `pytest` migration + enable Python 3.10
  * Display valid `Enum` values in `Coerce`
  * Revert Breaking Maybe change in 0.12.1
  * Revert Breaking `Maybe` change in 0.12.1
  * Fix Email Regex to not match on extra characters
- drop python-voluptuous-remove-nose.patch (upstream)

OBS-URL: https://build.opensuse.org/request/show/1007462
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-voluptuous?expand=0&rev=8
2022-10-03 11:44:36 +00:00
86a9cacdb7 - update to 0.13.1:
* Ignore `Enum` if it is unavailable
  * Fix email regex match for Python 2.7
  * Enable github actions
  * Convert codebase to adhere to `flake8` W504 (PEP 8)
  * Enable `flake8` in github actions
  * `pytest` migration + enable Python 3.10
  * Display valid `Enum` values in `Coerce`
  * Revert Breaking Maybe change in 0.12.1
  * Revert Breaking `Maybe` change in 0.12.1
  * Fix Email Regex to not match on extra characters
- drop python-voluptuous-remove-nose.patch (upstream)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-voluptuous?expand=0&rev=19
2022-10-01 14:41:22 +00:00
Dominique Leuenberger
c3c8008ee8 Accepting request 817235 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/817235
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-voluptuous?expand=0&rev=7
2020-06-28 21:05:12 +00:00
Tomáš Chvátal
7b602cc2ed Accepting request 817223 from home:pgajdos:python
- added patches
  https://github.com/alecthomas/voluptuous/pull/422
  + python-voluptuous-remove-nose.patch

OBS-URL: https://build.opensuse.org/request/show/817223
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-voluptuous?expand=0&rev=17
2020-06-26 10:35:34 +00:00
Dominique Leuenberger
7971de22bb Accepting request 726268 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/726268
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-voluptuous?expand=0&rev=6
2019-09-02 10:44:50 +00:00
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
Dominique Leuenberger
bafb8828f0 Accepting request 628087 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/628087
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-voluptuous?expand=0&rev=5
2018-08-10 07:48:53 +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
Dominique Leuenberger
0d246304db Accepting request 590718 from devel:languages:python
- 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/request/show/590718
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-voluptuous?expand=0&rev=4
2018-03-28 08:29:05 +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
Yuchen Lin
2bcbd0862c Accepting request 508802 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/508802
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-voluptuous?expand=0&rev=3
2017-08-04 09:58:51 +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
Dominique Leuenberger
25364ba6c7 Accepting request 418738 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/418738
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-voluptuous?expand=0&rev=2
2016-08-12 13:43:46 +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