From 23b1f977e178c9add0a087d96c7e367b650c9d64897f888f47ad1be0852aa404 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Thu, 14 Jan 2021 15:39:31 +0000 Subject: [PATCH] Accepting request 863089 from home:jayvdb:branches:devel:languages:python - Update to v2.5.0 OBS-URL: https://build.opensuse.org/request/show/863089 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-gitlab?expand=0&rev=20 --- python-gitlab-2.2.0.tar.gz | 3 --- python-gitlab-2.5.0.tar.gz | 3 +++ python-python-gitlab.changes | 32 ++++++++++++++++++++++++++++++++ python-python-gitlab.spec | 13 ++++++++++--- 4 files changed, 45 insertions(+), 6 deletions(-) delete mode 100644 python-gitlab-2.2.0.tar.gz create mode 100644 python-gitlab-2.5.0.tar.gz diff --git a/python-gitlab-2.2.0.tar.gz b/python-gitlab-2.2.0.tar.gz deleted file mode 100644 index 472ac0b..0000000 --- a/python-gitlab-2.2.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4c4ea60c8303f4214522b18038df017cae35afda7474efa0b4e19c2e73bc3ae2 -size 136178 diff --git a/python-gitlab-2.5.0.tar.gz b/python-gitlab-2.5.0.tar.gz new file mode 100644 index 0000000..f85bb92 --- /dev/null +++ b/python-gitlab-2.5.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:68b42aafd4b620ab2534ff78a52584c7f799e4e55d5ac297eab4263066e6f74b +size 148916 diff --git a/python-python-gitlab.changes b/python-python-gitlab.changes index ce8010a..c95088f 100644 --- a/python-python-gitlab.changes +++ b/python-python-gitlab.changes @@ -1,3 +1,35 @@ +------------------------------------------------------------------- +Thu Jan 14 13:16:51 UTC 2021 - John Vandenberg + +- Update to v2.5.0 + * add support to resource milestone events + * add share/unshare group with group + * add support for instance variables + * add support for Packages API + * add endpoint for latest ref artifacts + * wrong reconfirmation parameter when updating user's email + * tests fail when using REUSE_CONTAINER option + * implement Gitlab's behavior change for owned=True +- from v2.4.0 + * do not check if kwargs is none + * make query kwargs consistent between call in init and next + * pass kwargs to subsequent queries in gitlab list + * merge: parse arguments as query_data + * add NO_ACCESS const + * add masked parameter for variables command +- from v2.3.1 + * revert keyset pagination by default +- from v2.3.0 + * add group runners api + * add play command to project pipeline schedules + * allow an environment variable to specify config location + * api: added support in the GroupManager to upload Group avatars + * services: add project service list API + * types: add dir to RESTObject to expose attributes + * use keyset pagination by default for /projects > 50000 + * config: fix duplicate code + * project: add missing project parameters + ------------------------------------------------------------------- Mon May 4 18:51:52 UTC 2020 - Matej Cepl diff --git a/python-python-gitlab.spec b/python-python-gitlab.spec index 76022a1..9e0c0fe 100644 --- a/python-python-gitlab.spec +++ b/python-python-gitlab.spec @@ -1,7 +1,7 @@ # # spec file for package python-python-gitlab # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-python-gitlab -Version: 2.2.0 +Version: 2.5.0 Release: 0 Summary: Python module for interacting with the GitLab API License: LGPL-3.0-only @@ -40,6 +40,7 @@ BuildRequires: %{python_module httmock} BuildRequires: %{python_module mock} BuildRequires: %{python_module pytest} BuildRequires: %{python_module requests >= 2.22.0} +BuildRequires: %{python_module responses} BuildRequires: %{python_module six} # /SECTION Requires(post): update-alternatives @@ -67,7 +68,13 @@ sed -i -e '/^#!\//, 1d' gitlab/v4/cli.py %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%pytest +touch $HOME/.python-gitlab.cfg +# The follow tests depend on a docker instance of gitlab +# - test_cli +# - test_list_project_packages +# - test_packages +# - test_variables +%pytest -k 'not (test_cli or test_list_project_packages or test_packages or test_variables)' %post %python_install_alternative gitlab