-
Notifications
You must be signed in to change notification settings - Fork 589
fix github docs build issue updating to pytorch-sphinx-theme2 #3670
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
Conversation
|
@TroyGarden has exported this pull request. If you are a Meta employee, you can view the originating Diff in D90876150. |
…ytorch#3670) Summary: # context * github docs workflow started to [fail](https://github.com/meta-pytorch/torchrec/actions/runs/21075728300/job/60616964631) ``` Run conda run -n build_binary python -m pip install -r docs/requirements.txt Running command git clone --filter=blob:none --quiet https://github.com/pytorch/pytorch_sphinx_theme.git /home/runner/work/torchrec/torchrec/src/pytorch-sphinx-theme WARNING: Generating metadata for package pytorch_sphinx_theme produced metadata for project name pytorch-sphinx-theme2. Fix your #egg=pytorch_sphinx_theme fragments. ERROR: Could not find a version that satisfies the requirement pytorch-sphinx-theme (unavailable) (from versions: 0.0.18, 0.0.19) ERROR: No matching distribution found for pytorch-sphinx-theme (unavailable) ERROR conda.cli.main_run:execute(127): `conda run python -m pip install -r docs/requirements.txt` failed. (See above for error) Obtaining pytorch_sphinx_theme from git+https://github.com/pytorch/pytorch_sphinx_theme.git#egg=pytorch_sphinx_theme (from -r docs/requirements.txt (line 7)) Cloning https://github.com/pytorch/pytorch_sphinx_theme.git to ./src/pytorch-sphinx-theme Resolved https://github.com/pytorch/pytorch_sphinx_theme.git to commit f532205d356b644f30b8bbd5c08699b250ca9dd0 Installing build dependencies: started Installing build dependencies: finished with status 'done' Checking if build backend supports build_editable: started Checking if build backend supports build_editable: finished with status 'done' Getting requirements to build editable: started Getting requirements to build editable: finished with status 'done' Preparing editable metadata (pyproject.toml): started Preparing editable metadata (pyproject.toml): finished with status 'done' Discarding git+https://github.com/pytorch/pytorch_sphinx_theme.git#egg=pytorch_sphinx_theme: Requested pytorch-sphinx-theme2 from git+https://github.com/pytorch/pytorch_sphinx_theme.git#egg=pytorch_sphinx_theme (from -r docs/requirements.txt (line 7)) has inconsistent name: expected 'pytorch-sphinx-theme', but metadata has 'pytorch-sphinx-theme2' Collecting sphinx==5.0.0 (from -r docs/requirements.txt (line 1)) Downloading Sphinx-5.0.0-py3-none-any.whl.metadata (7.9 kB) Requirement already satisfied: pyre-extensions in /usr/share/miniconda/envs/build_binary/lib/python3.12/site-packages (from -r docs/requirements.txt (line 2)) (0.0.32) Collecting sphinx-design (from -r docs/requirements.txt (line 3)) Downloading sphinx_design-0.6.1-py3-none-any.whl.metadata (5.5 kB) Collecting sphinx_copybutton (from -r docs/requirements.txt (line 4)) Downloading sphinx_copybutton-0.5.2-py3-none-any.whl.metadata (3.2 kB) ``` * update the pytorch-sphinx-theme2 Differential Revision: D90876150
5b20870 to
f6a06c7
Compare
…ytorch#3670) Summary: # context * github docs workflow started to [fail](https://github.com/meta-pytorch/torchrec/actions/runs/21075728300/job/60616964631) ``` Run conda run -n build_binary python -m pip install -r docs/requirements.txt Running command git clone --filter=blob:none --quiet https://github.com/pytorch/pytorch_sphinx_theme.git /home/runner/work/torchrec/torchrec/src/pytorch-sphinx-theme WARNING: Generating metadata for package pytorch_sphinx_theme produced metadata for project name pytorch-sphinx-theme2. Fix your #egg=pytorch_sphinx_theme fragments. ERROR: Could not find a version that satisfies the requirement pytorch-sphinx-theme (unavailable) (from versions: 0.0.18, 0.0.19) ERROR: No matching distribution found for pytorch-sphinx-theme (unavailable) ERROR conda.cli.main_run:execute(127): `conda run python -m pip install -r docs/requirements.txt` failed. (See above for error) Obtaining pytorch_sphinx_theme from git+https://github.com/pytorch/pytorch_sphinx_theme.git#egg=pytorch_sphinx_theme (from -r docs/requirements.txt (line 7)) Cloning https://github.com/pytorch/pytorch_sphinx_theme.git to ./src/pytorch-sphinx-theme Resolved https://github.com/pytorch/pytorch_sphinx_theme.git to commit f532205d356b644f30b8bbd5c08699b250ca9dd0 Installing build dependencies: started Installing build dependencies: finished with status 'done' Checking if build backend supports build_editable: started Checking if build backend supports build_editable: finished with status 'done' Getting requirements to build editable: started Getting requirements to build editable: finished with status 'done' Preparing editable metadata (pyproject.toml): started Preparing editable metadata (pyproject.toml): finished with status 'done' Discarding git+https://github.com/pytorch/pytorch_sphinx_theme.git#egg=pytorch_sphinx_theme: Requested pytorch-sphinx-theme2 from git+https://github.com/pytorch/pytorch_sphinx_theme.git#egg=pytorch_sphinx_theme (from -r docs/requirements.txt (line 7)) has inconsistent name: expected 'pytorch-sphinx-theme', but metadata has 'pytorch-sphinx-theme2' Collecting sphinx==5.0.0 (from -r docs/requirements.txt (line 1)) Downloading Sphinx-5.0.0-py3-none-any.whl.metadata (7.9 kB) Requirement already satisfied: pyre-extensions in /usr/share/miniconda/envs/build_binary/lib/python3.12/site-packages (from -r docs/requirements.txt (line 2)) (0.0.32) Collecting sphinx-design (from -r docs/requirements.txt (line 3)) Downloading sphinx_design-0.6.1-py3-none-any.whl.metadata (5.5 kB) Collecting sphinx_copybutton (from -r docs/requirements.txt (line 4)) Downloading sphinx_copybutton-0.5.2-py3-none-any.whl.metadata (3.2 kB) ``` * update the pytorch-sphinx-theme2 Differential Revision: D90876150
f6a06c7 to
8a7457c
Compare
| html_theme = "pytorch_sphinx_theme" | ||
| html_theme_path = [pytorch_sphinx_theme.get_html_theme_path()] | ||
| html_theme = "pytorch_sphinx_theme2" | ||
| html_theme_path = [pytorch_sphinx_theme2.get_html_theme_path()] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there are quite a few params you need to configure to correctly migrate. See for details: https://github.com/pytorch/pytorch_sphinx_theme/blob/pytorch_sphinx_theme2/pytorch_sphinx_theme2_migration_guide.md
…ytorch#3670) Summary: # context * github docs workflow started to [fail](https://github.com/meta-pytorch/torchrec/actions/runs/21075728300/job/60616964631) ``` Run conda run -n build_binary python -m pip install -r docs/requirements.txt Running command git clone --filter=blob:none --quiet https://github.com/pytorch/pytorch_sphinx_theme.git /home/runner/work/torchrec/torchrec/src/pytorch-sphinx-theme WARNING: Generating metadata for package pytorch_sphinx_theme produced metadata for project name pytorch-sphinx-theme2. Fix your #egg=pytorch_sphinx_theme fragments. ERROR: Could not find a version that satisfies the requirement pytorch-sphinx-theme (unavailable) (from versions: 0.0.18, 0.0.19) ERROR: No matching distribution found for pytorch-sphinx-theme (unavailable) ERROR conda.cli.main_run:execute(127): `conda run python -m pip install -r docs/requirements.txt` failed. (See above for error) Obtaining pytorch_sphinx_theme from git+https://github.com/pytorch/pytorch_sphinx_theme.git#egg=pytorch_sphinx_theme (from -r docs/requirements.txt (line 7)) Cloning https://github.com/pytorch/pytorch_sphinx_theme.git to ./src/pytorch-sphinx-theme Resolved https://github.com/pytorch/pytorch_sphinx_theme.git to commit f532205d356b644f30b8bbd5c08699b250ca9dd0 Installing build dependencies: started Installing build dependencies: finished with status 'done' Checking if build backend supports build_editable: started Checking if build backend supports build_editable: finished with status 'done' Getting requirements to build editable: started Getting requirements to build editable: finished with status 'done' Preparing editable metadata (pyproject.toml): started Preparing editable metadata (pyproject.toml): finished with status 'done' Discarding git+https://github.com/pytorch/pytorch_sphinx_theme.git#egg=pytorch_sphinx_theme: Requested pytorch-sphinx-theme2 from git+https://github.com/pytorch/pytorch_sphinx_theme.git#egg=pytorch_sphinx_theme (from -r docs/requirements.txt (line 7)) has inconsistent name: expected 'pytorch-sphinx-theme', but metadata has 'pytorch-sphinx-theme2' Collecting sphinx==5.0.0 (from -r docs/requirements.txt (line 1)) Downloading Sphinx-5.0.0-py3-none-any.whl.metadata (7.9 kB) Requirement already satisfied: pyre-extensions in /usr/share/miniconda/envs/build_binary/lib/python3.12/site-packages (from -r docs/requirements.txt (line 2)) (0.0.32) Collecting sphinx-design (from -r docs/requirements.txt (line 3)) Downloading sphinx_design-0.6.1-py3-none-any.whl.metadata (5.5 kB) Collecting sphinx_copybutton (from -r docs/requirements.txt (line 4)) Downloading sphinx_copybutton-0.5.2-py3-none-any.whl.metadata (3.2 kB) ``` * update the pytorch-sphinx-theme2 Differential Revision: D90876150
68809c3 to
60b5354
Compare
…ytorch#3670) Summary: # context * github docs workflow started to [fail](https://github.com/meta-pytorch/torchrec/actions/runs/21075728300/job/60616964631) ``` Run conda run -n build_binary python -m pip install -r docs/requirements.txt Running command git clone --filter=blob:none --quiet https://github.com/pytorch/pytorch_sphinx_theme.git /home/runner/work/torchrec/torchrec/src/pytorch-sphinx-theme WARNING: Generating metadata for package pytorch_sphinx_theme produced metadata for project name pytorch-sphinx-theme2. Fix your #egg=pytorch_sphinx_theme fragments. ERROR: Could not find a version that satisfies the requirement pytorch-sphinx-theme (unavailable) (from versions: 0.0.18, 0.0.19) ERROR: No matching distribution found for pytorch-sphinx-theme (unavailable) ERROR conda.cli.main_run:execute(127): `conda run python -m pip install -r docs/requirements.txt` failed. (See above for error) Obtaining pytorch_sphinx_theme from git+https://github.com/pytorch/pytorch_sphinx_theme.git#egg=pytorch_sphinx_theme (from -r docs/requirements.txt (line 7)) Cloning https://github.com/pytorch/pytorch_sphinx_theme.git to ./src/pytorch-sphinx-theme Resolved https://github.com/pytorch/pytorch_sphinx_theme.git to commit f532205d356b644f30b8bbd5c08699b250ca9dd0 Installing build dependencies: started Installing build dependencies: finished with status 'done' Checking if build backend supports build_editable: started Checking if build backend supports build_editable: finished with status 'done' Getting requirements to build editable: started Getting requirements to build editable: finished with status 'done' Preparing editable metadata (pyproject.toml): started Preparing editable metadata (pyproject.toml): finished with status 'done' Discarding git+https://github.com/pytorch/pytorch_sphinx_theme.git#egg=pytorch_sphinx_theme: Requested pytorch-sphinx-theme2 from git+https://github.com/pytorch/pytorch_sphinx_theme.git#egg=pytorch_sphinx_theme (from -r docs/requirements.txt (line 7)) has inconsistent name: expected 'pytorch-sphinx-theme', but metadata has 'pytorch-sphinx-theme2' Collecting sphinx==5.0.0 (from -r docs/requirements.txt (line 1)) Downloading Sphinx-5.0.0-py3-none-any.whl.metadata (7.9 kB) Requirement already satisfied: pyre-extensions in /usr/share/miniconda/envs/build_binary/lib/python3.12/site-packages (from -r docs/requirements.txt (line 2)) (0.0.32) Collecting sphinx-design (from -r docs/requirements.txt (line 3)) Downloading sphinx_design-0.6.1-py3-none-any.whl.metadata (5.5 kB) Collecting sphinx_copybutton (from -r docs/requirements.txt (line 4)) Downloading sphinx_copybutton-0.5.2-py3-none-any.whl.metadata (3.2 kB) ``` * update the pytorch-sphinx-theme2 Differential Revision: D90876150
60b5354 to
0b8e213
Compare
…ytorch#3670) Summary: # context https://fb.workplace.com/groups/4571909969591489/permalink/25746533765035802/ * github docs workflow started to [fail](https://github.com/meta-pytorch/torchrec/actions/runs/21075728300/job/60616964631) ``` Run conda run -n build_binary python -m pip install -r docs/requirements.txt Running command git clone --filter=blob:none --quiet https://github.com/pytorch/pytorch_sphinx_theme.git /home/runner/work/torchrec/torchrec/src/pytorch-sphinx-theme WARNING: Generating metadata for package pytorch_sphinx_theme produced metadata for project name pytorch-sphinx-theme2. Fix your #egg=pytorch_sphinx_theme fragments. ERROR: Could not find a version that satisfies the requirement pytorch-sphinx-theme (unavailable) (from versions: 0.0.18, 0.0.19) ERROR: No matching distribution found for pytorch-sphinx-theme (unavailable) ERROR conda.cli.main_run:execute(127): `conda run python -m pip install -r docs/requirements.txt` failed. (See above for error) Obtaining pytorch_sphinx_theme from git+https://github.com/pytorch/pytorch_sphinx_theme.git#egg=pytorch_sphinx_theme (from -r docs/requirements.txt (line 7)) Cloning https://github.com/pytorch/pytorch_sphinx_theme.git to ./src/pytorch-sphinx-theme Resolved https://github.com/pytorch/pytorch_sphinx_theme.git to commit f532205d356b644f30b8bbd5c08699b250ca9dd0 Installing build dependencies: started Installing build dependencies: finished with status 'done' Checking if build backend supports build_editable: started Checking if build backend supports build_editable: finished with status 'done' Getting requirements to build editable: started Getting requirements to build editable: finished with status 'done' Preparing editable metadata (pyproject.toml): started Preparing editable metadata (pyproject.toml): finished with status 'done' Discarding git+https://github.com/pytorch/pytorch_sphinx_theme.git#egg=pytorch_sphinx_theme: Requested pytorch-sphinx-theme2 from git+https://github.com/pytorch/pytorch_sphinx_theme.git#egg=pytorch_sphinx_theme (from -r docs/requirements.txt (line 7)) has inconsistent name: expected 'pytorch-sphinx-theme', but metadata has 'pytorch-sphinx-theme2' Collecting sphinx==5.0.0 (from -r docs/requirements.txt (line 1)) Downloading Sphinx-5.0.0-py3-none-any.whl.metadata (7.9 kB) Requirement already satisfied: pyre-extensions in /usr/share/miniconda/envs/build_binary/lib/python3.12/site-packages (from -r docs/requirements.txt (line 2)) (0.0.32) Collecting sphinx-design (from -r docs/requirements.txt (line 3)) Downloading sphinx_design-0.6.1-py3-none-any.whl.metadata (5.5 kB) Collecting sphinx_copybutton (from -r docs/requirements.txt (line 4)) Downloading sphinx_copybutton-0.5.2-py3-none-any.whl.metadata (3.2 kB) ``` * update the pytorch-sphinx-theme2 Differential Revision: D90876150
0b8e213 to
2abf960
Compare
docs/source/conf.py
Outdated
| html_static_path = ["_static"] | ||
|
|
||
| html_css_files = ["css/custom.css"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
theses two should be deleted
…ytorch#3670) Summary: # context https://fb.workplace.com/groups/4571909969591489/permalink/25746533765035802/ * github docs workflow started to [fail](https://github.com/meta-pytorch/torchrec/actions/runs/21075728300/job/60616964631) ``` Run conda run -n build_binary python -m pip install -r docs/requirements.txt Running command git clone --filter=blob:none --quiet https://github.com/pytorch/pytorch_sphinx_theme.git /home/runner/work/torchrec/torchrec/src/pytorch-sphinx-theme WARNING: Generating metadata for package pytorch_sphinx_theme produced metadata for project name pytorch-sphinx-theme2. Fix your #egg=pytorch_sphinx_theme fragments. ERROR: Could not find a version that satisfies the requirement pytorch-sphinx-theme (unavailable) (from versions: 0.0.18, 0.0.19) ERROR: No matching distribution found for pytorch-sphinx-theme (unavailable) ERROR conda.cli.main_run:execute(127): `conda run python -m pip install -r docs/requirements.txt` failed. (See above for error) Obtaining pytorch_sphinx_theme from git+https://github.com/pytorch/pytorch_sphinx_theme.git#egg=pytorch_sphinx_theme (from -r docs/requirements.txt (line 7)) Cloning https://github.com/pytorch/pytorch_sphinx_theme.git to ./src/pytorch-sphinx-theme Resolved https://github.com/pytorch/pytorch_sphinx_theme.git to commit f532205d356b644f30b8bbd5c08699b250ca9dd0 Installing build dependencies: started Installing build dependencies: finished with status 'done' Checking if build backend supports build_editable: started Checking if build backend supports build_editable: finished with status 'done' Getting requirements to build editable: started Getting requirements to build editable: finished with status 'done' Preparing editable metadata (pyproject.toml): started Preparing editable metadata (pyproject.toml): finished with status 'done' Discarding git+https://github.com/pytorch/pytorch_sphinx_theme.git#egg=pytorch_sphinx_theme: Requested pytorch-sphinx-theme2 from git+https://github.com/pytorch/pytorch_sphinx_theme.git#egg=pytorch_sphinx_theme (from -r docs/requirements.txt (line 7)) has inconsistent name: expected 'pytorch-sphinx-theme', but metadata has 'pytorch-sphinx-theme2' Collecting sphinx==5.0.0 (from -r docs/requirements.txt (line 1)) Downloading Sphinx-5.0.0-py3-none-any.whl.metadata (7.9 kB) Requirement already satisfied: pyre-extensions in /usr/share/miniconda/envs/build_binary/lib/python3.12/site-packages (from -r docs/requirements.txt (line 2)) (0.0.32) Collecting sphinx-design (from -r docs/requirements.txt (line 3)) Downloading sphinx_design-0.6.1-py3-none-any.whl.metadata (5.5 kB) Collecting sphinx_copybutton (from -r docs/requirements.txt (line 4)) Downloading sphinx_copybutton-0.5.2-py3-none-any.whl.metadata (3.2 kB) ``` * update the pytorch-sphinx-theme2 Differential Revision: D90876150
2abf960 to
4237e5c
Compare
…ytorch#3670) Summary: # context * https://fb.workplace.com/groups/4571909969591489/permalink/25746533765035802/ * instructions: [pytorch_sphinx_theme2_migration_guide](https://github.com/pytorch/pytorch_sphinx_theme/blob/pytorch_sphinx_theme2/pytorch_sphinx_theme2_migration_guide.md) * github docs workflow started to [fail](https://github.com/meta-pytorch/torchrec/actions/runs/21075728300/job/60616964631) ``` Run conda run -n build_binary python -m pip install -r docs/requirements.txt Running command git clone --filter=blob:none --quiet https://github.com/pytorch/pytorch_sphinx_theme.git /home/runner/work/torchrec/torchrec/src/pytorch-sphinx-theme WARNING: Generating metadata for package pytorch_sphinx_theme produced metadata for project name pytorch-sphinx-theme2. Fix your #egg=pytorch_sphinx_theme fragments. ERROR: Could not find a version that satisfies the requirement pytorch-sphinx-theme (unavailable) (from versions: 0.0.18, 0.0.19) ERROR: No matching distribution found for pytorch-sphinx-theme (unavailable) ERROR conda.cli.main_run:execute(127): `conda run python -m pip install -r docs/requirements.txt` failed. (See above for error) Obtaining pytorch_sphinx_theme from git+https://github.com/pytorch/pytorch_sphinx_theme.git#egg=pytorch_sphinx_theme (from -r docs/requirements.txt (line 7)) Cloning https://github.com/pytorch/pytorch_sphinx_theme.git to ./src/pytorch-sphinx-theme Resolved https://github.com/pytorch/pytorch_sphinx_theme.git to commit f532205d356b644f30b8bbd5c08699b250ca9dd0 Installing build dependencies: started Installing build dependencies: finished with status 'done' Checking if build backend supports build_editable: started Checking if build backend supports build_editable: finished with status 'done' Getting requirements to build editable: started Getting requirements to build editable: finished with status 'done' Preparing editable metadata (pyproject.toml): started Preparing editable metadata (pyproject.toml): finished with status 'done' Discarding git+https://github.com/pytorch/pytorch_sphinx_theme.git#egg=pytorch_sphinx_theme: Requested pytorch-sphinx-theme2 from git+https://github.com/pytorch/pytorch_sphinx_theme.git#egg=pytorch_sphinx_theme (from -r docs/requirements.txt (line 7)) has inconsistent name: expected 'pytorch-sphinx-theme', but metadata has 'pytorch-sphinx-theme2' Collecting sphinx==5.0.0 (from -r docs/requirements.txt (line 1)) Downloading Sphinx-5.0.0-py3-none-any.whl.metadata (7.9 kB) Requirement already satisfied: pyre-extensions in /usr/share/miniconda/envs/build_binary/lib/python3.12/site-packages (from -r docs/requirements.txt (line 2)) (0.0.32) Collecting sphinx-design (from -r docs/requirements.txt (line 3)) Downloading sphinx_design-0.6.1-py3-none-any.whl.metadata (5.5 kB) Collecting sphinx_copybutton (from -r docs/requirements.txt (line 4)) Downloading sphinx_copybutton-0.5.2-py3-none-any.whl.metadata (3.2 kB) ``` * update the pytorch-sphinx-theme2 Differential Revision: D90876150
4237e5c to
46941a8
Compare
…ytorch#3670) Summary: # context * https://fb.workplace.com/groups/4571909969591489/permalink/25746533765035802/ * instructions: [pytorch_sphinx_theme2_migration_guide](https://github.com/pytorch/pytorch_sphinx_theme/blob/pytorch_sphinx_theme2/pytorch_sphinx_theme2_migration_guide.md) * github docs workflow started to [fail](https://github.com/meta-pytorch/torchrec/actions/runs/21075728300/job/60616964631) ``` Run conda run -n build_binary python -m pip install -r docs/requirements.txt Running command git clone --filter=blob:none --quiet https://github.com/pytorch/pytorch_sphinx_theme.git /home/runner/work/torchrec/torchrec/src/pytorch-sphinx-theme WARNING: Generating metadata for package pytorch_sphinx_theme produced metadata for project name pytorch-sphinx-theme2. Fix your #egg=pytorch_sphinx_theme fragments. ERROR: Could not find a version that satisfies the requirement pytorch-sphinx-theme (unavailable) (from versions: 0.0.18, 0.0.19) ERROR: No matching distribution found for pytorch-sphinx-theme (unavailable) ERROR conda.cli.main_run:execute(127): `conda run python -m pip install -r docs/requirements.txt` failed. (See above for error) Obtaining pytorch_sphinx_theme from git+https://github.com/pytorch/pytorch_sphinx_theme.git#egg=pytorch_sphinx_theme (from -r docs/requirements.txt (line 7)) Cloning https://github.com/pytorch/pytorch_sphinx_theme.git to ./src/pytorch-sphinx-theme Resolved https://github.com/pytorch/pytorch_sphinx_theme.git to commit f532205d356b644f30b8bbd5c08699b250ca9dd0 Installing build dependencies: started Installing build dependencies: finished with status 'done' Checking if build backend supports build_editable: started Checking if build backend supports build_editable: finished with status 'done' Getting requirements to build editable: started Getting requirements to build editable: finished with status 'done' Preparing editable metadata (pyproject.toml): started Preparing editable metadata (pyproject.toml): finished with status 'done' Discarding git+https://github.com/pytorch/pytorch_sphinx_theme.git#egg=pytorch_sphinx_theme: Requested pytorch-sphinx-theme2 from git+https://github.com/pytorch/pytorch_sphinx_theme.git#egg=pytorch_sphinx_theme (from -r docs/requirements.txt (line 7)) has inconsistent name: expected 'pytorch-sphinx-theme', but metadata has 'pytorch-sphinx-theme2' Collecting sphinx==5.0.0 (from -r docs/requirements.txt (line 1)) Downloading Sphinx-5.0.0-py3-none-any.whl.metadata (7.9 kB) Requirement already satisfied: pyre-extensions in /usr/share/miniconda/envs/build_binary/lib/python3.12/site-packages (from -r docs/requirements.txt (line 2)) (0.0.32) Collecting sphinx-design (from -r docs/requirements.txt (line 3)) Downloading sphinx_design-0.6.1-py3-none-any.whl.metadata (5.5 kB) Collecting sphinx_copybutton (from -r docs/requirements.txt (line 4)) Downloading sphinx_copybutton-0.5.2-py3-none-any.whl.metadata (3.2 kB) ``` * update the pytorch-sphinx-theme2 Differential Revision: D90876150
46941a8 to
b7b9fb0
Compare
…ytorch#3670) Summary: # context * https://fb.workplace.com/groups/4571909969591489/permalink/25746533765035802/ * instructions: [pytorch_sphinx_theme2_migration_guide](https://github.com/pytorch/pytorch_sphinx_theme/blob/pytorch_sphinx_theme2/pytorch_sphinx_theme2_migration_guide.md) * github docs workflow started to [fail](https://github.com/meta-pytorch/torchrec/actions/runs/21075728300/job/60616964631) ``` Run conda run -n build_binary python -m pip install -r docs/requirements.txt Running command git clone --filter=blob:none --quiet https://github.com/pytorch/pytorch_sphinx_theme.git /home/runner/work/torchrec/torchrec/src/pytorch-sphinx-theme WARNING: Generating metadata for package pytorch_sphinx_theme produced metadata for project name pytorch-sphinx-theme2. Fix your #egg=pytorch_sphinx_theme fragments. ERROR: Could not find a version that satisfies the requirement pytorch-sphinx-theme (unavailable) (from versions: 0.0.18, 0.0.19) ERROR: No matching distribution found for pytorch-sphinx-theme (unavailable) ERROR conda.cli.main_run:execute(127): `conda run python -m pip install -r docs/requirements.txt` failed. (See above for error) Obtaining pytorch_sphinx_theme from git+https://github.com/pytorch/pytorch_sphinx_theme.git#egg=pytorch_sphinx_theme (from -r docs/requirements.txt (line 7)) Cloning https://github.com/pytorch/pytorch_sphinx_theme.git to ./src/pytorch-sphinx-theme Resolved https://github.com/pytorch/pytorch_sphinx_theme.git to commit f532205d356b644f30b8bbd5c08699b250ca9dd0 Installing build dependencies: started Installing build dependencies: finished with status 'done' Checking if build backend supports build_editable: started Checking if build backend supports build_editable: finished with status 'done' Getting requirements to build editable: started Getting requirements to build editable: finished with status 'done' Preparing editable metadata (pyproject.toml): started Preparing editable metadata (pyproject.toml): finished with status 'done' Discarding git+https://github.com/pytorch/pytorch_sphinx_theme.git#egg=pytorch_sphinx_theme: Requested pytorch-sphinx-theme2 from git+https://github.com/pytorch/pytorch_sphinx_theme.git#egg=pytorch_sphinx_theme (from -r docs/requirements.txt (line 7)) has inconsistent name: expected 'pytorch-sphinx-theme', but metadata has 'pytorch-sphinx-theme2' Collecting sphinx==5.0.0 (from -r docs/requirements.txt (line 1)) Downloading Sphinx-5.0.0-py3-none-any.whl.metadata (7.9 kB) Requirement already satisfied: pyre-extensions in /usr/share/miniconda/envs/build_binary/lib/python3.12/site-packages (from -r docs/requirements.txt (line 2)) (0.0.32) Collecting sphinx-design (from -r docs/requirements.txt (line 3)) Downloading sphinx_design-0.6.1-py3-none-any.whl.metadata (5.5 kB) Collecting sphinx_copybutton (from -r docs/requirements.txt (line 4)) Downloading sphinx_copybutton-0.5.2-py3-none-any.whl.metadata (3.2 kB) ``` * update the pytorch-sphinx-theme2 Differential Revision: D90876150
f7d9443 to
3e8d4d9
Compare
…ytorch#3670) Summary: # context * https://fb.workplace.com/groups/4571909969591489/permalink/25746533765035802/ * instructions: [pytorch_sphinx_theme2_migration_guide](https://github.com/pytorch/pytorch_sphinx_theme/blob/pytorch_sphinx_theme2/pytorch_sphinx_theme2_migration_guide.md) * github docs workflow started to [fail](https://github.com/meta-pytorch/torchrec/actions/runs/21075728300/job/60616964631) ``` Run conda run -n build_binary python -m pip install -r docs/requirements.txt Running command git clone --filter=blob:none --quiet https://github.com/pytorch/pytorch_sphinx_theme.git /home/runner/work/torchrec/torchrec/src/pytorch-sphinx-theme WARNING: Generating metadata for package pytorch_sphinx_theme produced metadata for project name pytorch-sphinx-theme2. Fix your #egg=pytorch_sphinx_theme fragments. ERROR: Could not find a version that satisfies the requirement pytorch-sphinx-theme (unavailable) (from versions: 0.0.18, 0.0.19) ERROR: No matching distribution found for pytorch-sphinx-theme (unavailable) ERROR conda.cli.main_run:execute(127): `conda run python -m pip install -r docs/requirements.txt` failed. (See above for error) Obtaining pytorch_sphinx_theme from git+https://github.com/pytorch/pytorch_sphinx_theme.git#egg=pytorch_sphinx_theme (from -r docs/requirements.txt (line 7)) Cloning https://github.com/pytorch/pytorch_sphinx_theme.git to ./src/pytorch-sphinx-theme Resolved https://github.com/pytorch/pytorch_sphinx_theme.git to commit f532205d356b644f30b8bbd5c08699b250ca9dd0 Installing build dependencies: started Installing build dependencies: finished with status 'done' Checking if build backend supports build_editable: started Checking if build backend supports build_editable: finished with status 'done' Getting requirements to build editable: started Getting requirements to build editable: finished with status 'done' Preparing editable metadata (pyproject.toml): started Preparing editable metadata (pyproject.toml): finished with status 'done' Discarding git+https://github.com/pytorch/pytorch_sphinx_theme.git#egg=pytorch_sphinx_theme: Requested pytorch-sphinx-theme2 from git+https://github.com/pytorch/pytorch_sphinx_theme.git#egg=pytorch_sphinx_theme (from -r docs/requirements.txt (line 7)) has inconsistent name: expected 'pytorch-sphinx-theme', but metadata has 'pytorch-sphinx-theme2' Collecting sphinx==5.0.0 (from -r docs/requirements.txt (line 1)) Downloading Sphinx-5.0.0-py3-none-any.whl.metadata (7.9 kB) Requirement already satisfied: pyre-extensions in /usr/share/miniconda/envs/build_binary/lib/python3.12/site-packages (from -r docs/requirements.txt (line 2)) (0.0.32) Collecting sphinx-design (from -r docs/requirements.txt (line 3)) Downloading sphinx_design-0.6.1-py3-none-any.whl.metadata (5.5 kB) Collecting sphinx_copybutton (from -r docs/requirements.txt (line 4)) Downloading sphinx_copybutton-0.5.2-py3-none-any.whl.metadata (3.2 kB) ``` * update the pytorch-sphinx-theme2 Reviewed By: iamzainhuda Differential Revision: D90876150
3e8d4d9 to
034608b
Compare
Summary:
context
Differential Revision: D90876150