Overview

Request 590718 accepted

- 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.

Request History
Thomas Bechtold's avatar

tbechtold created request

- 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.


Saul Goodman's avatar

licensedigger accepted review

ok


Factory Auto's avatar

factory-auto added opensuse-review-team as a reviewer

Please review sources


Factory Auto's avatar

factory-auto added repo-checker as a reviewer

Please review build success


Factory Auto's avatar

factory-auto accepted review

Check script succeeded


Staging Bot's avatar

staging-bot added openSUSE:Factory:Staging:adi:18 as a reviewer

Being evaluated by staging project "openSUSE:Factory:Staging:adi:18"


Staging Bot's avatar

staging-bot accepted review

Picked openSUSE:Factory:Staging:adi:18


Jan Engelhardt's avatar

jengelh accepted review


Repo Checker's avatar

repo-checker accepted review

cycle and install check passed


Staging Bot's avatar

staging-bot accepted review

ready to accept


Staging Bot's avatar

staging-bot approved review

ready to accept


Dominique Leuenberger's avatar

dimstar_suse accepted request

Accept to openSUSE:Factory

openSUSE Build Service is sponsored by