accfb2855a
- update to 0.15.0: * #512: Add Any type to defaults * #513: Only calculate hash once for Marker objects * #514: Remove python 3.8 support
Dirk Mueller2024-06-29 07:00:18 +00:00
28c93131a7
Accepting request 1157891 from devel:languages:python
Ana Guerrero2024-03-14 16:45:15 +00:00
c3893b46a0
- update to 0.14.2: * #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
Dirk Mueller2024-03-14 08:55:49 +00:00
8fe6b5cd77
Accepting request 1132857 from devel:languages:python
Ana Guerrero2023-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
Dirk Mueller2023-12-13 10:44:08 +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)
Dirk Mueller2022-10-01 14:41:22 +00:00
a1bd393cbd
Accepting request 628084 from home:jengelh:branches:devel:languages:python
Tomáš Chvátal
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.
Dirk Mueller2018-08-07 20:09:13 +00:00
2e1cf8c34f
- Sort out a bit with spec-cleaner
Tomáš Chvátal
2018-08-07 11:31:35 +00:00
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.
Thomas Bechtold2018-03-23 15:09:10 +00:00
2bcbd0862c
Accepting request 508802 from devel:languages:python
Yuchen Lin2017-08-04 09:58:51 +00:00
8bd4bc5486
Accepting request 508591 from home:tbechtold:branches:devel:languages:python
Thomas Bechtold2017-07-07 13:03:39 +00:00