diff --git a/python-pywbem.changes b/python-pywbem.changes index b221d5e..2eeb8b2 100644 --- a/python-pywbem.changes +++ b/python-pywbem.changes @@ -1,3 +1,47 @@ +------------------------------------------------------------------- +Mon May 13 03:49:48 UTC 2024 - Steve Kowalik + +- Update to 1.7.2: + * Bug fixes: + + Fix issue where pywbemlistener that fails startup can cause thread + exception. + * Incompatible changes: + + Dropped support for Python 3.5. + + In order to make life easier for people that package pywbem into Linux + distros, vendorized the nocasedict and nocaselist packages. + + Update to support urllib3 dependent package version 2.0+ for Python + version 3.7+. + * Bug fixes: + + Fixed a doc build issue with Sphinx 6.x and addressed some of the + Sphinx warnings during doc build. + + Test: Fixed issues resulting from removal of support for + pytest.warns(None) in pytest version 8. + + Fixed new Pylint issue for unused variable 'exp_result'. + + Test: Fixed issue in test_recorder.py where format of OrderDict repl + output changed with python 3.12 + * Enhancements: + + Update handling of request exceptions in CIM_http.py to account for + changes to the urllib3 exceptions API that occurred in urllib3 version + 2.0.0 and keep the capability to handle the urllib3 exceptions API + prior to versiion 2.0. + + Add end2end tests for operation timeout. + + Document the issue and possible corrections for the pywbem listener + possibly losing indications. + * Cleanup: + + Clarified the use of the host parameter on the WBEMListener class. + + Bring example pegasusindicationtest.py up to date and extend to be used + with WBEM server in a container. + + Fix issue in pywbem_mock._base_provider where __repr__ had invalid + parameter + + Extend support to Python version 3.12. + + Moved the version constraints for the 'idna' package into the pywbem + installation dependencies since it is an indirect dependency. + + Changed the format of the README and README_PYPI files from RST to + Markdown. +- Switch to autosetup macro. +- Stop skipping tests on Python 3.12. +- No longer {Build,}Require urllib3 < 2. + ------------------------------------------------------------------- Thu Jan 18 21:15:49 UTC 2024 - Ben Greiner diff --git a/python-pywbem.spec b/python-pywbem.spec index ac798b0..2742b68 100644 --- a/python-pywbem.spec +++ b/python-pywbem.spec @@ -19,8 +19,7 @@ # cythonized pywbem produces yacc parser errors %bcond_with cythonize Name: python-pywbem -### FIXME: try to remove skipped unit test workaround for python 3.12 on next version update -Version: 1.6.2 +Version: 1.7.2 Release: 0 Summary: Python module for making CIM operation calls using the WBEM protocol License: LGPL-2.1-or-later @@ -39,8 +38,6 @@ BuildRequires: %{python_module PyYAML > 5.3.1} BuildRequires: %{python_module certifi >= 2019.11.28} BuildRequires: %{python_module httpretty} BuildRequires: %{python_module lxml >= 4.6.4} -BuildRequires: %{python_module nocasedict >= 1.0.1} -BuildRequires: %{python_module nocaselist >= 1.0.3} BuildRequires: %{python_module ply >= 3.10} BuildRequires: %{python_module pytest >= 6.2.5} BuildRequires: %{python_module pytz} @@ -48,19 +45,17 @@ BuildRequires: %{python_module requests >= 2.25.0} BuildRequires: %{python_module requests-mock} BuildRequires: %{python_module six >= 1.16.0} BuildRequires: %{python_module testfixtures} -BuildRequires: %{python_module urllib3 >= 1.26.5 with %python-urllib3 < 2} +BuildRequires: %{python_module urllib3 >= 1.26.5} BuildRequires: %{python_module yamlloader >= 0.5.5} BuildRequires: fdupes BuildRequires: libxml2-tools BuildRequires: python-rpm-macros Requires: python-PyYAML >= 5.3.1 Requires: python-certifi >= 2019.11.28 -Requires: python-nocasedict >= 1.0.1 -Requires: python-nocaselist >= 1.0.3 Requires: python-ply >= 3.10 Requires: python-requests >= 2.25.0 Requires: python-six >= 1.16.0 -Requires: (python-urllib3 >= 1.26.5 with python-urllib3 < 2) +Requires: python-urllib3 >= 1.26.5 Requires: python-yamlloader >= 0.5.5 Requires(post): update-alternatives Requires(postun): update-alternatives @@ -75,8 +70,7 @@ PyWBEM is a Python module for making CIM operation calls using the WBEM protocol to query and update managed objects. %prep -%setup -q -n pywbem-%{version} -%autopatch -p1 +%autosetup -p1 -n pywbem-%{version} %build %pyproject_wheel %{?_with_cythonize:--config-settings "--build-option=--cythonized" .} @@ -88,10 +82,6 @@ rm %{buildroot}%{_bindir}/*.bat %python_clone -a %{buildroot}%{_bindir}/mof_compiler %check -# https://github.com/pywbem/pywbem/issues/3097 -python312_donttest=" or (test_invokemethod_summary and instance_wp_tuple0)" -# Deprecation warning from utcnow() -python312_donttest="$python312_donttest or (test_subscriptionmanager and (kwargs29 or kwargs38))" %if %{with cythonize} %pytest_arch -k "not (skipnothingbydefault ${$python_donttest})" tests/unittest tests/functiontest %else @@ -105,7 +95,7 @@ python312_donttest="$python312_donttest or (test_subscriptionmanager and (kwargs %python_uninstall_alternative mof_compiler %files %{python_files} -%doc README.rst +%doc README.md %license LICENSE.txt %python_alternative %{_bindir}/mof_compiler %if %{with cythonize} diff --git a/pywbem-1.6.2.tar.gz b/pywbem-1.6.2.tar.gz deleted file mode 100644 index bb49e03..0000000 --- a/pywbem-1.6.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0437e869719effd85ba7316d5db1e8783dd4ccec4b05e95d49e878265abfc820 -size 4555379 diff --git a/pywbem-1.7.2.tar.gz b/pywbem-1.7.2.tar.gz new file mode 100644 index 0000000..8b7b130 --- /dev/null +++ b/pywbem-1.7.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9b4d0a0945f94e4d10d3e4151ebf0e149b311fbbd592a05ccaf41b4f5d172850 +size 4606726