15
0

Accepting request 1039298 from devel:languages:python

- update to 4.2.2
- drop _service
- add python-typing_extensions as dependency for compatibility
  with older versions of python
  * Make Exceptions proper objects with members
  * Only retry requests on certain status codes
  * Add class global retries and wait values to allow configuration
  * Add type hints
  * Stop encoding X-API-Microtime as bytes
  * Improve handling of quirky API behaviour regarding settings parameters

OBS-URL: https://build.opensuse.org/request/show/1039298
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-openqa_client?expand=0&rev=3
This commit is contained in:
2022-12-01 17:13:16 +00:00
committed by Git OBS Bridge
6 changed files with 23 additions and 26 deletions

View File

@@ -1,15 +0,0 @@
<services>
<service mode="disabled" name="tar_scm">
<param name="filename">python-openqa_client</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="url">git://github.com/os-autoinst/openQA-python-client.git</param>
<param name="scm">git</param>
<param name="revision">4.1.1</param>
<param name="changesgenerate">enable</param>
</service>
<service mode="disabled" name="recompress">
<param name="compression">xz</param>
<param name="file">*.tar</param>
</service>
<service mode="disabled" name="set_version"/>
</services>

View File

@@ -1,4 +0,0 @@
<servicedata>
<service name="tar_scm">
<param name="url">git://github.com/os-autoinst/openQA-python-client.git</param>
<param name="changesrevision">f227d83dd42c787579d95a03322004b283c02154</param></service></servicedata>

View File

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

View File

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

View File

@@ -1,3 +1,17 @@
-------------------------------------------------------------------
Thu Dec 1 10:02:15 UTC 2022 - Ondřej Súkup <mimi.vx@gmail.com>
- update to 4.2.2
- drop _service
- add python-typing_extensions as dependency for compatibility
with older versions of python
* Make Exceptions proper objects with members
* Only retry requests on certain status codes
* Add class global retries and wait values to allow configuration
* Add type hints
* Stop encoding X-API-Microtime as bytes
* Improve handling of quirky API behaviour regarding settings parameters
-------------------------------------------------------------------
Fri Sep 04 08:49:02 UTC 2020 - mimi.vx@gmail.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-openqa_client
#
# Copyright (c) 2020 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
@@ -19,22 +19,24 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-openqa_client
Version: 4.1.1
Version: 4.2.1
Release: 0
Summary: Python openQA client library
License: GPL-2.0-or-later
Group: Development/Languages/Python
URL: https://github.com/os-autoinst/openQA-python-client
Source: %{name}-%{version}.tar.xz
Source: https://github.com/os-autoinst/openQA-python-client/archive/refs/tags/%{version}.tar.gz#/python-openqa_client-%{version}.tar.gz
BuildRequires: %{python_module PyYAML}
BuildRequires: %{python_module freezegun}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module requests}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module typing_extensions}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-PyYAML
Requires: python-requests
Requires: python-typing_extensions
BuildArch: noarch
%python_subpackages
@@ -42,7 +44,7 @@ BuildArch: noarch
This is a client for the openQA API, based on requests.
%prep
%setup -q
%setup -q -n openQA-python-client-%{version}
%build
%python_build