Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Python 3.7 定时任务失败 #258

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
inkydragon opened this issue Jun 17, 2022 · 0 comments
Closed

Python 3.7 定时任务失败 #258

inkydragon opened this issue Jun 17, 2022 · 0 comments

Comments

@inkydragon
Copy link

CI Error:

Run .github/scripts/build.sh
python3 -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.3
ERROR: Double requirement given: docutils==0.17.1 (already in docutils<0.18, name='docutils')

https://github.com/python/python-docs-zh-cn/runs/6928865169?check_suite_focus=true#step:5:9

看上去是重复指定依赖版本了

# 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

@zhsj zhsj closed this as completed in 9306124 Jun 17, 2022
zhsj added a commit that referenced this issue Jun 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant