diff --git a/python-pywinrm.changes b/python-pywinrm.changes index 8c100a4..a8027a4 100644 --- a/python-pywinrm.changes +++ b/python-pywinrm.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Thu Apr 14 06:48:11 UTC 2022 - pgajdos@suse.com + +- version update to 0.4.3 + * Fix invalid regex escape sequences. + * Decoding CLIXML failures for run_ps will create a UserWarning rather than printing the warning. + * Remove usage of deprecated Python API to support Python 3.11 +- do not require mock for build + ------------------------------------------------------------------- Sat Oct 16 22:18:50 UTC 2021 - Dirk Müller diff --git a/python-pywinrm.spec b/python-pywinrm.spec index c20c512..d3a40a2 100644 --- a/python-pywinrm.spec +++ b/python-pywinrm.spec @@ -1,7 +1,7 @@ # # spec file for package python-pywinrm # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pywinrm -Version: 0.4.2 +Version: 0.4.3 Release: 0 Summary: Python library for Windows Remote Management License: MIT @@ -26,7 +26,6 @@ Group: Development/Languages/Python URL: https://github.com/diyan/pywinrm/ Source: https://github.com/diyan/pywinrm/archive/refs/tags/v%{version}.tar.gz#/pywinrm-%{version}.tar.gz BuildRequires: %{python_module kerberos} -BuildRequires: %{python_module mock} BuildRequires: %{python_module pytest} BuildRequires: %{python_module requests >= 2.9.1} BuildRequires: %{python_module requests_ntlm >= 0.3.0} @@ -65,6 +64,8 @@ Microsoft's WinRM http://msdn.microsoft.com/en-us/library/aa384426.aspx %python_expand %fdupes %{buildroot}%{$python_sitelib} %check +# https://github.com/diyan/pywinrm/issues/345 +sed -i 's:import mock:from unittest import mock:' winrm/tests/test_transport.py %pyunittest discover -v %files %{python_files} diff --git a/pywinrm-0.4.2.tar.gz b/pywinrm-0.4.2.tar.gz deleted file mode 100644 index 37825b1..0000000 --- a/pywinrm-0.4.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c2a0d839f524a3cf4548923c29f85f909174405ac4339df45813410aae759b44 -size 38637 diff --git a/pywinrm-0.4.3.tar.gz b/pywinrm-0.4.3.tar.gz new file mode 100644 index 0000000..339a517 --- /dev/null +++ b/pywinrm-0.4.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:253d2af9a6f1ec1ae8e21919a174e178b2e0475060956e3add0746584520ae84 +size 38576