Recommended update for python-cliff, python-setuptools, python-mock
Announcement ID: | SUSE-RU-2016:2573-1 |
---|---|
Rating: | low |
References: | |
Affected Products: |
|
An update that has three fixes can now be installed.
Description:
This update provides newer versions of python-cliff, python-setuptools and python-mock, including several fixes and enhancements.
python-cliff (updated from 1.7.0 to 1.14.0):
- Fix encoding issue with the default python CSV output.
- Add command fuzzy matching.
- Allow subcommands to accept --help when using 'deferred_help'.
For a comprehensive list of fixes please refer to the package's change log.
python-mock (updated from 1.0.1 to 1.3.0):
- mock_open.read_data can now be read from each instance.
- Fix unittest.mock.mock_open().reset_mock to not recurse infinitely.
- Support Python 2.6.
- Allow unittest.mock side_effects to be exceptions again.
- Abort installation if the installer is using setuptools older than 17.1.
- Fix MagicMock's initializer to work with methods.
- Add matmul, rdivmod support to MagicMock() objects.
- Use set literals instead of creating a set from a list.
- New method assert_not_called for Mock.
- New keyword argument
unsafe
to Mock. - Four additional builtin types (PyTypeObject, PyMethodDescr_Type, _PyMethodWrapper_Type, and PyWrapperDescr_Type) have been modified to provide introspection information for builtins.
For a comprehensive list of fixes please refer to the package's change log.
python-setuptools (updated from 1.1.7 to 18.0.1):
- Fix certificate handling with certifi and add support for SUSE's CA bundle. (bsc#993968)
- Drop support for builds with Pyrex. Only Cython is supported.
- Bootstrap script now accepts "--to-dir" to customize save directory or allow for re-use of existing repository of setuptools versions.
- Removed built-in support for subversion.
- Eggs that are downloaded for "setup_requires", "test_requires", etc. are now placed in a "./.eggs" directory instead of directly in the current directory.
- Correct usage of host for validation when tunneling for HTTPS.
- Improved handling of Unicode filenames when building manifests.
- More robust handling of replaced zip files and stale caches.
- Add parameter to the test command to support a custom test runner: --test-runner or -r.
- Remove "setuptools.command.easy_install.HAS_USER_SITE". Users expecting this boolean variable should use "site.ENABLE_USER_SITE" instead.
- Remove "pkg_resources.ImpWrapper". Users that expected this class should use "pkgutil.ImpImporter" instead.
- Drop support for Python 2.4 and Python 2.5.
- Establish a more robust technique for determining the terminal encoding.
- "easy_install" will now use credentials from .pypirc if present for connecting to the package index.
- Wheels are now distributed with every release.
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:
-
SUSE Cloud for SLE 12 Compute Nodes 5
zypper in -t patch SUSE-SLE12-CLOUD-5-2016-1509=1
-
SUSE OpenStack Cloud 6
zypper in -t patch SUSE-OpenStack-Cloud-6-2016-1509=1
-
Containers Module 12
zypper in -t patch SUSE-SLE-Module-Containers-12-2016-1509=1
-
Public Cloud Module 12
zypper in -t patch SUSE-SLE-Module-Public-Cloud-12-2016-1509=1
-
SUSE Linux Enterprise Software Development Kit 12 SP1
zypper in -t patch SUSE-SLE-SDK-12-SP1-2016-1509=1
-
SUSE Linux Enterprise Server for SAP Applications 12 SP1
zypper in -t patch SUSE-SLE-SERVER-12-SP1-2016-1509=1
-
SUSE Linux Enterprise Server 12 SP1
zypper in -t patch SUSE-SLE-SERVER-12-SP1-2016-1509=1
-
SUSE Enterprise Storage 2.1
zypper in -t patch SUSE-Storage-2.1-2016-1509=1
Package List:
-
SUSE Cloud for SLE 12 Compute Nodes 5 (noarch)
- python-setuptools-18.0.1-3.2
- python-cliff-1.14.0-10.2
- python-funcsigs-0.4-2.2
- python-unicodecsv-0.9.4-2.2
- python-mock-1.3.0-2.2
-
SUSE OpenStack Cloud 6 (noarch)
- python-mock-1.3.0-2.2
- python-setuptools-18.0.1-3.2
- python-funcsigs-0.4-2.2
-
Containers Module 12 (noarch)
- python-setuptools-18.0.1-3.2
-
Public Cloud Module 12 (noarch)
- python-setuptools-18.0.1-3.2
- python-cliff-1.14.0-10.2
- python-funcsigs-0.4-2.2
- python-unicodecsv-0.9.4-2.2
- python-mock-1.3.0-2.2
-
SUSE Linux Enterprise Software Development Kit 12 SP1 (noarch)
- python-setuptools-18.0.1-3.2
-
SUSE Linux Enterprise Server for SAP Applications 12 SP1 (noarch)
- python-setuptools-18.0.1-3.2
-
SUSE Linux Enterprise Server 12 SP1 (noarch)
- python-setuptools-18.0.1-3.2
-
SUSE Enterprise Storage 2.1 (noarch)
- python-mock-1.3.0-2.2
- python-funcsigs-0.4-2.2