Page MenuHomePhabricator

Mobileapps fails on image publishing CI step
Closed, ResolvedPublic

Description

From CI:

+ ./update_version/update_version.py -s mobileapps -v 2026-08-03-170706-production
Traceback (most recent call last):
  File "/srv/jenkins-agent/workspace/mobileapps-pipeline-publish@2/deployment-charts/./update_version/update_version.py", line 70, in load_yaml
    data = ruamel.yaml.load(
        file,
        ruamel.yaml.RoundTripLoader,
        preserve_quotes=True
    )
  File "/usr/lib/python3/dist-packages/ruamel/yaml/main.py", line 1087, in load
    error_deprecation('load', 'load', arg=_error_dep_arg, comment=_error_dep_comment)
    ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/ruamel/yaml/main.py", line 1041, in error_deprecation
    raise AttributeError(s, name=None)
AttributeError: 
"load()" has been removed, use

  yaml = YAML(typ='rt')
  yaml.load(...)

and register any classes that you use, or check the tag attribute on the loaded data,
instead of file "/srv/jenkins-agent/workspace/mobileapps-pipeline-publish@2/deployment-charts/./update_version/update_version.py", line 70

            data = ruamel.yaml.load(



During handling of the above exception, another exception occurred:

Event Timeline

Please provide a link to a Jenkins job run.

dancy changed the task status from Open to In Progress.Aug 3 2026, 6:25 PM
dancy claimed this task.
dancy added a project: Essential-Work.

Change #1320211 had a related patch set uploaded (by Ahmon Dancy; author: Ahmon Dancy):

[operations/deployment-charts@master] update_version: use the ruamel.yaml YAML() instance API

https://gerrit.wikimedia.org/r/1320211

Change #1320211 abandoned by Ahmon Dancy:

[operations/deployment-charts@master] update_version: use the ruamel.yaml YAML() instance API

Reason:

Redundant with Id9c1da6cf10c0f7cac8061abb8268091c1a87ce1

https://gerrit.wikimedia.org/r/1320211

Change #1310090 had a related patch set uploaded (by Ahmon Dancy; author: Mvolz):

[operations/deployment-charts@master] Update update_version.py to be compatible with ruamel >=0.15.0

https://gerrit.wikimedia.org/r/1310090

Change #1310090 merged by jenkins-bot:

[operations/deployment-charts@master] Update update_version.py to be compatible with ruamel >=0.15.0

https://gerrit.wikimedia.org/r/1310090