From 7f2801d49396dfdefe40d9907c3086b5a14949abdc8f0511d8a76671977c6c24 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 12 Oct 2023 19:25:51 +0000 Subject: [PATCH 1/2] Accepting request 1117521 from home:mimi_vx:branches:devel:languages:python - Update to 3.15.0 - force urllib3 < 2 for testsuite * Add support for select="package_file" in package upload (3a49f09) * api: Add support for events scope parameter (348f56e * Usernames support for MR approvals ()a2b8c8c) * Remove exclusive EE about issue links (e0f6f18) * projects: Allow importing additional items from GitHub (ce84f2e) * objects: Support fetching PATs via id or self endpoint (19b38bd) * Add resource_weight_event for ProjectIssue (6e5ef55) * backends: Use PEP544 protocols for structural subtyping (#2442) (4afeaff) * client: Add http_patch method (#2471) (f711d9e) * cli: Add setting of allow_force_push for protected branch (929e07d) * cli: Warn user when no fields are displayed (8bf53c8) * client: Properly parse content-type when charset is present (76063c3) * Support int for parent_id in import_group (90f96ac) * cli: Add ability to escape at-prefixed parameter (#2513) (4f7c784) * cli: Display items when iterator is returned (33a04e7) * objects: Fix typo in pipeline schedules (3057f45) * advanced: Clarify netrc, proxy behavior with requests (1da7c53) * Fix update badge behaviour (3d7ca1c) * advanced: Fix typo in Gitlab examples (1992790) * group: Add support for group restore API (9322db6) * client: Automatically retry on HTTP 409 Resource lock (dced76a) * api: Add support for bulk imports API (043de2d) * api: Add support for resource groups (5f8b8f5) * api: Support listing pipelines triggered by pipeline schedules (865fa41) * Allow filtering pipelines by source (b6c0872) * client: Bootstrap the http backends concept (#2391) (91a665f) * Add resource iteration events (see https://docs.gitlab.com/ee/api/resource_iteration_events.html) * Allow passing kwargs to Gitlab class when instantiating with from_config (#2392) (e88d34e) OBS-URL: https://build.opensuse.org/request/show/1117521 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-gitlab?expand=0&rev=34 --- python-gitlab-3.12.0.tar.gz | 3 --- python-gitlab-3.15.0.tar.gz | 3 +++ python-python-gitlab.changes | 41 ++++++++++++++++++++++++++++++++++++ python-python-gitlab.spec | 9 ++++---- 4 files changed, 48 insertions(+), 8 deletions(-) delete mode 100644 python-gitlab-3.12.0.tar.gz create mode 100644 python-gitlab-3.15.0.tar.gz diff --git a/python-gitlab-3.12.0.tar.gz b/python-gitlab-3.12.0.tar.gz deleted file mode 100644 index 432030b..0000000 --- a/python-gitlab-3.12.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:567390c2b93690dae62ed9738bf9f221fa45c01378fdf896089dbf7c8a134fbd -size 264005 diff --git a/python-gitlab-3.15.0.tar.gz b/python-gitlab-3.15.0.tar.gz new file mode 100644 index 0000000..2795125 --- /dev/null +++ b/python-gitlab-3.15.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c9e65eb7612a9fbb8abf0339972eca7fd7a73d4da66c9b446ffe528930aff534 +size 273270 diff --git a/python-python-gitlab.changes b/python-python-gitlab.changes index 864bb41..30123de 100644 --- a/python-python-gitlab.changes +++ b/python-python-gitlab.changes @@ -1,3 +1,44 @@ +------------------------------------------------------------------- +Thu Oct 12 18:22:00 UTC 2023 - Ondřej Súkup + +- Update to 3.15.0 +- force urllib3 < 2 for testsuite + * Add support for select="package_file" in package upload (3a49f09) + * api: Add support for events scope parameter (348f56e + * Usernames support for MR approvals ()a2b8c8c) + * Remove exclusive EE about issue links (e0f6f18) + * projects: Allow importing additional items from GitHub (ce84f2e) + * objects: Support fetching PATs via id or self endpoint (19b38bd) + * Add resource_weight_event for ProjectIssue (6e5ef55) + * backends: Use PEP544 protocols for structural subtyping (#2442) (4afeaff) + * client: Add http_patch method (#2471) (f711d9e) + * cli: Add setting of allow_force_push for protected branch (929e07d) + * cli: Warn user when no fields are displayed (8bf53c8) + * client: Properly parse content-type when charset is present (76063c3) + * Support int for parent_id in import_group (90f96ac) + * cli: Add ability to escape at-prefixed parameter (#2513) (4f7c784) + * cli: Display items when iterator is returned (33a04e7) + * objects: Fix typo in pipeline schedules (3057f45) + * advanced: Clarify netrc, proxy behavior with requests (1da7c53) + * Fix update badge behaviour (3d7ca1c) + * advanced: Fix typo in Gitlab examples (1992790) + * group: Add support for group restore API (9322db6) + * client: Automatically retry on HTTP 409 Resource lock (dced76a) + * api: Add support for bulk imports API (043de2d) + * api: Add support for resource groups (5f8b8f5) + * api: Support listing pipelines triggered by pipeline schedules (865fa41) + * Allow filtering pipelines by source (b6c0872) + * client: Bootstrap the http backends concept (#2391) (91a665f) + * Add resource iteration events (see https://docs.gitlab.com/ee/api/resource_iteration_events.html) + * Allow passing kwargs to Gitlab class when instantiating with from_config (#2392) (e88d34e) + * Add keep_base_url when getting configuration from file (50a0301) + * client: Regression - do not automatically get_next if page=# and (585e3a8) + * Change return value to "None" in case getattr returns None to prevent error (3f86d36) + * deps: Bump requests-toolbelt to fix deprecation warning (faf842e) + * Use the ProjectIterationManager within the Project object (44f05dc) + * api: Make description optional for releases (5579750) + * faq: Describe and group common errors (4c9a072) + ------------------------------------------------------------------- Mon Dec 12 17:06:05 UTC 2022 - pgajdos@suse.com diff --git a/python-python-gitlab.spec b/python-python-gitlab.spec index 7826a8e..26e1414 100644 --- a/python-python-gitlab.spec +++ b/python-python-gitlab.spec @@ -1,7 +1,7 @@ # # spec file for package python-python-gitlab # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,14 +16,11 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define skip_python2 1 Name: python-python-gitlab -Version: 3.12.0 +Version: 3.15.0 Release: 0 Summary: Python module for interacting with the GitLab API License: LGPL-3.0-only -Group: Development/Languages/Python URL: https://github.com/python-gitlab/python-gitlab Source: https://files.pythonhosted.org/packages/source/p/python-gitlab/python-gitlab-%{version}.tar.gz BuildRequires: %{python_module setuptools} @@ -41,6 +38,8 @@ BuildRequires: %{python_module pytest} BuildRequires: %{python_module requests >= 2.22.0} BuildRequires: %{python_module requests-toolbelt >= 0.9.1} BuildRequires: %{python_module responses} +# force urllib3 < 2, for tests to passs +BuildRequires: %{python_module urllib3 < 2} # /SECTION Requires(post): update-alternatives Requires(postun):update-alternatives From d52c3f60be34b308cce2e5c4f3ccf6f6e016aa21bde5eb14fc8125914543d784 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 12 Oct 2023 19:28:36 +0000 Subject: [PATCH 2/2] - Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-gitlab?expand=0&rev=35 --- python-python-gitlab.changes | 5 +++++ python-python-gitlab.spec | 7 ++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/python-python-gitlab.changes b/python-python-gitlab.changes index 30123de..b1e1f38 100644 --- a/python-python-gitlab.changes +++ b/python-python-gitlab.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Oct 12 19:28:30 UTC 2023 - Matej Cepl + +- Clean up the SPEC file + ------------------------------------------------------------------- Thu Oct 12 18:22:00 UTC 2023 - Ondřej Súkup diff --git a/python-python-gitlab.spec b/python-python-gitlab.spec index 26e1414..d8f0fc6 100644 --- a/python-python-gitlab.spec +++ b/python-python-gitlab.spec @@ -31,6 +31,8 @@ Requires: python-argcomplete >= 1.10.0 Requires: python-requests >= 2.22.0 Requires: python-requests-toolbelt >= 0.9.1 Requires: python-setuptools +Requires(post): update-alternatives +Requires(postun):update-alternatives BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module httmock} @@ -41,8 +43,6 @@ BuildRequires: %{python_module responses} # force urllib3 < 2, for tests to passs BuildRequires: %{python_module urllib3 < 2} # /SECTION -Requires(post): update-alternatives -Requires(postun):update-alternatives %python_subpackages %description @@ -79,6 +79,7 @@ touch $HOME/.python-gitlab.cfg %doc AUTHORS CHANGELOG.md README.rst %license COPYING %python_alternative %{_bindir}/gitlab -%{python_sitelib}/* +%{python_sitelib}/gitlab +%{python_sitelib}/python_gitlab-%{version}*-info %changelog