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:

committed by
Marge Bot

parent
d055edac11
commit
1f70af7e9f
@@ -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
|
||||
|
@@ -5,7 +5,7 @@ kaleido==0.2.*
|
||||
python-dateutil==2.*
|
||||
pandas==2.*
|
||||
plotly==5.*
|
||||
python-gitlab==3.*
|
||||
python-gitlab==4.*
|
||||
PyYAML==6.*
|
||||
ruamel.yaml.clib==0.2.*
|
||||
ruamel.yaml==0.17.*
|
||||
|
@@ -69,7 +69,7 @@ def gather_results(
|
||||
target = yaml.load(target_file)
|
||||
|
||||
# parse artifact
|
||||
results_json_bz2 = cur_job.artifact(path="results/results.json.bz2", streamed=False)
|
||||
results_json_bz2 = cur_job.artifacts.raw(artifact_path="results/results.json.bz2")
|
||||
results_json = bz2.decompress(results_json_bz2).decode("utf-8", errors="replace")
|
||||
results = json.loads(results_json)
|
||||
|
||||
|
Reference in New Issue
Block a user