-
Notifications
You must be signed in to change notification settings - Fork 392
Open
Description
Description:
cmsMake fails with TypeError: load() missing 1 required positional argument: 'Loader'
.
I have asked on the Telegram support channel and I have been instructed to use task-maker-rust instead of cmsMake. My understanding is that cmsMake should be deprecated.
Steps to reproduce:
- run
cmsMake
Expected: cmsMake runs successfully.
Actual:
$ cmsMake -a
2025-08-30 01:18:07,544 - INFO [<unknown>] Using configuration file /usr/local/etc/cms.conf.
/home/cms/cms_venv/lib/python3.12/site-packages/cms/plugin.py:24: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
import pkg_resources
Traceback (most recent call last):
File "/home/cms/cms_venv/bin/cmsMake", line 7, in <module>
sys.exit(main())
^^^^^^
File "/home/cms/cms_venv/lib/python3.12/site-packages/cmstaskenv/cmsMake.py", line 727, in main
yaml_conf = parse_task_yaml(base_dir)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/cms/cms_venv/lib/python3.12/site-packages/cmstaskenv/cmsMake.py", line 124, in parse_task_yaml
conf = yaml.load(yaml_file)
^^^^^^^^^^^^^^^^^^^^
TypeError: load() missing 1 required positional argument: 'Loader'
Logs
N/A
System Information
CMS version: v1.5.1
How was CMS installed: virtualenv, Python 3.13.7
Postgres version: N/A
Distribution and version: Ubuntu 24.04.3 LTS (noble
)
Metadata
Metadata
Assignees
Labels
No labels