-------------------------------------------------------------------------------- Fedora Update Notification FEDORA-2023-a6e155a05c 2023-09-15 18:36:13.242821 -------------------------------------------------------------------------------- Name : python-typeguard Product : Fedora 39 Version : 4.1.5 Release : 1.fc39 URL : https://github.com/agronholm/typeguard Summary : Run-time type checker for Python Description : This library provides run-time type checking for functions defined with PEP 484 argument (and return) type annotations. -------------------------------------------------------------------------------- Update Information: **4.1.5** (2023-09-11) - 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 **4.1.4** (2023-09-10) - 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 (imported within an `if TYPE_CHECKING:` block) - 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) - Fixed type checking of class instances created in `__new__()` in cases such as enums where this method is already invoked before the class has finished initializing ---- **4.1.3** (2023-08-27) - 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 -------------------------------------------------------------------------------- ChangeLog: * Mon Sep 11 2023 Benjamin A. Beasley <code@xxxxxxxxxxxxxxxxxx> - 4.1.5-1 - Update to 4.1.5 (close RHBZ#2238247) * Sun Aug 27 2023 Benjamin A. Beasley <code@xxxxxxxxxxxxxxxxxx> - 4.1.3-2 - Allow older Sphinx for F39 * Sun Aug 27 2023 Benjamin A. Beasley <code@xxxxxxxxxxxxxxxxxx> - 4.1.3-1 - Update to 4.1.3 (close RHBZ#2235133) -------------------------------------------------------------------------------- References: [ 1 ] Bug #2235133 - python-typeguard-4.1.3 is available https://bugzilla.redhat.com/show_bug.cgi?id=2235133 [ 2 ] Bug #2238247 - python-typeguard-4.1.5 is available https://bugzilla.redhat.com/show_bug.cgi?id=2238247 -------------------------------------------------------------------------------- This update can be installed with the "dnf" update program. Use su -c 'dnf upgrade --advisory FEDORA-2023-a6e155a05c' at the command line. For more information, refer to the dnf documentation available at http://dnf.readthedocs.io/en/latest/command_ref.html#upgrade-command-label All packages are signed with the Fedora Project GPG key. More details on the GPG keys used by the Fedora Project can be found at https://fedoraproject.org/keys -------------------------------------------------------------------------------- _______________________________________________ package-announce mailing list -- package-announce@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to package-announce-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/package-announce@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue