-
Notifications
You must be signed in to change notification settings - Fork 71
Open
Labels
type:bugSomething isn't workingSomething isn't working
Description
Current Behavior
Building fails with Python 3.13.
sphinx-multiversion source build/html -b html -d build/doctrees -j 4 -Dlanguage=zh_TW -c source
outputdir '2.7/zh_TW' for refs/remotes/origin/main conflicts with other versions
usage: __main__.py [OPTIONS] SOURCEDIR OUTPUTDIR [FILENAMES...]
__main__.py: error: argument -b: expected one argument
Traceback (most recent call last):
File "/opt/hostedtoolcache/Python/3.13.3/x64/bin/sphinx-multiversion", line 8, in <module>
sys.exit(main())
~~~~^^
File "/opt/hostedtoolcache/Python/3.13.3/x64/lib/python3.13/site-packages/sphinx_multiversion/main.py", line 338, in main
subprocess.check_call(cmd, cwd=current_cwd)
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.13.3/x64/lib/python3.13/subprocess.py", line 419, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '('/opt/hostedtoolcache/Python/3.13.3/x64/bin/python', '-R', '-m', 'sphinx', '-b', '-d', 'build/doctrees', '-j', '4', '-D', 'smv_metadata_path=/tmp/tmp_tk0s03_/versions.json', '-D', 'language=zh_TW', '-D', 'smv_current_version=main', '-c', '/home/runner/work/manual/manual/source', '/tmp/tmp_tk0s03_/a7372889dad3f1abfe3678e4431130faa473c442/source', '/home/runner/work/manual/manual/build/html/2.7/zh_TW', 'html')' returned non-zero exit status 2.
make: *** [Makefile:185: versionedhtml] Error 1
After downgrading to Python 3.10 it works again
Expected Behavior
It should run without an error. Like here with Python 3.10:
https://github.com/daschuer/manual/actions/runs/14684137388
Reproduction Steps
Run workflow:
https://github.com/mixxxdj/manual/actions/runs/14538415023/job/40791399813
Environment
- OS: Ubuntu 24.04
- Python: 3.13
Metadata
Metadata
Assignees
Labels
type:bugSomething isn't workingSomething isn't working
Type
Projects
Status
Backlog