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

Skip to content

Infra: Fix make clean htmllive #3813

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

Merged
merged 1 commit into from
Jun 4, 2024
Merged

Infra: Fix make clean htmllive #3813

merged 1 commit into from
Jun 4, 2024

Conversation

hugovk
Copy link
Member

@hugovk hugovk commented Jun 3, 2024

Follow on from #3791 and #3796.

Before:

make clean htmllive
rm -rf .venv
rm -rf build topic
Creating venv in .venv
Using Python 3.12.3 interpreter at: /Library/Frameworks/Python.framework/Versions/3.12/bin/python3
Creating virtualenv at: .venv
Activate with: source .venv/bin/activate
Resolved 26 packages in 67ms
Installed 26 packages in 57ms
 + alabaster==0.7.16
 + babel==2.15.0
 + certifi==2024.6.2
 + charset-normalizer==3.3.2
 + coverage==7.5.3
 + docutils==0.21.2
 + idna==3.7
 + imagesize==1.4.1
 + iniconfig==2.0.0
 + jinja2==3.1.4
 + markupsafe==2.1.5
 + packaging==24.0
 + pluggy==1.5.0
 + pygments==2.18.0
 + pytest==8.2.1
 + pytest-cov==5.0.0
 + requests==2.32.3
 + snowballstemmer==2.2.0
 + sphinx==7.3.7
 + sphinxcontrib-applehelp==1.0.8
 + sphinxcontrib-devhelp==1.0.6
 + sphinxcontrib-htmlhelp==2.0.5
 + sphinxcontrib-jsmath==1.0.1
 + sphinxcontrib-qthelp==1.0.7
 + sphinxcontrib-serializinghtml==1.1.10
 + urllib3==2.2.1
The venv has been created in the .venv directory
.venv/bin/sphinx-autobuild --version > /dev/null || .venv/bin/python3 -m pip install sphinx-autobuild
/bin/sh: .venv/bin/sphinx-autobuild: No such file or directory
/Users/hugo/github/peps/.venv/bin/python3: No module named pip
make: *** [ensure-sphinx-autobuild] Error 1

After:

make clean htmllive
rm -rf .venv
rm -rf build topic
Creating venv in .venv
Using Python 3.12.3 interpreter at: /Library/Frameworks/Python.framework/Versions/3.12/bin/python3
Creating virtualenv at: .venv
Activate with: source .venv/bin/activate
Resolved 26 packages in 5ms
Installed 26 packages in 44ms
 + alabaster==0.7.16
 + babel==2.15.0
 + certifi==2024.6.2
 + charset-normalizer==3.3.2
 + coverage==7.5.3
 + docutils==0.21.2
 + idna==3.7
 + imagesize==1.4.1
 + iniconfig==2.0.0
 + jinja2==3.1.4
 + markupsafe==2.1.5
 + packaging==24.0
 + pluggy==1.5.0
 + pygments==2.18.0
 + pytest==8.2.1
 + pytest-cov==5.0.0
 + requests==2.32.3
 + snowballstemmer==2.2.0
 + sphinx==7.3.7
 + sphinxcontrib-applehelp==1.0.8
 + sphinxcontrib-devhelp==1.0.6
 + sphinxcontrib-htmlhelp==2.0.5
 + sphinxcontrib-jsmath==1.0.1
 + sphinxcontrib-qthelp==1.0.7
 + sphinxcontrib-serializinghtml==1.1.10
 + urllib3==2.2.1
The venv has been created in the .venv directory
if uv --version > /dev/null; then .venv/bin/python3 -m sphinx-autobuild --version > /dev/null || VIRTUAL_ENV=.venv uv pip install sphinx-autobuild; else .venv/bin/python3 -m sphinx-autobuild --version > /dev/null || .venv/bin/python3 -m pip install sphinx-autobuild; fi
/Users/hugo/github/peps/.venv/bin/python3: No module named sphinx-autobuild
Resolved 31 packages in 170ms
Downloaded 1 package in 19ms
Installed 10 packages in 11ms
 + anyio==4.4.0
 + click==8.1.7
 + colorama==0.4.6
 + h11==0.14.0
 + sniffio==1.3.1
 + sphinx-autobuild==2024.4.16
 + starlette==0.37.2
 + uvicorn==0.30.1
 + watchfiles==0.22.0
 + websockets==12.0
.venv/bin/sphinx-autobuild --builder html --jobs auto  --re-ignore="/\.idea/|/venv/|/pep-0000.rst|/topic/" --open-browser --delay 0 --port 55302 peps build
[sphinx-autobuild] Starting initial build
[sphinx-autobuild] > sphinx-build --builder html --jobs auto peps build
Running Sphinx v7.3.7
loading intersphinx inventory from https://docs.python.org/3/objects.inv...
loading intersphinx inventory from https://packaging.python.org/en/latest/objects.inv...
loading intersphinx inventory from https://typing.readthedocs.io/en/latest/objects.inv...
loading intersphinx inventory from https://devguide.python.org/objects.inv...
loading intersphinx inventory from https://docs.python.org/3.11/objects.inv...
loading intersphinx inventory from https://docs.python.org/3.12/objects.inv...
building [html]: targets for 652 source files that are out of date
updating environment: [new config] 652 added, 0 changed, 0 removed
reading sources... [100%] pep-8105 .. topic/typing
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
copying assets... copying static files... done
copying extra files... done
done
writing output... [100%] pep-9999 .. topic/typing
generating indices... done
writing additional pages... done
copying images... [100%] pep-3147-1.png
dumping object inventory... done
build succeeded.

The HTML pages are in build.
[sphinx-autobuild] Serving on http://127.0.0.1:55302
[sphinx-autobuild] Waiting to detect changes...

@hugovk hugovk added the infra Core infrastructure for building and rendering PEPs label Jun 3, 2024
@hugovk hugovk requested a review from AA-Turner as a code owner June 3, 2024 13:33
@hugovk hugovk merged commit 44ec9be into python:main Jun 4, 2024
7 checks passed
@hugovk hugovk deleted the uv2 branch June 4, 2024 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infra Core infrastructure for building and rendering PEPs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant