* #507: docs: document description field of Marker
* #506: fix: allow unsortable containers in In and NotIn
validators (fixes#451)
* #488: fix(typing): fix type hint for Coerce type param
* #497: fix(typing): allow path to be a list of strings,
integers or any other hashables
* #499: support: drop support for python 3.7
* #501: support: run tests on python 3.11
* #502: support: run tests on python 3.12
* #495: refactor: drop duplicated type checks in
Schema._compile
* #500: refactor: fix few tests, use pytest.raises, extend
raises helper
* #503: refactor: Add linters configuration, reformat whole
code
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-voluptuous?expand=0&rev=23
* 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
* 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
- 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