bin/ci: update python-gitlab to 4.x

Quite a few fixes that we want were in the 4.x releases, so let's bump it.

See the list of breaking changes here:
https://python-gitlab.readthedocs.io/en/stable/changelog.html#v4-0-0-2023-10-17

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30019>
This commit is contained in:
Eric Engestrom
2024-07-03 15:25:45 +02:00
committed by Marge Bot
parent d055edac11
commit 1f70af7e9f
3 changed files with 3 additions and 3 deletions

View File

@@ -82,7 +82,7 @@ def gitlab_post_reply_to_note(gl, event, reply_message):
merge_request = project.mergerequests.get(merge_request_iid)
# Find the discussion to which the note belongs
discussions = merge_request.discussions.list(as_list=False)
discussions = merge_request.discussions.list(iterator=True)
target_discussion = next(
(
d