Pywbem

Latest version: v1.7.3

Safety actively analyzes 714919 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 7

0.14.5

Not secure
-------------

Released: 2019-09-29

**Bug fixes:**

* Added test to tests/manual/cim_operations.py specifically to test the iter and
pull operations for the IncludeQualifier and LocalOnly parameters based on
issue 1780.

* Dev/Test: Pinned lxml to <4.4.0 because that version removed Python 3.4
support.

* Dev/Test: Pinned pytest to <5.0.0 for Python < 3.5 because that version
requires Python >= 3.5.

* Test: Fixed errors on Python 2.6 about unnamed format replacements.

* Fixed incorrect format specifiers in exceptions raised in pywbem_mock.
(See issue 1817)

* Fixed missing support for the ANY scope in pywbem_mock. (See issue 1820)

* Increased version of WinOpenSSL used on Windows from 1.1.0k to 1.1.0L.

* Fixed that the `OpenEnumerateInstances()` method of `WBEMConnections`
incorrectly supported a `LocalOnly` parameter, that was never supported as
per DSP0200. Specifying that parameter as `True` or `False` on this method
caused properly implemented WBEM servers to reject the operation. That
parameter now still exist on this operation but is ignored and is not passed
on to WBEM servers.
The corresponding `Iter...()` method now also ignores that parameter if the
pull operations are used; it is still passed on if the traditional
operations are used. (See issue 1780)

* Fixed the issue that EnumerateInstances did not return instances without
properties unless DeepInheritance was set (see issue 1802).

* Fixed bad formatting on --mock-server option in wbemcli.py.

* Fixed the issue with 'dnf makecache fast' during pywbem_os_setup.sh on Fedora
(See issue 1844)

**Enhancements:**

* Improved handling of missing WinOpenSSL on Windows by recommending manual
download of next version.

* Test: Added support for running the pywbem tests against an installed version
of pywbem, ignoring the version of pywbem that exists in the respective
directories of the repo work directory. This is useful for testing a
version of pywbem that has been installed as an OS-level package.
(See issue 1803)

* Docs: Improved the section about installing to a native Windows environment
(See issue 1804)

* Improved error messages and error handling in wbemcli and in the pywbem
mock support.

0.14.4

Not secure
-------------

Released: 2019-07-20

**Bug fixes:**

* Test: For Python 2.6 on Travis, pinned the distro version to Ubuntu trusty
(14.04) because the default distro version on Travis changed to xenial
(16.04) which no longer has Python 2.6.

* Add Jupyter tutorial for pywbem_mock to table of notebooks in documentation.

* Fix issue with Python 3 and WBEMconnection certificate handling. pywbem
was getting AttributeError: 'SSLContext' object has no attribute 'load_cert'
because incorrect method called. (See issue 1769)

* Fixed that the `WBEMConnection.Open...()` operations incorrectly supported
an `IncludeQualifiers` parameter, that was never supported as per DSP0200.
Specifying that parameter as `True` on these operations caused properly
implemented WBEM servers to reject the operation. The parameter is now
ignored on these operations. Since this parameter was documented as
deprecated in DSP0200 and documented that users could not rely on qualifiers
to be returned, this fix should not break user code. The
`WBEMConnection.Iter...()` operations now also ignore that parameter if the
pull operations are used, and the documentation has been updated accordingly.
(See issue 1780)

* pywbem_mock display_repository() comment defintion that surrounds comments
in the output was defined as but mof comments are // so changed. (see
issue 1951)

* Fixed that local tests (i.e. TEST_INSTALLED=False) skipped MOF tests if
the mofparsetab or moflextab files did not exist. (See issue 1933)

**Enhancements:**

* Docs: Clarified how the pywbem_os_setup.sh/bat scripts can be downloaded
using a predictable URL, for automated downloads.

* Clarified the 'x509' parameter of 'WBEMConnection' in that its 'key_file'
item is optional and if omitted, both the private key and the certificate
must be in the file referenced by the 'cert_file' item. Added checks
for the 'x509' parameter.

**Cleanup:**

* Test: Removed pinning of distro version on Travis to Ubuntu xenial (16.04)
for Python 3.7, because that is now the default distro version, in order to
pick up a future increase of the default distro version automatically.

0.14.3

Not secure
-------------

Released: 2019-05-30

**Bug fixes:**

* Windows install: Upgraded version of Win32/64OpenSSL.exe that is downloaded
during installation on native Windows, from 1.1.0j to 1.1.0k. This became
necessary because the maintainer of the Win32OpenSSL project at
https://slproweb.com/products/Win32OpenSSL.html removes the previous version
from the web site whenever a new version is released, causing the pywbem
installation to fail during invocation of pywbem_os_setup.bat on Windows.
Related to that, fixed the way pywbem_os_setup.bat recognizes that the
version does not exist.
(see issue 1754)

**Enhancements:**

* Docs: Updated the trouble shooting section with an entry that explains
how a user can resolve the installation failure that is caused on Windows
when the Win32OpenSSL project at
https://slproweb.com/products/Win32OpenSSL.html removes the previous version
from their web site when a new version is released.

* Increased versions of the following packages to address security
vulnerabilities:

* requests from 2.19.1 to 2.20.1 (when on Python 2.7 or higher)
* urllib3 from 1.22 to 1.23
* bleach from 2.1.0 to 2.1.4

These packages are only used for development of pywbem.

Note that requests 2.19.1 has a security issue that is fixed in 2.20.0.
However, requests 2.20.0 has dropped support for Python 2.6.

0.14.2

Not secure
-------------

Released: 2019-05-08

**Bug fixes:**

* Test: Temporary fix for pytest option `--pythonwarnings` in end2end tests
(issue 1714).

* Test: Fixed AttributeError in end2end assertion functions (Issue 1714)

* Test: Added and fixed profile definitions for end2end tests. (Issue 1714)

* Fix issue in the Jupyter notebook iterablecimoperations where the
IterQueryInstance example did not correctly processthe return from the
operation. It attempted to itereate the returned object and should have
been iterating the generator property in that object. Documentation of
that example and the example were corrected. (see issue 1741)

* Fix issue in pywbem_mock/_wbemconnection_mock.py with EnumerateInstances that
includes a property list with a property name that differs in case from the
property name in the returned instance. Works in the conn_lite=True mode but
fails in conn_lite=False mode because the test was case insensitive.

* Test: Fixed Appveyor CI setup for UNIX-like environments under Windows
(Issue 1729)

**Enhancements:**

* Changed GetCentralInstances methodology in WBEMServer.get_central_instances()
to be bypassed by default, because (1) WBEM servers do not implement it at
this point, and (2) there are WBEM servers that do not behave gracefully
when unknown CIM methods are invoked. Because WBEM servers are required to
implement one of the other methodologies, this change is not incompatible for
pywbem users.

* Improved the performance for receiving large CIM-XML responses in the
tupleparser by moving type checks for text content in XML into an error
handling path, and by replacing some isinstance() calls with type()
comparison.

* Improved the quality of the information in TypeError exceptions that are raised
due to invalid types passed in WBEMConnection operation arguments. (Issue 1736)

0.14.1

Not secure
-------------

Released: 2019-04-05

**Bug fixes:**

* Change history: Removed incorrect statement about commenting out
server-specific functionality from the tuple parser from the change history
of pywbem 0.14.0.

0.14.0

Not secure
-------------

This version contains all fixes up to pywbem 0.13.1.

Released: 2019-04-03

**Bug fixes:**

* Extend makefile clobber to remove cover files from pywbem_mock package.

* Fixed pip version issue on Appveyor.

* Fixed AttributeError on __offset in CIMDateTime.repr(). See issue 1681.

* Removed the associationDeclaration and IndicationDeclaration mof parser
production rules from mof_compiler.py because: a) They were orderd in
p_mp_createClass so that the classDeclaration production was always used,
b) When reordered, they still created a YACC reduce/reduce conflict where the
result was that YACC used the classDeclaration production to resolve the
conflict, c) they represent exactly the same syntax as the classDeclaration.
In effect, these production rules were never really used executed.

**Enhancements:**

* Significant performance improvements in the CIM-XML parser, resulting in
about 50% elapsed time savings for 10000 returned CIM instances, compared
to pywbem 0.13.0. See issue 1630.

* Added the possibility to specify a value of `False` for the `embedded_object`
attribute/parameter of `CIMProperty` and `CIMParameter`. It is stored as
`None`. The only difference to specifying `None` is that the
`embedded_object` value is not inferred from the property or parameter value
in that case, so this saves performance.

* Added the 'python_requires' keyword to the package definition, which makes pip
aware of the supported Python versions.

* Refactored and extended Jupyter notebook for pywbem_mock.

Page 4 of 7

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.