Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update voluptuous to 0.15.2 #141

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pyup-bot
Copy link
Collaborator

@pyup-bot pyup-bot commented Jul 2, 2024

This PR updates voluptuous from 0.11.7 to 0.15.2.

Changelog

0.15.2

**Fixes**:

* [522](https://github.com/alecthomas/voluptuous/pull/522) Fix regression with ALLOW_EXTRA and `Any` validator

0.15.1

**Fixes**:

* [515](https://github.com/alecthomas/voluptuous/pull/515) Fix `Remove` not removing keys that do not validate
* [516](https://github.com/alecthomas/voluptuous/pull/516) Improve validator typing to allow non-number formats for min and max
* [517](https://github.com/alecthomas/voluptuous/pull/517) Remove `Maybe` validator typing
* [518](https://github.com/alecthomas/voluptuous/pull/518) Use typing.Container for `In` validator
* [519](https://github.com/alecthomas/voluptuous/pull/519) Don't enforce type for unused description attribute
* [521](https://github.com/alecthomas/voluptuous/pull/521) Type schema attribute as `Any`

0.15.0

**Fixes**:

* [512](https://github.com/alecthomas/voluptuous/pull/512): Add Any type to defaults
* [513](https://github.com/alecthomas/voluptuous/pull/513): Only calculate hash once for Marker objects

**Changes**:

* [514](https://github.com/alecthomas/voluptuous/pull/514): Remove python 3.8 support

0.14.2

**New**:
* [507](https://github.com/alecthomas/voluptuous/pull/507): docs: document description field of Marker

**Fixes**:
* [506](https://github.com/alecthomas/voluptuous/pull/506): fix: allow unsortable containers in In and NotIn validators (fixes [#451](https://github.com/alecthomas/voluptuous/issues/451)) (bug introduced in 0.12.1)
* [488](https://github.com/alecthomas/voluptuous/pull/488): fix(typing): fix type hint for Coerce type param (bug introduced in 0.14.0)
* [497](https://github.com/alecthomas/voluptuous/pull/497): fix(typing): allow path to be a list of strings, integers or any other hashables (bug introduced in 0.14.0)

**Changes**:
* [499](https://github.com/alecthomas/voluptuous/pull/499): support: drop support for python 3.7
* [501](https://github.com/alecthomas/voluptuous/pull/501): support: run tests on python 3.11
* [502](https://github.com/alecthomas/voluptuous/pull/502): support: run tests on python 3.12
* [495](https://github.com/alecthomas/voluptuous/pull/495): refactor: drop duplicated type checks in Schema._compile
* [500](https://github.com/alecthomas/voluptuous/pull/500): refactor: fix few tests, use pytest.raises, extend raises helper
* [503](https://github.com/alecthomas/voluptuous/pull/503): refactor: Add linters configuration, reformat whole code

0.14.1

**Changes**:
* [487](https://github.com/alecthomas/voluptuous/pull/487): Add pytest.ini and tox.ini to sdist
* [494](https://github.com/alecthomas/voluptuous/pull/494): Add `python_requires` so package installers know requirement is >= 3.7

0.14.0

**Fixes**:
* [470](https://github.com/alecthomas/voluptuous/pull/470): Fix a few code comment typos
* [472](https://github.com/alecthomas/voluptuous/pull/472): Change to SPDX conform license string


**New**:
* [475](https://github.com/alecthomas/voluptuous/pull/475): Add typing information
* [478](https://github.com/alecthomas/voluptuous/pull/478): Fix new type hint of schemas, for example for `Required('key')`
* [486](https://github.com/alecthomas/voluptuous/pull/486): Fix new type hints and enable `mypy`
* [479](https://github.com/alecthomas/voluptuous/pull/479): Allow error reporting on keys

**Changes**:
* [476](https://github.com/alecthomas/voluptuous/pull/476): Set static PyPI project description
* [482](https://github.com/alecthomas/voluptuous/pull/482): Remove Travis build status badge

0.13.1

**Fixes**:

- [439](https://github.com/alecthomas/voluptuous/pull/454): Ignore `Enum` if it is unavailable
- [456](https://github.com/alecthomas/voluptuous/pull/456): Fix email regex match for Python 2.7

**New**:

- [457](https://github.com/alecthomas/voluptuous/pull/457): Enable github actions
- [462](https://github.com/alecthomas/voluptuous/pull/462): Convert codebase to adhere to `flake8` W504 (PEP 8)
- [459](https://github.com/alecthomas/voluptuous/pull/459): Enable `flake8` in github actions
- [464](https://github.com/alecthomas/voluptuous/pull/464): `pytest` migration + enable Python 3.10

0.13.0

**Changes**:

- [450](https://github.com/alecthomas/voluptuous/pull/450): Display valid `Enum` values in `Coerce`

0.12.2

**Fixes**:

- [439](https://github.com/alecthomas/voluptuous/issues/439): Revert Breaking `Maybe` change in 0.12.1
- [447](https://github.com/alecthomas/voluptuous/issues/447): Fix Email Regex to not match on extra characters

0.12.1

**Changes**:
- [435](https://github.com/alecthomas/voluptuous/pull/435): Extended a few tests (`Required` and `In`)
- [425](https://github.com/alecthomas/voluptuous/pull/425): Improve error message for `In` and `NotIn`
- [436](https://github.com/alecthomas/voluptuous/pull/436): Add sorted() for `In` and `NotIn` + fix tests
- [437](https://github.com/alecthomas/voluptuous/pull/437): Grouped `Maybe` tests plus added another `Range` test
- [438](https://github.com/alecthomas/voluptuous/pull/438): Extend tests for `Schema` with empty list or dict

**New**:
- [433](https://github.com/alecthomas/voluptuous/pull/433): Add Python 3.9 support

**Fixes**:
- [431](https://github.com/alecthomas/voluptuous/pull/431): Fixed typos + made spelling more consistent
- [411](https://github.com/alecthomas/voluptuous/pull/411): Ensure `Maybe` propagates error information
- [434](https://github.com/alecthomas/voluptuous/pull/434): Remove value enumeration when validating empty list

0.12.0

**Changes**:
- n/a

**New**:
- [368](https://github.com/alecthomas/voluptuous/pull/368): Allow a discriminant field in validators

**Fixes**:
- [420](https://github.com/alecthomas/voluptuous/pull/420): Fixed issue with 'required' not being set properly and added test 
- [414](https://github.com/alecthomas/voluptuous/pull/414): Handle incomparable values in Range
- [427](https://github.com/alecthomas/voluptuous/pull/427): Added additional tests for Range, Clamp and Length + catch TypeError exceptions
Links

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant