Describe the bug
While testing #3918, I noticed the following error every time update_credits() was run as a part of release_automation.py. This function was introduced in #3680.
Unknown option: --minimal
usage: python.exe [option] ... [-c cmd | -m mod | file | -] [arg] ...
Try `python -h' for more information.
Traceback (most recent call last):
File "sasview\build_tools\release_automation.py", line 358, in
main(args)
~~~~^^^^^^
File "sasview\build_tools\release_automation.py", line 321, in main
update_credits(SASVIEW_PATH / "src" / "sas" / "system" / "credits.html")
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "sasview\build_tools\release_automation.py", line 240, in update_credits
subprocess.check_call(
~~~~~~~~~~~~~~~~~~~~~^
[
^
...<3 lines>...
credits_file,
^^^^^^^^^^^^^
])
^^
File "pythoncore-3.14-64\Lib\subprocess.py", line 419, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['sasview\venv\Scripts\python.exe', '--minimal', 'build_tools/release_automation.py', WindowsPath('sasview/src/sas/system/credits.html')]' returned non-zero exit status 2.
To Reproduce
Steps to reproduce the behavior:
- Run
release_automation.py as instructed in the file
- See error
Expected behavior
The process, I believe, should auto-update the Credits/License widget.
SasView version (please complete the following information):
- Version: main branch, running python 3.14
Operating system (please complete the following information):
Describe the bug
While testing #3918, I noticed the following error every time
update_credits()was run as a part ofrelease_automation.py. This function was introduced in #3680.To Reproduce
Steps to reproduce the behavior:
release_automation.pyas instructed in the fileExpected behavior
The process, I believe, should auto-update the Credits/License widget.
SasView version (please complete the following information):
Operating system (please complete the following information):