14
0

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
This commit is contained in:
2021-01-14 15:39:31 +00:00
committed by Git OBS Bridge
parent f653dd2d36
commit 23b1f977e1
4 changed files with 45 additions and 6 deletions

View File

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

View File

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

View File

@@ -1,3 +1,35 @@
-------------------------------------------------------------------
Thu Jan 14 13:16:51 UTC 2021 - John Vandenberg <jayvdb@gmail.com>
- 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 <mcepl@suse.com>

View File

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