diff --git a/bin/ci/ci_post_gantt.py b/bin/ci/ci_post_gantt.py index 131f27e9373..d5191ea6f2c 100755 --- a/bin/ci/ci_post_gantt.py +++ b/bin/ci/ci_post_gantt.py @@ -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 diff --git a/bin/ci/requirements.txt b/bin/ci/requirements.txt index bec12419200..77170882b42 100644 --- a/bin/ci/requirements.txt +++ b/bin/ci/requirements.txt @@ -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.* diff --git a/bin/ci/update_traces_checksum.py b/bin/ci/update_traces_checksum.py index 064573d556d..68c7a02411a 100755 --- a/bin/ci/update_traces_checksum.py +++ b/bin/ci/update_traces_checksum.py @@ -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)