14
0

Accepting request 1144712 from devel:languages:python

- update to 0.17.0:
  * Emit non-fatal warnings on type-checking violations? Yup. We got
    that. Grep violation_*type, then win.
  * Raise custom exception types on type-checking violations? We got
    that, too. violation_*type grepping intensifies.
  * Raise custom exception messages on type-checking violations? Got
    that. __instancecheck_str() enters the chat emboldened and
    swaggering.
  * Modify the verbosity of type-checking violation messages? Got
    that. violation_verbosity + BeartypeVerbosity is snickering in the
    back.
  * Reduce complex type hints to simple type aliases in type-checking
    violations? That is a thing now. type {name} = {hard_stuff} |
    {moar_stuff}.
  * Blatantly lie about the types your API expects by instructing
    @beartype to internally transform source to target type hints
    matching various patterns with type hint overrides? You know we
    even got that. hint_overrides + BeartypeHintOverrides. It's best
    not to question this stuff.

OBS-URL: https://build.opensuse.org/request/show/1144712
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-beartype?expand=0&rev=9
This commit is contained in:
2024-02-07 17:49:06 +00:00
committed by Git OBS Bridge
4 changed files with 28 additions and 5 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1ada89cf2d6eb30eb6e156eed2eb5493357782937910d74380918e53c2eae0bf
size 1063638

3
beartype-0.17.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3226fbba8c53b4e698acdb47dcaf3c0640151c4d405618c281e6631f4112947d
size 1127446

View File

@@ -1,3 +1,26 @@
-------------------------------------------------------------------
Tue Feb 6 18:46:35 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
- update to 0.17.0:
* Emit non-fatal warnings on type-checking violations? Yup. We got
that. Grep violation_*type, then win.
* Raise custom exception types on type-checking violations? We got
that, too. violation_*type grepping intensifies.
* Raise custom exception messages on type-checking violations? Got
that. __instancecheck_str() enters the chat emboldened and
swaggering.
* Modify the verbosity of type-checking violation messages? Got
that. violation_verbosity + BeartypeVerbosity is snickering in the
back.
* Reduce complex type hints to simple type aliases in type-checking
violations? That is a thing now. type {name} = {hard_stuff} |
{moar_stuff}.
* Blatantly lie about the types your API expects by instructing
@beartype to internally transform source to target type hints
matching various patterns with type hint overrides? You know we
even got that. hint_overrides + BeartypeHintOverrides. It's best
not to question this stuff.
-------------------------------------------------------------------
Fri Nov 10 12:43:41 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-beartype
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: python-beartype
Version: 0.16.4
Version: 0.17.0
Release: 0
Summary: Unbearably fast runtime type checking in pure Python
License: MIT