From 298281cdba7f90531873328ba797bd9f49925f2395e49817e0c3049fb805808a Mon Sep 17 00:00:00 2001 From: Daniel Garcia Date: Tue, 6 Feb 2024 18:52:57 +0000 Subject: [PATCH] - 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/package/show/devel:languages:python/python-beartype?expand=0&rev=17 --- beartype-0.16.4.tar.gz | 3 --- beartype-0.17.0.tar.gz | 3 +++ python-beartype.changes | 23 +++++++++++++++++++++++ python-beartype.spec | 4 ++-- 4 files changed, 28 insertions(+), 5 deletions(-) delete mode 100644 beartype-0.16.4.tar.gz create mode 100644 beartype-0.17.0.tar.gz diff --git a/beartype-0.16.4.tar.gz b/beartype-0.16.4.tar.gz deleted file mode 100644 index f65e459..0000000 --- a/beartype-0.16.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1ada89cf2d6eb30eb6e156eed2eb5493357782937910d74380918e53c2eae0bf -size 1063638 diff --git a/beartype-0.17.0.tar.gz b/beartype-0.17.0.tar.gz new file mode 100644 index 0000000..4af424a --- /dev/null +++ b/beartype-0.17.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3226fbba8c53b4e698acdb47dcaf3c0640151c4d405618c281e6631f4112947d +size 1127446 diff --git a/python-beartype.changes b/python-beartype.changes index fb1eccc..aed8305 100644 --- a/python-beartype.changes +++ b/python-beartype.changes @@ -1,3 +1,26 @@ +------------------------------------------------------------------- +Tue Feb 6 18:46:35 UTC 2024 - Daniel Garcia + +- 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 diff --git a/python-beartype.spec b/python-beartype.spec index 264e3bf..939b59d 100644 --- a/python-beartype.spec +++ b/python-beartype.spec @@ -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