14
0

Accepting request 970060 from home:pgajdos:python

- 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

OBS-URL: https://build.opensuse.org/request/show/970060
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pywinrm?expand=0&rev=15
This commit is contained in:
2022-04-14 08:38:07 +00:00
committed by Git OBS Bridge
parent 796fcbbaf2
commit 7b7447b190
4 changed files with 16 additions and 6 deletions

View File

@@ -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 <dmueller@suse.com>

View File

@@ -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}

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c2a0d839f524a3cf4548923c29f85f909174405ac4339df45813410aae759b44
size 38637

3
pywinrm-0.4.3.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:253d2af9a6f1ec1ae8e21919a174e178b2e0475060956e3add0746584520ae84
size 38576