forked from pool/python-openqa_client
Accepting request 832036 from home:mimi_vx:branches:devel:languages:python
- Update to version 4.1.1: - enable tests * Fix use of 'latest' param when querying jobs * Drop a rogue word from `do_request` docstring, rewrap * Tweak release script to use 'pypi' repo * Handle YAML responses as well as JSON (#12) * Add a 'parse' argument for `do_request` to skip parsing * Add toml to CI requires (for coverage to read TOML config) * tox: run `coverage xml` explicitly * Improve the ugly sed hack fix for the coverage vs. tox venv issue * Update release.sh to use pep517 * Add pyproject.toml to comply with PEP-517 / PEP-518 * black-ify code and add black to CI config * Move source under src/ , fix tox config to run tests on package * Use f-strings for string formatting * Drop Python 2 support, and some Python 2-specific workarounds * Have MANIFEST.in exclude itself * Add a MANIFEST.in to exclude some stuff we don't want * Fix tests to run on ancient pytest (I hope) * Fix more brokenness in setup.py * Fix release.sh for no spaces in setup.py setup() * Drop duplicated description line in setup.py * Update release.sh to use Python 3 * Drop WaitError exception * find_clones: don't edit list while iterating it * _add_auth_headers: don't modify the original request * setup.py: don't import os, we don't use it * setup.py: Remove runtime dependency on setuptools (@jayvdb) (#9) * setup.py: more cleanups based on sample project * setup.py: we don't use find_packages, don't import it OBS-URL: https://build.opensuse.org/request/show/832036 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-openqa_client?expand=0&rev=4
This commit is contained in:
2
_service
2
_service
@@ -4,7 +4,7 @@
|
||||
<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">1.3.0</param>
|
||||
<param name="revision">4.1.1</param>
|
||||
<param name="changesgenerate">enable</param>
|
||||
</service>
|
||||
<service mode="disabled" name="recompress">
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<servicedata>
|
||||
<service name="tar_scm">
|
||||
<param name="url">git://github.com/os-autoinst/openQA-python-client.git</param>
|
||||
<param name="changesrevision">184e6c8415ef3b0667caf8f8a440007d6b98ba93</param></service></servicedata>
|
||||
<param name="changesrevision">f227d83dd42c787579d95a03322004b283c02154</param></service></servicedata>
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:51d95a9f6a3ab47578106c57549642c598687f86c551240c716671a85d1d247a
|
||||
size 12772
|
||||
3
python-openqa_client-4.1.1.tar.xz
Normal file
3
python-openqa_client-4.1.1.tar.xz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a89520ce836dbd268356c9ba951a5aadebc8f6d9655aacd5fa53d9c10be0ef7a
|
||||
size 17516
|
||||
@@ -1,3 +1,45 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 04 08:49:02 UTC 2020 - mimi.vx@gmail.com
|
||||
|
||||
- Update to version 4.1.1:
|
||||
- enable tests
|
||||
* Fix use of 'latest' param when querying jobs
|
||||
* Drop a rogue word from `do_request` docstring, rewrap
|
||||
* Tweak release script to use 'pypi' repo
|
||||
* Handle YAML responses as well as JSON (#12)
|
||||
* Add a 'parse' argument for `do_request` to skip parsing
|
||||
* Add toml to CI requires (for coverage to read TOML config)
|
||||
* tox: run `coverage xml` explicitly
|
||||
* Improve the ugly sed hack fix for the coverage vs. tox venv issue
|
||||
* Update release.sh to use pep517
|
||||
* Add pyproject.toml to comply with PEP-517 / PEP-518
|
||||
* black-ify code and add black to CI config
|
||||
* Move source under src/ , fix tox config to run tests on package
|
||||
* Use f-strings for string formatting
|
||||
* Drop Python 2 support, and some Python 2-specific workarounds
|
||||
* Have MANIFEST.in exclude itself
|
||||
* Add a MANIFEST.in to exclude some stuff we don't want
|
||||
* Fix tests to run on ancient pytest (I hope)
|
||||
* Fix more brokenness in setup.py
|
||||
* Fix release.sh for no spaces in setup.py setup()
|
||||
* Drop duplicated description line in setup.py
|
||||
* Update release.sh to use Python 3
|
||||
* Drop WaitError exception
|
||||
* find_clones: don't edit list while iterating it
|
||||
* _add_auth_headers: don't modify the original request
|
||||
* setup.py: don't import os, we don't use it
|
||||
* setup.py: Remove runtime dependency on setuptools (@jayvdb) (#9)
|
||||
* setup.py: more cleanups based on sample project
|
||||
* setup.py: we don't use find_packages, don't import it
|
||||
* setup.py: no spaces for arg assignments
|
||||
* setup.py: handle long_description as per pypa sample project
|
||||
* Update release script to publish to PyPI
|
||||
* Fix long description for pypi
|
||||
* **API**: update constants to match upstream 4d89041
|
||||
* Remove waiting state
|
||||
* Add incomplete result "timeout_exceeded"
|
||||
* Update job state constants for recent upstream changes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 08 15:38:41 UTC 2017 - mimi.vx@gmail.com
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-openqa_client
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -12,24 +12,29 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-openqa_client
|
||||
Version: 1.3.0
|
||||
Version: 4.1.1
|
||||
Release: 0
|
||||
Summary: Python openQA client library
|
||||
License: GPL-2.0+
|
||||
License: GPL-2.0-or-later
|
||||
Group: Development/Languages/Python
|
||||
Url: https://github.com/os-autoinst/openQA-python-client
|
||||
URL: https://github.com/os-autoinst/openQA-python-client
|
||||
Source: %{name}-%{version}.tar.xz
|
||||
BuildRequires: %{python_module PyYAML}
|
||||
BuildRequires: %{python_module freezegun}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module requests}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-PyYAML
|
||||
Requires: python-requests
|
||||
Requires: python-six
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
@@ -46,6 +51,9 @@ This is a client for the openQA API, based on requests.
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.md
|
||||
%license COPYING
|
||||
|
||||
Reference in New Issue
Block a user