From 064f8453b07d2fb8e2771cdcf902f265cf3a3f0d7ad7b603052542b1a9d13b2b Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 4 Sep 2018 17:58:39 +0000 Subject: [PATCH] - update to 1.2.1: * Revert "detect and respect http redirects" * Revert "Avoid empty body failure on HEAD requests" * Avoid empty body failure on HEAD requests * Fix item being ignored in get\_info * detect and respect http redirects * Fix run\_script method * Adopt use of pre-commit hooks * Adds support for executing Groovy scripts on jenkins nodes * Allow use of unicode job names * Added pypy-dev to bindep.txt * Fix run\_scripts() API * fix tox python3 overrides * Selectively mock requests\_kerberos import * Ensure timeout exceptions are re-raised during auth attempts * Revert "Do not require requests-kerberos for tests" * Freeze cmd2 library on python2 * Update URLS that require depth or tree filters * README: mention #openstack-jjb channel * Do not require requests-kerberos for tests * Fix: send proxy as empty dict * Add functions to retrieve more data from Jenkins * Update to \_response\_handler * Trivial: Update pypi url to new url * add get\_queue\_item() method * build\_job: return queue item identifier * add jenkins\_request() method * Use proper code highlight in docs * Fix docstrings params * Adds support for wiping out a job's workspace OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-jenkins?expand=0&rev=12 --- python-jenkins-0.4.14.tar.gz | 3 -- python-jenkins-1.2.1.tar.gz | 3 ++ python-python-jenkins.changes | 57 +++++++++++++++++++++++++++++++++++ python-python-jenkins.spec | 12 +++++++- 4 files changed, 71 insertions(+), 4 deletions(-) delete mode 100644 python-jenkins-0.4.14.tar.gz create mode 100644 python-jenkins-1.2.1.tar.gz diff --git a/python-jenkins-0.4.14.tar.gz b/python-jenkins-0.4.14.tar.gz deleted file mode 100644 index e86aae5..0000000 --- a/python-jenkins-0.4.14.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0e7be43887dbefb94c1b903c7e3ae9fa726435959c627be2a48d3899da9e11d9 -size 51900 diff --git a/python-jenkins-1.2.1.tar.gz b/python-jenkins-1.2.1.tar.gz new file mode 100644 index 0000000..f5b6c59 --- /dev/null +++ b/python-jenkins-1.2.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:62114d830cc95dee9d9a75f5c4e0fd2ea7b0ca17b0f09357a01a22432c09d325 +size 57840 diff --git a/python-python-jenkins.changes b/python-python-jenkins.changes index 9cd8a12..858d66f 100644 --- a/python-python-jenkins.changes +++ b/python-python-jenkins.changes @@ -1,3 +1,60 @@ +------------------------------------------------------------------- +Tue Sep 4 17:51:40 UTC 2018 - dmueller@suse.com + +- update to 1.2.1: + * Revert "detect and respect http redirects" + * Revert "Avoid empty body failure on HEAD requests" + * Avoid empty body failure on HEAD requests + * Fix item being ignored in get\_info + * detect and respect http redirects + * Fix run\_script method + * Adopt use of pre-commit hooks + * Adds support for executing Groovy scripts on jenkins nodes + * Allow use of unicode job names + * Added pypy-dev to bindep.txt + * Fix run\_scripts() API + * fix tox python3 overrides + * Selectively mock requests\_kerberos import + * Ensure timeout exceptions are re-raised during auth attempts + * Revert "Do not require requests-kerberos for tests" + * Freeze cmd2 library on python2 + * Update URLS that require depth or tree filters + * README: mention #openstack-jjb channel + * Do not require requests-kerberos for tests + * Fix: send proxy as empty dict + * Add functions to retrieve more data from Jenkins + * Update to \_response\_handler + * Trivial: Update pypi url to new url + * add get\_queue\_item() method + * build\_job: return queue item identifier + * add jenkins\_request() method + * Use proper code highlight in docs + * Fix docstrings params + * Adds support for wiping out a job's workspace + * Adds support for multi-select build parameters + * Adds support for deleting builds + * enable cross testing with jenkins-job-builder + * Improve SSL support with requests lib + * Enables use of PYTHONHTTPSVERIFY override + * Adding pypy to bindep test profile + * Added folder support in views keeping backward compatibility and added tests for it + * Add EMPTY\_FOLDER\_XML str to match docs + * build\_job: fix grammar in comment + * Replace testr with stestr + * This Allow to include folders in jobs list when calling get\_all\_jobs() method. Closes-Bug: #1731903 + * repair .gitgnore + * Migration to using requests + * trivial: modify spelling error of version + * modify version spelling errors + * Pass form data as body instead of in the url + * get\_build\_console\_output: fix docs for "number" parameter + * Sanitize url in get\_info() function + * get\_job\_name: fix grammar in comment + * doc: add get\_job\_config() example + * create\_node: avoid double-encoding + * Add py35 to tox envlist +- run tests + ------------------------------------------------------------------- Wed Jul 18 11:32:00 UTC 2018 - tchvatal@suse.com diff --git a/python-python-jenkins.spec b/python-python-jenkins.spec index 9660f0b..d686288 100644 --- a/python-python-jenkins.spec +++ b/python-python-jenkins.spec @@ -19,16 +19,23 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-python-jenkins -Version: 0.4.14 +Version: 1.2.1 Release: 0 Summary: Python bindings for the remote Jenkins API License: BSD-3-Clause Group: Development/Languages/Python URL: http://launchpad.net/python-jenkins Source: https://files.pythonhosted.org/packages/source/p/python-jenkins/python-jenkins-%{version}.tar.gz +BuildRequires: %{python_module mock} +BuildRequires: %{python_module multi_key_dict} BuildRequires: %{python_module pbr} +BuildRequires: %{python_module requests-mock} +BuildRequires: %{python_module requests} +BuildRequires: %{python_module stestr} +BuildRequires: %{python_module testscenarios} BuildRequires: python-rpm-macros Requires: python-multi_key_dict +Requires: python-requests Requires: python-setuptools Requires: python-six >= 1.3.0 Provides: python-jenkins = %{version} @@ -52,6 +59,9 @@ API. It current supports management of: %install %python_install +%check +%python_exec -m stestr.cli run + %files %{python_files} %license COPYING %doc README.rst