Skip to content

Commit 7077340

Browse files
committed
update install dependencies GitHub action: install torchmin package from source and remove usage of requirements.txt files
1 parent 926f604 commit 7077340

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

‎.github/workflows/documentation.yml‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ jobs:
2727
- name: Install dependencies
2828
run: |
2929
python -m pip install --upgrade pip
30-
python -m pip install -r requirements.txt --extra-index-url https://download.pytorch.org/whl/cpu
31-
python -m pip install -r docs/requirements.txt
30+
python -m pip install -e ".[docs]" --extra-index-url https://download.pytorch.org/whl/cpu
3231
3332
- name: Sphinx build
3433
run: |

‎pyproject.toml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ dev = [
2828
"pytest",
2929
]
3030
docs = [
31-
"sphinx==3.5.3",
32-
"jinja2<3.1",
33-
"sphinx_rtd_theme==0.5.2",
31+
"sphinx==5.0.2",
32+
"jinja2>=3.1",
33+
"sphinx_rtd_theme==2.0.0",
3434
"readthedocs-sphinx-search==0.3.2",
3535
]
3636

0 commit comments

Comments
 (0)