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

Added additional tests for Range, Clamp and Length + catch exceptions #427

Merged
merged 3 commits into from
Sep 20, 2020

Conversation

spacegaier
Copy link
Collaborator

This previous PR #414 added support to catch invalid values/types for Range. I now added that also for Clamp and Length.

Additional I added some more tests to increase the coverage and verify the new exception handling for Clamp and Length.

It would be great if after merging, a new version 0.11.8 could be created, so that depending projects (such as home-assistant where I came across those type exceptions in the first place) can easily pull in those fixes.

@coveralls
Copy link

coveralls commented Sep 19, 2020

Coverage Status

Coverage decreased (-0.05%) to 93.292% when pulling e407e86 on spacegaier:type-error-tests into 580e730 on alecthomas:master.

@alecthomas
Copy link
Owner

Very nice, thanks!

@alecthomas alecthomas merged commit 9fa0009 into alecthomas:master Sep 20, 2020
@spacegaier
Copy link
Collaborator Author

@alecthomas Any ideas when a new release of the library will be released so that we can pull all the recent fixes into dependent projects?

@spacegaier spacegaier deleted the type-error-tests branch September 20, 2020 09:16
@alecthomas
Copy link
Owner

Hi @spacegaier , pushed up 0.12.0: https://pypi.org/project/voluptuous/0.12.0/

I'm very out of touch with the Python ecosystem at this point, so if you're interested in helping out with releases and general maintenance I'd be happy to hand over the reins.

@spacegaier
Copy link
Collaborator Author

@alecthomas I personally am rather new to the Python ecosystem, but I would be willing to help out here.

And BTW: Thanks for the new release. I already triggered the dependency update in the dependent project I am contributing to (home-assistant/core#40401).

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.

3 participants