Commit Graph

11 Commits

Author SHA1 Message Date
Leon Anavi
d275208fca python3-pywbem: Upgrade 0.17.4 -> 1.0.2
Upgrade to release 1.0.2:

- Fixed erronously raised HeaderParseError when WBEM server
  returns Content-type: text/xml. This content-type is valid
  according to DSP0200. Added testcases.
- Fixed handling of ReturnQueryResultClass=True in
  WBEMConnection.OpenQueryInstances().
- Mock: In the mock support, fixed multiple errors in the mocked
  OpenQueryInstances(), and added testcases for it.
- Mock: Added support for more ways the output parameters can be
  returned in method providers: The container for the output
  parameters can now also be a Mapping (including pywbem’s
  internal NocaseDict or nocasedict.NocaseDict), in addition to
  just the built-in dict. The values in such a Mapping container
  can now also be CIMParameter objects, in addition to just the
  CIM data values. This provides consistency with the way the
  input parameters of the method provider are represented.

Removed the wbemcli command that was deprecated in pywbem 0.15.0.
The recommended replacement is the pywbemcli command from the
'pywbemtools' package.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-25 10:32:30 -07:00
Leon Anavi
5ce7346a99 python3-pywbem: Upgrade 0.17.3 -> 0.17.4
Upgrade to release 0.17.4 with the following bug fixes:

- Test: On Python 3.8, upgraded the minimum version of lxml from
  4.4.1 to 4.4.3, in order to fix an XMLSyntaxError raised when
  encountering UCS-4 characters.
- Test: Fixed issue with Swig when installing M2Crypto on native
  Windows in the Appveyor CI, reporting mssing files swig.swg and
  python.swg. This was fixed by pinning the swig version to 4.0.1.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-03 17:42:10 -07:00
Leon Anavi
b92b4031bd python3-pywbem: Upgrade 0.17.2 -> 0.17.3
Upgrade to release 0.17.3:

- Improved support for array-typed elements in ValueMapping
- Accomodated the newly released flake8 version 3.8.1 by removing
  the pinning of pyflakes to <2.2.0, and adjusting the source
  code of pywbem to get around the new flake8 messages E123, E124,
  E402.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-07-03 18:07:38 -07:00
Leon Anavi
2e5281b7ce python3-pywbem: Upgrade 0.15.0 -> 0.17.2
Upgrade to release 0.17.2:

- Test: Fixed virtualenv related failures during install test.
- Dev: Increased the versions of the base packages ‘pip’,
  ‘setuptools’ and ‘wheel’ to the content of Ubuntu 18.04 as
  a minimum, and to the lowest versions that support a particular
  Python versions beyond that. This only affects development of
  pywbem.
- Setup: Added the scripts for installing OS-level dependencies
  (pywbem_os_setup.sh/.bat) to the source distribution archive.
  Note that starting with the upcoming pywbem 1.0.0, these scripts
  are no longer needed, so this change will not be rolled forward
  into 1.0.0.
- Increased the version of ‘PyYAML’ from 5.1 to 5.3 on Python 2.7,
  to pick up a fix for dealing with Unicode characters above U+FFFF
  in narrow Python builds. This could not be fixed for Python 2.6
  since PyYAML 3.12 dropped support for Python 2.6
- Fixed raise error for invalid reference_direction in
  WBEMServer.get_central_instances().
- Fixed raise error for missing ports in WBEMListener.__init__().

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-06-30 07:50:27 -07:00
Leon Anavi
8865244010 python3-pywbem: Consolidate in a single file
Consolidate inc and bb files into a single bb file.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-06-30 07:50:23 -07:00
Andrey Zhizhikin
05d0c5eee3 meta-python: remove python2 recipes from layer
Remove recipes which require python2 from the layer. Those recipes are
moved to meta-python2 and are not required here any longer.

Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-22 09:56:34 -08:00
Khem Raj
479c420882 python-pywbem: Update to 0.15.0
* LICENSE.txt move to toplevel
* Use github for SRC_UTI, pypi source does not build

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-08 23:00:57 -08:00
Zang Ruochen
cc1ac60594 python3-pywbem:solved the conflict with python-pywbem
-Use update-alternatives class to resolve conflicts with python-pywbem.

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-06-15 16:45:32 -07:00
Zang Ruochen
cdc7467631 python-pywbem: solved the conflict with python3-pywbem
-Use update-alternatives class to resolve conflicts with python3-pywbem.

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-06-15 16:45:32 -07:00
Derek Straka
7516e8453a python-pywbem: update to version 0.11.0 and add a python3 recipe
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-06-22 10:52:33 -07:00
Mark Hatle
21fb078ce1 pywbem: Requires python-m2crypto-native (and others) from meta-python
Move pywbem to the meta-python layer to avoid missing requirements.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2017-09-13 11:08:46 +02:00