Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork81
Closed
Description
CI Error:
Run .github/scripts/build.shpython3 -m venv ./venv./venv/bin/python3 -m pip install -U Sphinx==2.3.1"docutils<0.18" blurb docutils==0.1.17 Jinja2==3.0.3ERROR: Double requirement given: docutils==0.17.1 (alreadyin docutils<0.18, name='docutils')
https://github.com/python/python-docs-zh-cn/runs/6928865169?check_suite_focus=true#step:5:9
看上去是重复指定依赖版本了
python-docs-zh-cn/.github/scripts/build.sh
Lines 17 to 18 in065e4c9
# Hotfix for #227 | |
sed -i's|Sphinx==2.3.1|Sphinx==2.3.1 "docutils<0.18"|g' Makefile |
现在 3.7 已经手动指定 docutils 的版本了,所以删掉这句就行。
$(VENVDIR)/bin/python3 -m pip install -U Sphinx==2.3.1 blurb docutils==0.17.1 Jinja2==3.0.3
https://github.com/python/cpython/blob/3a4ca49b4b49b77501955dfa5a04191e67822216/Doc/Makefile#L130
Metadata
Metadata
Assignees
Labels
No labels