Commit Graph

31 Commits

Author SHA1 Message Date
Jason Schonberg
37e9b17b1e
Use https:// in HOMEPAGE variable instead of http://
Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-25 18:32:07 -07:00
Wang Mingyu
4ed62b44a4
python3-pywbem: upgrade 1.7.2 -> 1.7.3
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-11 17:17:23 -07:00
Wang Mingyu
fc08565d68
python3-pywbem: upgrade 1.6.3 -> 1.7.2
Changelog:
==========
Correct way to convert bytes to string if orjson exists.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-23 15:15:33 -07:00
Wang Mingyu
8d9ca62e5b
python3-pywbem: upgrade 1.6.2 -> 1.6.3
Changelog:
============
-Fixed new Pylint issue for unused variable 'exp_result'
-Fixed use of pytest.warns(None)
-Fixed pkgutil install issue on Python 3.12
-Test: Upgraded GitHub Actions plugins to use node.js 20
-Fixed call to pipdeptree
-Added Python 3.6 / Windows / latest to normal tests
-Pinned lxml to <4.9.4 on Python 3.5 on Windows
-Added RTD default config file (#3083)
-Split safety into separate make target and moved to end of test
-Disable cyclic-import issue.
-Update .safety_policy, dev-ramts, minimum_constraints.txt files.
-Test: Circumvented a pip-check-reqs issue by excluding its version 2.5.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-02 11:28:53 -07:00
Richard Purdie
d4aa17dc43 meta-python: Drop broken BBCLASSEXTEND variants
The command "bitbake universe -c fetch" currently throws a ton of warnings
as there are many 'impossible' dependencies.

In some cases these variants may never have worked and were just added by copy
and paste of recipes. In some cases they once clearly did work but became
broken somewhere along the way. Users may also be carrying local bbappend files
which add further BBCLASSEXTEND.

Having universe fetch work without warnings is desireable so clean up the broken
variants. Anyone actually needing something dropped here can propose adding it
and the correct functional dependencies back quite easily. This also then
ensures we're not carrying or fixing things nobody uses.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-10-24 09:08:45 -07:00
Wang Mingyu
ac80ef05ba python3-pywbem: upgrade 1.6.1 -> 1.6.2
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-08-26 17:32:44 -07:00
Bartosz Golaszewski
20c64a4a63 python3-pywbem: add missing run-time dependencies
Add missing RDEPENDS for this package.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-06-24 09:01:52 -07:00
Bartosz Golaszewski
1707092145 python3-pywbem: order RDEPENDS alphabetically
Order run-time dependencies for clarity.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-06-24 09:01:52 -07:00
Bartosz Golaszewski
9f88e84b0c python3-pywbem: don't use PYTHON_PN
We no longer support python2. Drop PYTHON_PN and use python3 explicitly.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-06-24 09:01:52 -07:00
Bartosz Golaszewski
364a2f8956 python3-pywbem: drop unneeded class from RDEPENDS
The native package has the same dependencies. Even if normally they are
satisfied by python3-native, we should still use a global RDEPENDS.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-06-24 09:01:52 -07:00
Wang Mingyu
165fae99d8 python3-pywbem: upgrade 1.6.0 -> 1.6.1
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-09 21:58:44 -08:00
Wang Mingyu
ab943a9811 python3-pywbem: upgrade 1.5.0 -> 1.6.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-02-12 08:56:16 -08:00
Wang Mingyu
8308650fdd python3-pywbem: upgrade 1.4.1 -> 1.5.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-10-18 08:23:44 -07:00
Oleksandr Kravchuk
6842d6ae21 python3-pywbem: update to 1.4.1
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-04-11 09:22:30 -04:00
Khem Raj
ee0f7dc9b7 recipes: Update LICENSE variable to use SPDX license identifiers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-04 17:41:45 -08:00
Oleksandr Kravchuk
0b21cb17cc python3-pywbem: update to 1.3.0
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2021-12-13 08:06:53 -08:00
Martin Jansa
c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00
Leon Anavi
6818fcdbae python3-pywbem: Upgrade 1.1.3 -> 1.2.0
Upgrade to release 1.2.0 with bug fixes and enhancements:

- Finalized the pywbem mock support
- Logging: Added a value 'off' for the log destination in the
  pywbem.configure_logging() function that disables logging
- Improved exception handling during the parsing of CIM-XML
  responses received from a WBEM server
- Reduced memory consumption of CIM objects and CIM types by
  defining their attributes to use Python slots
- Reduced memory consumption of CIM objects by using lazy
  initialization of dictionary-type attributes
- Unsupported versions for CIM infrastructure, DTD or protocol
  version returned in CIM-XML responses from WBEM servers are
  now raised as new exceptions pywbem
- In the makefile, added an ignore list for issues reported by
  safety along with the reasons why each issue is ignored
- Improvements in the log messages of the MOFCompiler class
- Added a conn_close() method to the pywbem.MOFCompiler class
  that closes the underlying connection
- Added 'make perftest' to run performance tests

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2021-05-24 07:36:49 -07:00
Leon Anavi
dbf2d7da54 python3-pywbem: Upgrade 1.1.0 -> 1.1.3
Upgrade to release 1.1.3:

- MOF compiler: Fixed bug where MOF compiler did not correctly
  install a CIM schema in a non-default namespace because it tried
  to get the qualifiers from the default namespace.
- Test: Changed dependency to ‘typed-ast’ to match the needs of
  ‘astroid’ and to install it only on CPython. This allows
  re-enabling PyPy3 on Travis.
- Test: Pinned psutil to <=5.6.3 on PyPy2+3 to avoid an
  installation error.
- Test: Increased the minimum version of ‘pyzmq’ on Python 3.9
  to 19.0.0 to avoid an installation error.
- Test: Circumvented unicode issue with
  lxml.etree.fromstring()/XML() on Python 3.9 by passing in binary
  strings.
- Test: Adjusted _format()/_ascii2() testcases to PyPy3 behavior
  with binary vs unicode results.
- Test: Disabled leaktest in travis also on PyPy3 (in addition to
  PyPy2).
- Fixed a DeprecationWarning issued by urllib3 about using the
  whitelist_methods parameter of Retry.
- Fixed issue on GitHub Actions with macos by no longer running
  “brew update” in pywbem_os_setup.sh. (issue #2544)
- Docs: Fixed incorrect attribute name ‘provider_classnames’ in
  method provider example. (issue #2564)
- Mitigated the coveralls HTTP status 422 by pinning
  coveralls-python to <3.0.0.
- Migrated from Travis and Appveyor to GitHub Actions. This
  required several changes in package dependencies for development.

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>
2021-02-05 10:26:10 -08:00
Leon Anavi
ad018b6b5a python3-pywbem: Upgrade 1.0.2 -> 1.1.0
Upgrade to release 1.1.0:

- Test: Fixed dependency issues with ‘pyrsistent’ package on
  Python 2.7 and Python 3.4.
- Increased minimum versions of nocasedict to 1.0.0 and nocaselist
  to 1.0.2 to pick up fixes needed for pywbem.
- Windows install: Upgraded WinOpenSSL to 1.1.1h.
- Test: Changed collection of .yaml files in function tests to
  address DeprecationWarning issued by pytest.
- Upgraded the minimum versions of nocasedict to 1.0.3 and of
  nocaselist to 1.0.1, to pick up fixes in these packages.
- Removed dependency on package custom-inherit and removed package
  from pywbem.

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-10-13 22:28:43 -07:00
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