Skip to content

Infra: Fix make clean htmllive - #3813

Merged
hugovk merged 1 commit into
python:mainfrom
hugovk:uv2
Jun 4, 2024
Merged

Infra: Fix make clean htmllive#3813
hugovk merged 1 commit into
python:mainfrom
hugovk:uv2

Conversation

@hugovk

@hugovkhugovk commented Jun 3, 2024

Copy link
Copy Markdown
Member

Follow on from #3791 and #3796.

Before:

make clean htmlliverm -rf .venvrm -rf build topicCreating venv in .venvUsing Python 3.12.3 interpreter at: /Library/Frameworks/Python.framework/Versions/3.12/bin/python3Creating virtualenv at: .venvActivate with: source .venv/bin/activateResolved 26 packages in 67msInstalled 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.1The 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 pipmake: *** [ensure-sphinx-autobuild] Error 1

After:

make clean htmlliverm -rf .venvrm -rf build topicCreating venv in .venvUsing Python 3.12.3 interpreter at: /Library/Frameworks/Python.framework/Versions/3.12/bin/python3Creating virtualenv at: .venvActivate with: source .venv/bin/activateResolved 26 packages in 5msInstalled 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.1The venv has been created in the .venv directoryif 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-autobuildResolved 31 packages in 170msDownloaded 1 package in 19msInstalled 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 buildRunning Sphinx v7.3.7loading 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 dateupdating environment: [new config] 652 added, 0 changed, 0 removedreading sources... [100%] pep-8105 .. topic/typinglooking for now-outdated files... none foundpickling environment... donechecking consistency... donepreparing documents... donecopying assets... copying static files... donecopying extra files... donedonewriting output... [100%] pep-9999 .. topic/typinggenerating indices... donewriting additional pages... donecopying images... [100%] pep-3147-1.pngdumping object inventory... donebuild succeeded.The HTML pages are in build.[sphinx-autobuild] Serving on http://127.0.0.1:55302[sphinx-autobuild] Waiting to detect changes...

@hugovkhugovk 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 ownerJune 3, 2024 13:33
@hugovk
hugovk merged commit 44ec9be into python:mainJun 4, 2024
@hugovk
hugovk deleted the uv2 branch June 4, 2024 18:52
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

infraCore infrastructure for building and rendering PEPs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@hugovk