From d3f31a25e7113d32000cf0c9765692e40c63be7a Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 30 Jun 2025 01:49:56 +0000 Subject: [PATCH 01/12] chore(deps): update pre-commit hook maxbrunet/pre-commit-renovate to v41 --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3dda94ccf..4f7ac25f0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -51,6 +51,6 @@ repos: - id: rst-directive-colons - id: rst-inline-touching-normal - repo: https://github.com/maxbrunet/pre-commit-renovate - rev: 40.57.1 + rev: 41.17.2 hooks: - id: renovate-config-validator From d25b33f942f5fbbf1dfb5feacd397f0815708daf Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 30 Jun 2025 02:07:40 +0000 Subject: [PATCH 02/12] chore(deps): update all non-major dependencies --- .github/workflows/release.yml | 2 +- .pre-commit-config.yaml | 4 ++-- requirements-lint.txt | 6 +++--- requirements-test.txt | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3acee16f9..396eb59b2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,7 +21,7 @@ jobs: - name: Python Semantic Release id: release - uses: python-semantic-release/python-semantic-release@v10.1.0 + uses: python-semantic-release/python-semantic-release@v10.2.0 with: github_token: ${{ secrets.RELEASE_GITHUB_TOKEN }} diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4f7ac25f0..e7235f125 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -12,7 +12,7 @@ repos: - id: commitizen stages: [commit-msg] - repo: https://github.com/pycqa/flake8 - rev: 7.2.0 + rev: 7.3.0 hooks: - id: flake8 - repo: https://github.com/pycqa/isort @@ -32,7 +32,7 @@ repos: - requests-toolbelt==1.0.0 files: 'gitlab/' - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.16.0 + rev: v1.16.1 hooks: - id: mypy args: [] diff --git a/requirements-lint.txt b/requirements-lint.txt index 1281b5c87..b6b718d18 100644 --- a/requirements-lint.txt +++ b/requirements-lint.txt @@ -2,11 +2,11 @@ argcomplete==2.0.0 black==25.1.0 commitizen==4.8.3 -flake8==7.2.0 +flake8==7.3.0 isort==6.0.1 -mypy==1.16.0 +mypy==1.16.1 pylint==3.3.7 -pytest==8.4.0 +pytest==8.4.1 responses==0.25.7 respx==0.22.0 types-PyYAML==6.0.12.20250516 diff --git a/requirements-test.txt b/requirements-test.txt index 307f83782..eb6557cd5 100644 --- a/requirements-test.txt +++ b/requirements-test.txt @@ -5,7 +5,7 @@ coverage==7.9.1 pytest-console-scripts==1.4.1 pytest-cov==6.2.1 pytest-github-actions-annotate-failures==0.3.0 -pytest==8.4.0 +pytest==8.4.1 PyYaml==6.0.2 responses==0.25.7 respx==0.22.0 From 9c095bda18b24342727f01f4efeeb81c033fbb83 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 7 Jul 2025 12:42:02 +0000 Subject: [PATCH 03/12] chore(deps): update all non-major dependencies --- .pre-commit-config.yaml | 2 +- requirements-docker.txt | 2 +- requirements-test.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e7235f125..24f9e68df 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -51,6 +51,6 @@ repos: - id: rst-directive-colons - id: rst-inline-touching-normal - repo: https://github.com/maxbrunet/pre-commit-renovate - rev: 41.17.2 + rev: 41.23.4 hooks: - id: renovate-config-validator diff --git a/requirements-docker.txt b/requirements-docker.txt index ee34d1fba..532609b3f 100644 --- a/requirements-docker.txt +++ b/requirements-docker.txt @@ -1,3 +1,3 @@ -r requirements.txt -r requirements-test.txt -pytest-docker==3.2.2 +pytest-docker==3.2.3 diff --git a/requirements-test.txt b/requirements-test.txt index eb6557cd5..26d3b35af 100644 --- a/requirements-test.txt +++ b/requirements-test.txt @@ -1,7 +1,7 @@ -r requirements.txt anyio==4.9.0 build==1.2.2.post1 -coverage==7.9.1 +coverage==7.9.2 pytest-console-scripts==1.4.1 pytest-cov==6.2.1 pytest-github-actions-annotate-failures==0.3.0 From 0ef20d1b0ee6cd82c4e34003aca4c0c72935f4d9 Mon Sep 17 00:00:00 2001 From: "John L. Villalovos" Date: Wed, 25 Jun 2025 08:38:36 -0700 Subject: [PATCH 04/12] ci(stale): improve formatting of stale message Have it maintain the formatting of the message with the line breaks. --- .github/workflows/stale.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index e65835c30..e2f1c1923 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -22,7 +22,7 @@ jobs: # If an issue/PR has an assignee it won't be marked as stale exempt-all-assignees: true - stale-issue-message: > + stale-issue-message: | This issue was marked stale because it has been open 60 days with no activity. Please remove the stale label or comment on this issue. Otherwise, it will be closed in 15 days. @@ -43,9 +43,12 @@ jobs: We value your input. If you can help provide a fix, we'd be happy to keep this issue open and support your efforts. + This is documented in CONTRIBUTING.rst + https://github.com/python-gitlab/python-gitlab/blob/main/CONTRIBUTING.rst + days-before-issue-stale: 60 days-before-issue-close: 15 - close-issue-message: > + close-issue-message: | This issue was closed because it has been marked stale for 15 days with no activity. @@ -70,6 +73,7 @@ jobs: contributions. This is documented in CONTRIBUTING.rst + https://github.com/python-gitlab/python-gitlab/blob/main/CONTRIBUTING.rst stale-pr-message: > This Pull Request (PR) was marked stale because it has been open 90 days From 326e1a46881467f41dc3de5f060ac654924fbe40 Mon Sep 17 00:00:00 2001 From: "John L. Villalovos" Date: Fri, 4 Jul 2025 12:46:49 -0700 Subject: [PATCH 05/12] ci(stale): increase `operations-per-run` to 500 The default value is 30 and it is not able to process all the issues/PRs. In fact it is failing to make progress. Each day it processes the same issues/PRs and then stops. It doesn't reach the other issues/Prs. Increase to 500, the GitLab limit is actually 3000. --- .github/workflows/stale.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index e2f1c1923..0b6cbe5db 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -17,6 +17,7 @@ jobs: steps: - uses: actions/stale@v9.1.0 with: + operations-per-run: 500 stale-issue-label: "stale" stale-pr-label: "stale" From 2f20634b9700bc802177278ffdd7bdf83ef1605a Mon Sep 17 00:00:00 2001 From: "John L. Villalovos" Date: Sat, 7 Jun 2025 09:14:25 -0700 Subject: [PATCH 06/12] build(release): use correct python-semantic-release/publish-action The previous 'python-semantic-release/upload-to-gh-release' action has been deprecated. Closes: #3210 --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 396eb59b2..b1495438e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,7 +32,7 @@ jobs: if: steps.release.outputs.released == 'true' - name: Publish package distributions to GitHub Releases - uses: python-semantic-release/upload-to-gh-release@0a92b5d7ebfc15a84f9801ebd1bf706343d43711 # v9.8.9 + uses: python-semantic-release/publish-action@v10.0.2 if: steps.release.outputs.released == 'true' with: github_token: ${{ secrets.GITHUB_TOKEN }} From be25c167c8cc1e941b8861109a0c055d34e0e2f9 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 14 Jul 2025 01:02:35 +0000 Subject: [PATCH 07/12] chore(deps): update all non-major dependencies --- .github/workflows/release.yml | 2 +- .pre-commit-config.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b1495438e..576c1befb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,7 +32,7 @@ jobs: if: steps.release.outputs.released == 'true' - name: Publish package distributions to GitHub Releases - uses: python-semantic-release/publish-action@v10.0.2 + uses: python-semantic-release/publish-action@v10.2.0 if: steps.release.outputs.released == 'true' with: github_token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 24f9e68df..f12339fb3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -51,6 +51,6 @@ repos: - id: rst-directive-colons - id: rst-inline-touching-normal - repo: https://github.com/maxbrunet/pre-commit-renovate - rev: 41.23.4 + rev: 41.23.5 hooks: - id: renovate-config-validator From 865339ac037fb125280180b05a2c4e44067dc5e9 Mon Sep 17 00:00:00 2001 From: Massimiliano Riva Date: Fri, 18 Jul 2025 15:31:44 +0200 Subject: [PATCH 08/12] feat(api): add ListMixin to ProjectMergeRequestDiscussionNoteManager Closes: #3180 --- gitlab/v4/objects/notes.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/gitlab/v4/objects/notes.py b/gitlab/v4/objects/notes.py index f104c3f5d..56568d273 100644 --- a/gitlab/v4/objects/notes.py +++ b/gitlab/v4/objects/notes.py @@ -164,10 +164,7 @@ class ProjectMergeRequestDiscussionNote(SaveMixin, ObjectDeleteMixin, RESTObject class ProjectMergeRequestDiscussionNoteManager( - GetMixin[ProjectMergeRequestDiscussionNote], - CreateMixin[ProjectMergeRequestDiscussionNote], - UpdateMixin[ProjectMergeRequestDiscussionNote], - DeleteMixin[ProjectMergeRequestDiscussionNote], + CRUDMixin[ProjectMergeRequestDiscussionNote] ): _path = ( "/projects/{project_id}/merge_requests/{mr_iid}/" From f908f0e82840a5df374e8fbfb1298608d23f02bd Mon Sep 17 00:00:00 2001 From: Massimiliano Riva Date: Fri, 18 Jul 2025 15:52:52 +0200 Subject: [PATCH 09/12] feat(api): add ListMixin to ProjectIssueDiscussionNoteManager --- gitlab/v4/objects/notes.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/gitlab/v4/objects/notes.py b/gitlab/v4/objects/notes.py index 56568d273..3e83d9be1 100644 --- a/gitlab/v4/objects/notes.py +++ b/gitlab/v4/objects/notes.py @@ -128,12 +128,7 @@ class ProjectIssueDiscussionNote(SaveMixin, ObjectDeleteMixin, RESTObject): pass -class ProjectIssueDiscussionNoteManager( - GetMixin[ProjectIssueDiscussionNote], - CreateMixin[ProjectIssueDiscussionNote], - UpdateMixin[ProjectIssueDiscussionNote], - DeleteMixin[ProjectIssueDiscussionNote], -): +class ProjectIssueDiscussionNoteManager(CRUDMixin[ProjectIssueDiscussionNote]): _path = ( "/projects/{project_id}/issues/{issue_iid}/discussions/{discussion_id}/notes" ) From 3b8fbf46f3d867481d0544ae4f0fd44a8dc60b9e Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 21 Jul 2025 23:39:56 +0000 Subject: [PATCH 10/12] chore(deps): update all non-major dependencies --- .pre-commit-config.yaml | 4 ++-- requirements-lint.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f12339fb3..f18249f20 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -32,7 +32,7 @@ repos: - requests-toolbelt==1.0.0 files: 'gitlab/' - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.16.1 + rev: v1.17.0 hooks: - id: mypy args: [] @@ -51,6 +51,6 @@ repos: - id: rst-directive-colons - id: rst-inline-touching-normal - repo: https://github.com/maxbrunet/pre-commit-renovate - rev: 41.23.5 + rev: 41.42.1 hooks: - id: renovate-config-validator diff --git a/requirements-lint.txt b/requirements-lint.txt index b6b718d18..73eb2fda0 100644 --- a/requirements-lint.txt +++ b/requirements-lint.txt @@ -4,7 +4,7 @@ black==25.1.0 commitizen==4.8.3 flake8==7.3.0 isort==6.0.1 -mypy==1.16.1 +mypy==1.17.0 pylint==3.3.7 pytest==8.4.1 responses==0.25.7 From b483ece8b7d1391c7a3f099d9269d2ec7e1f5ca1 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 22 Jul 2025 00:17:12 +0000 Subject: [PATCH 11/12] chore(deps): update dependency furo to v2025 --- requirements-docs.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-docs.txt b/requirements-docs.txt index c951d81d5..39f5f61e2 100644 --- a/requirements-docs.txt +++ b/requirements-docs.txt @@ -1,5 +1,5 @@ -r requirements.txt -furo==2024.8.6 +furo==2025.7.19 jinja2==3.1.6 myst-parser==4.0.1 sphinx==8.2.3 From 5f3aa2f491167184869333fbbec2ec5749f1c172 Mon Sep 17 00:00:00 2001 From: semantic-release Date: Mon, 28 Jul 2025 01:25:29 +0000 Subject: [PATCH 12/12] chore: release v6.2.0 --- gitlab/_version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitlab/_version.py b/gitlab/_version.py index 24c1a84f8..2f7a85281 100644 --- a/gitlab/_version.py +++ b/gitlab/_version.py @@ -3,4 +3,4 @@ __email__ = "gauvainpocentek@gmail.com" __license__ = "LGPL3" __title__ = "python-gitlab" -__version__ = "6.1.0" +__version__ = "6.2.0"