Recommended update for python-typing

Announcement ID: SUSE-RU-2020:1567-2
Rating: moderate
References:
Affected Products:
  • Python 2 Module 15-SP2
  • SUSE Linux Enterprise Desktop 15 SP2
  • SUSE Linux Enterprise High Performance Computing 15 SP2
  • SUSE Linux Enterprise Server 15 SP2
  • SUSE Linux Enterprise Server for SAP Applications 15 SP2
  • SUSE Manager Proxy 4.1
  • SUSE Manager Retail Branch Server 4.1
  • SUSE Manager Server 4.1

An update that contains one feature and has one fix can now be installed.

Description:

This update for python-typing fixes the following issues:

  • Update to 3.7.4 (jsc#SLE-12548, bsc#1162547)
  • Fix subclassing builtin protocols on older Python versions
  • Move Protocol, runtime_checkable, Final, final, Literal, and TypedDict to typing
  • Add support for Python 3.8 in typing_extensions
  • Unify the implementation of annotated in src_py2 and src_py3
  • Add Annotated in python2
  • Pep 593 py3
  • Drop support of Python 3.3
  • [typing-extensions] Simple implementation for IntVar
  • Add a python 3.7+ version of Annotated to typing_extensions
  • Add SupportsIndex
  • Add TypedDict to typing_extensions
  • Add Final to the README
  • Run the tests using the current Python executable
  • Fix GeneralMeta.instancecheck() for old style classes
  • Add Literal[...] types to typing_extensions
  • Fix instance/subclass checks of functions against runtime protocols.
  • Bump typing_extension version
  • Improve PyPI entry for typing_extensions
  • Add Final to typing_extensions
  • include license file for typing-extensions and in wheels
  • Fix IO.closed to be property
  • Backport Generic.new fix
  • Bump typing_extensions version before release
  • Add missing 'NoReturn' to all in typing.py
  • Add annotations to NamedTuple children new constructors
  • Fix typing_extensions to support PEP 560
  • Pass args and *kwargs to superclass in Generic.new
  • Fix interaction between generics and init_subclass
  • Fix protocols in unions (runtime problem)
  • Fix interaction between typing_extensions and collections.abc
  • Override subclass check for the singledispatch library
  • Fix copying generic instances in Python 3
  • Switch to setuptools in typing_extensions
  • Add class Protocol and @runtime to typing extensions
  • get_type_hints(): find the right globalns for classes and modules
  • Document the workflow for publishing wheels
  • Make sure copy and deepcopy are returning same class
  • Update pytest and pytest-xdist versions
  • Fix failing test test_protocol_instance_works

Patch Instructions:

To install this SUSE update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
Alternatively you can run the command listed for your product:

  • Python 2 Module 15-SP2
    zypper in -t patch SUSE-SLE-Module-Python2-15-SP2-2020-1567=1

Package List:

  • Python 2 Module 15-SP2 (noarch)
    • python2-typing-3.7.4-3.3.2

References: