Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Python 3.7 定时任务失败 #258

Closed
@inkydragon

Description

@inkydragon

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

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

# 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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp