Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-typeguard for 
openSUSE:Factory checked in at 2023-12-05 17:01:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-typeguard (Old)
 and      /work/SRC/openSUSE:Factory/.python-typeguard.new.25432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-typeguard"

Tue Dec  5 17:01:04 2023 rev:5 rq:1130725 version:4.1.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-typeguard/python-typeguard.changes        
2023-05-19 11:55:46.607350871 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-typeguard.new.25432/python-typeguard.changes 
    2023-12-05 17:01:15.328811173 +0100
@@ -1,0 +2,43 @@
+Mon Dec  4 11:32:09 UTC 2023 - Dirk Müller <dmuel...@suse.com>
+
+- update to 4.1.5:
+  * Fixed ``Callable`` erroneously rejecting a callable that has
+    the requested amount of positional arguments but they have
+    defaults
+  * Fixed a regression introduced in v4.1.4 where the elements of
+    ``Literal`` got quotes removed from them by the AST transformer
+  * Fixed ``AttributeError`` where the transformer removed
+    elements from a PEP 604 union
+  * Fixed ``AttributeError: 'Subscript' object has no attribute
+    'slice'`` when encountering an annotation with a subscript
+    containing an ignored type
+  * Fixed type checking not being skipped when the target is a
+    union (PEP 604 or ``typing.Union``) where one of the elements
+    is an ignored type (shadowed by an argument, variable
+    assignment or an ``if TYPE_CHECKING`` import)
+  * Dropped Python 3.7 support
+  * Fixed ``@typechecked`` optimization causing compilation of
+    instrumented code to fail when any block was left empty by the
+    AST transformer (eg ``if`` or ``try`` / ``except`` blocks)
+  * Fixed placement of injected typeguard imports with respect to
+    ``__future__`` imports and module docstrings
+  * Fixed ``Any`` being removed from a subscript that still
+    contains other elements
+  * Fixed ``suppress_type_checks()`` causing annotated variable
+    assignments to always assign ``None``
+  * Added support for passing a tuple as ``expected_type`` to
+    ``check_type()``, making it more of a drop-in replacement for
+    ``isinstance()``
+  * Fixed regression where ``Literal`` inside a ``Union`` had
+    quotes stripped from its contents, thus typically causing
+    ``NameError`` to be raised when run
+  * Fixed handling of ``typing_extensions.Literal`` on Python 3.8
+    and 3.9 when ``typing_extensions>=4.6.0`` is installed
+  * Fixed ``NameError`` when generated type checking code
+    references an imported name from a method
+  * Fixed docstrings disappearing from instrumented functions
+  * Fixed ``@typechecked`` failing to instrument functions when
+    there are more than one function within the same scope
+  * Fixed ``frozenset`` not being checked
+
+-------------------------------------------------------------------

Old:
----
  typeguard-4.0.0.tar.gz

New:
----
  typeguard-4.1.5.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-typeguard.spec ++++++
--- /var/tmp/diff_new_pack.p4F1zy/_old  2023-12-05 17:01:16.236844644 +0100
+++ /var/tmp/diff_new_pack.p4F1zy/_new  2023-12-05 17:01:16.236844644 +0100
@@ -16,11 +16,9 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%define skip_python2 1
 %{?sle15_python_module_pythons}
 Name:           python-typeguard
-Version:        4.0.0
+Version:        4.1.5
 Release:        0
 Summary:        Library for runtime checking of Python types
 License:        MIT

++++++ typeguard-4.0.0.tar.gz -> typeguard-4.1.5.tar.gz ++++++
++++ 1931 lines of diff (skipped)

Reply via email to