You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I enable the github actions on my laser-measles fork they fail very quickly (even after making the linter happy). For example on regular build and test:
Run tox -e docs -v
.pkg: find interpreter for spec PythonSpec(major=3, minor=11)
.pkg: proposed PythonInfo(spec=CPython3.11.10.final.0-64, exe=/opt/hostedtoolcache/Python/3.11.10/x64/bin/python, platform=linux, version='3.11.10 (main, Sep 9 2024, 03:20:25) [GCC 11.4.0]', encoding_fs_io=utf-8-utf-8)
.pkg: find interpreter for spec PythonSpec(path=/opt/hostedtoolcache/Python/3.11.10/x64/bin/python)
.pkg: proposed PythonInfo(spec=CPython3.11.10.final.0-64, exe=/opt/hostedtoolcache/Python/3.11.10/x64/bin/python, platform=linux, version='3.11.10 (main, Sep 9 2024, 03:20:25) [GCC 11.4.0]', encoding_fs_io=utf-8-utf-8)
docs: create virtual environment via CPython3Posix(dest=/home/runner/work/laser-measles/laser-measles/.tox/docs, clear=False, no_vcs_ignore=False, global=False)
docs: add seed packages via FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/home/runner/.local/share/virtualenv)
docs: add activators for Bash, CShell, Fish, Nushell, PowerShell, Python
docs: install_deps> python -I -m pip install -r /home/runner/work/laser-measles/laser-measles/docs/requirements.txt
docs: exit 0 (4.72 seconds) /home/runner/work/laser-measles/laser-measles> python -I -m pip install -r /home/runner/work/laser-measles/laser-measles/docs/requirements.txt pid=1781
.pkg: create virtual environment via CPython3Posix(dest=/home/runner/work/laser-measles/laser-measles/.tox/.pkg, clear=False, no_vcs_ignore=False, global=False)
.pkg: add seed packages via FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/home/runner/.local/share/virtualenv)
.pkg: add activators for Bash, CShell, Fish, Nushell, PowerShell, Python
.pkg: install_requires> python -I -m pip install 'setuptools>=61.0'
.pkg: exit 0 (0.89 seconds) /home/runner/work/laser-measles/laser-measles> python -I -m pip install 'setuptools>=61.0' pid=1799
.pkg: _optional_hooks> python /opt/hostedtoolcache/Python/3.11.10/x64/lib/python3.11/site-packages/pyproject_api/_backend.py True setuptools.build_meta
.pkg: exit None (0.24 seconds) /home/runner/work/laser-measles/laser-measles> python /opt/hostedtoolcache/Python/3.11.10/x64/lib/python3.11/site-packages/pyproject_api/_backend.py True setuptools.build_meta pid=1807
.pkg: get_requires_for_build_sdist> python /opt/hostedtoolcache/Python/3.11.10/x64/lib/python3.11/site-packages/pyproject_api/_backend.py True setuptools.build_meta
.pkg: exit None (0.36 seconds) /home/runner/work/laser-measles/laser-measles> python /opt/hostedtoolcache/Python/3.11.10/x64/lib/python3.11/site-packages/pyproject_api/_backend.py True setuptools.build_meta pid=1810
.pkg: get_requires_for_build_editable> python /opt/hostedtoolcache/Python/3.11.10/x64/lib/python3.11/site-packages/pyproject_api/_backend.py True setuptools.build_meta
.pkg: exit None (0.18 seconds) /home/runner/work/laser-measles/laser-measles> python /opt/hostedtoolcache/Python/3.11.10/x64/lib/python3.11/site-packages/pyproject_api/_backend.py True setuptools.build_meta pid=1813
.pkg: freeze> python -m pip freeze --all
.pkg: exit 0 (0.21 seconds) /home/runner/work/laser-measles/laser-measles> python -m pip freeze --all pid=1816
.pkg: pip==24.3.1,setuptools==75.2.0,wheel==0.44.0
.pkg: build_editable> python /opt/hostedtoolcache/Python/3.11.10/x64/lib/python3.11/site-packages/pyproject_api/_backend.py True setuptools.build_meta
.pkg: exit None (0.57 seconds) /home/runner/work/laser-measles/laser-measles> python /opt/hostedtoolcache/Python/3.11.10/x64/lib/python3.11/site-packages/pyproject_api/_backend.py True setuptools.build_meta pid=1819
docs: install_package_deps> python -I -m pip install geopandas 'laser-core@ git+https://github.com/InstituteforDiseaseModeling/[email protected]'
docs: exit 0 (20.37 seconds) /home/runner/work/laser-measles/laser-measles> python -I -m pip install geopandas 'laser-core@ git+https://github.com/InstituteforDiseaseModeling/[email protected]' pid=1828
docs: install_package> python -I -m pip install --force-reinstall --no-deps /home/runner/work/laser-measles/laser-measles/.tox/.tmp/package/1/laser_measles-0.6.0-0.editable-cp311-cp311-linux_x86_64.whl
docs: exit 0 (0.46 seconds) /home/runner/work/laser-measles/laser-measles> python -I -m pip install --force-reinstall --no-deps /home/runner/work/laser-measles/laser-measles/.tox/.tmp/package/1/laser_measles-0.6.0-0.editable-cp311-cp311-linux_x86_64.whl pid=1897
docs: freeze> python -m pip freeze --all
docs: exit 0 (0.25 seconds) /home/runner/work/laser-measles/laser-measles> python -m pip freeze --all pid=1906
docs: alabaster==1.0.0,babel==2.16.0,certifi==2024.8.30,charset-normalizer==3.4.0,click==8.1.7,contourpy==1.3.1,cycler==0.[12](https://github.com/krosenfeld-IDM/laser-measles/actions/runs/11977640624/job/33395969743#step:7:13).1,docutils==0.21.2,fonttools==4.55.0,geopandas==1.0.1,idna==3.10,imagesize==1.4.1,iniconfig==2.0.0,Jinja2==3.1.4,kiwisolver==1.4.7,laser-core @ git+https://github.com/InstituteforDiseaseModeling/laser.git@de9a20770ff6d04fc627143b34a360d71b45e526,laser-measles @ file:///home/runner/work/laser-measles/laser-measles/.tox/.tmp/package/1/laser_measles-0.6.0-0.editable-cp311-cp311-linux_x86_64.whl#sha256=85428ab485682b0bb1a041608b6fee1a5f56d6d7982bde5d2ee[13](https://github.com/krosenfeld-IDM/laser-measles/actions/runs/11977640624/job/33395969743#step:7:14)e0009b86514,llvmlite==0.43.0,MarkupSafe==3.0.2,matplotlib==3.9.2,numba==0.60.0,numpy==1.26.4,packaging==24.2,pandas==2.2.3,pillow==11.0.0,pip==24.3.1,pluggy==1.5.0,polars==1.14.0,Pygments==2.18.0,pyogrio==0.10.0,pyparsing==3.2.0,pyproj==3.7.0,pytest==8.3.3,python-dateutil==2.9.0.post0,pytz==2024.2,requests==2.32.3,setuptools==75.2.0,shapely==2.0.6,six==1.16.0,snowballstemmer==2.2.0,Sphinx==8.1.3,sphinx-rtd-theme==3.0.2,sphinxcontrib-applehelp==2.0.0,sphinxcontrib-devhelp==2.0.0,sphinxcontrib-htmlhelp==2.1.0,sphinxcontrib-jquery==4.1,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-qthelp==2.0.0,sphinxcontrib-serializinghtml==2.0.0,tqdm==4.67.0,tzdata==2024.2,urllib3==2.2.3,wheel==0.44.0
docs: commands[0]> sphinx-apidoc -f -o docs/reference --module-first src/laser_measles
docs: exit 0 (0.22 seconds) /home/runner/work/laser-measles/laser-measles> sphinx-apidoc -f -o docs/reference --module-first src/laser_measles pid=1911
docs: commands[1]> sphinx-build -E -b doctest docs dist/docs
Running Sphinx v8.1.3
loading translations [en]... done
making output directory... done
[autosummary] generating autosummary for: authors.rst, changelog.rst, contributing.rst, index.rst, installation.rst, readme.rst, reference/laser_measles.generic.rst, reference/laser_measles.nigeria.rst, reference/laser_measles.rst, reference/modules.rst, usage.rst
building [mo]: targets for 0 po files that are out of date
writing output...
building [doctest]: targets for 11 source files that are out of date
updating environment: [new config] 11 added, 0 changed, 0 removed
reading sources... [ 9%] authors
reading sources... [ 18%] changelog
reading sources... [ 27%] contributing
reading sources... [ 36%] index
reading sources... [ 45%] installation
reading sources... [ 55%] readme
reading sources... [ 64%] reference/laser_measles
reading sources... [ 73%] reference/laser_measles.generic
reading sources... [ 82%] reference/laser_measles.nigeria
reading sources... [ 91%] reference/modules
reading sources... [100%] usage
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
copying assets...
copying assets: done
running tests...
Doctest summary
===============
0 tests
0 failures in tests
0 failures in setup code
0 failures in cleanup code
build succeeded.
Testing of doctests in the sources finished, look at the results in dist/docs/output.txt.
docs: exit 0 (16.95 seconds) /home/runner/work/laser-measles/laser-measles> sphinx-build -E -b doctest docs dist/docs pid=1916
docs: commands[2]> sphinx-build -E -b html docs dist/docs
Running Sphinx v8.1.3
loading translations [en]... done
[autosummary] generating autosummary for: authors.rst, changelog.rst, contributing.rst, index.rst, installation.rst, readme.rst, reference/laser_measles.generic.rst, reference/laser_measles.nigeria.rst, reference/laser_measles.rst, reference/modules.rst, usage.rst
building [mo]: targets for 0 po files that are out of date
writing output...
building [html]: targets for 11 source files that are out of date
updating environment: [new config] 11 added, 0 changed, 0 removed
reading sources... [ 9%] authors
reading sources... [ 18%] changelog
reading sources... [ 27%] contributing
reading sources... [ 36%] index
reading sources... [ 45%] installation
reading sources... [ 55%] readme
reading sources... [ 64%] reference/laser_measles
reading sources... [ 73%] reference/laser_measles.generic
reading sources... [ 82%] reference/laser_measles.nigeria
reading sources... [ 91%] reference/modules
reading sources... [100%] usage
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
copying assets...
copying static files...
Writing evaluated template result to /home/runner/work/laser-measles/laser-measles/dist/docs/_static/basic.css
Writing evaluated template result to /home/runner/work/laser-measles/laser-measles/dist/docs/_static/language_data.js
Writing evaluated template result to /home/runner/work/laser-measles/laser-measles/dist/docs/_static/documentation_options.js
Writing evaluated template result to /home/runner/work/laser-measles/laser-measles/dist/docs/_static/js/versions.js
copying static files: done
copying extra files...
copying extra files: done
copying assets: done
writing output... [ 9%] authors
writing output... [ 18%] changelog
writing output... [ 27%] contributing
writing output... [ 36%] index
writing output... [ 45%] installation
writing output... [ 55%] readme
writing output... [ 64%] reference/laser_measles
writing output... [ 73%] reference/laser_measles.generic
writing output... [ 82%] reference/laser_measles.nigeria
writing output... [ 91%] reference/modules
writing output... [100%] usage
generating indices... genindex py-modindex done
highlighting module code... [ 7%] laser_measles._core
highlighting module code... [ 13%] laser_measles.antibodies
highlighting module code... [ 20%] laser_measles.births
highlighting module code... [ 27%] laser_measles.generic.metapop
highlighting module code... [ 33%] laser_measles.generic.params
highlighting module code... [ 40%] laser_measles.incubation
highlighting module code... [ 47%] laser_measles.infection
highlighting module code... [ 53%] laser_measles.model
highlighting module code... [ 60%] laser_measles.mortality
highlighting module code... [ 67%] laser_measles.nigeria.metapop
highlighting module code... [ 73%] laser_measles.nigeria.params
highlighting module code... [ 80%] laser_measles.routine
highlighting module code... [ 87%] laser_measles.susceptibility
highlighting module code... [ 93%] laser_measles.transmission
highlighting module code... [100%] laser_measles.utils
writing additional pages... search done
dumping search index in English (code: en)... done
dumping object inventory... done
build succeeded.
The HTML pages are in dist/docs.
docs: exit 0 (13.19 seconds) /home/runner/work/laser-measles/laser-measles> sphinx-build -E -b html docs dist/docs pid=1981
docs: commands[3]> sphinx-build -b linkcheck docs dist/docs
Running Sphinx v8.1.3
loading translations [en]... done
loading pickled environment... The configuration has changed (2 options: 'html_permalinks_icon', 'jquery_use_sri')
done
[autosummary] generating autosummary for: authors.rst, changelog.rst, contributing.rst, index.rst, installation.rst, readme.rst, reference/laser_measles.generic.rst, reference/laser_measles.nigeria.rst, reference/laser_measles.rst, reference/modules.rst, usage.rst
building [mo]: targets for 0 po files that are out of date
writing output...
building [linkcheck]: targets for 11 source files that are out of date
updating environment: 0 added, 0 changed, 0 removed
reading sources...
looking for now-outdated files... none found
preparing documents... done
copying assets...
copying assets: done
writing output... [ 9%] authors
writing output... [ 18%] changelog
writing output... [ 27%] contributing
writing output... [ 36%] index
writing output... [ 45%] installation
writing output... [ 55%] readme
writing output... [ 64%] reference/laser_measles
writing output... [ 73%] reference/laser_measles.generic
writing output... [ 82%] reference/laser_measles.nigeria
writing output... [ 91%] reference/modules
writing output... [100%] usage
( readme: line 13) ok https://app.codecov.io/github/InstituteforDiseaseModeling/laser-measles
(reference/laser_measles: line [14](https://github.com/krosenfeld-IDM/laser-measles/actions/runs/11977640624/job/33395969743#step:7:15)) ok https://click.palletsprojects.com/en/stable/setuptools/
( readme: line 24) ok https://codecov.io/gh/InstituteforDiseaseModeling/laser-measles/branch/main/graphs/badge.svg?branch=main
( readme: line 20) ok https://github.com/InstituteforDiseaseModeling/laser-measles/actions/workflows/github-actions.yml/badge.svg
( contributing: line 40) ok https://github.com/InstituteforDiseaseModeling/laser-measles
( readme: line [15](https://github.com/krosenfeld-IDM/laser-measles/actions/runs/11977640624/job/33395969743#step:7:16)) broken https://github.com/InstituteforDiseaseModeling/laser-measles/compare/v0.6.0...main - 404 Client Error: Not Found for url: https://github.com/InstituteforDiseaseModeling/laser-measles/compare/v0.6.0...main
( contributing: line 11) ok https://github.com/InstituteforDiseaseModeling/laser-measles/issues
( readme: line 40) ok https://img.shields.io/pypi/implementation/laser-measles.svg
( readme: line 28) ok https://img.shields.io/pypi/v/laser-measles.svg
( readme: line 36) ok https://img.shields.io/pypi/pyversions/laser-measles.svg
( readme: line 32) ok https://img.shields.io/pypi/wheel/laser-measles.svg
( readme: line 13) ok https://github.com/InstituteforDiseaseModeling/laser-measles/actions
( readme: line 15) ok https://test.pypi.org/project/laser-measles/
( readme: line 44) ok https://img.shields.io/github/commits-since/InstituteforDiseaseModeling/laser-measles/v0.6.0.svg
( readme: line 11) ok https://laser-measles.readthedocs.io/en/latest/
( readme: line [16](https://github.com/krosenfeld-IDM/laser-measles/actions/runs/11977640624/job/33395969743#step:7:17)) ok https://readthedocs.org/projects/laser-measles/badge/?style=flat
( authors: line 5) ok https://www.idmod.org
build finished with problems.
docs: exit 1 (12.65 seconds) /home/runner/work/laser-measles/laser-measles> sphinx-build -b linkcheck docs dist/docs pid=2100
docs: FAIL code 1 (71.91=setup[28.89]+cmd[0.22,16.95,13.19,12.65] seconds)
evaluation failed :( (71.99 seconds)
Error: Process completed with exit code 1.
The text was updated successfully, but these errors were encountered:
krosenfeld-IDM
changed the title
github actions failing on repository branches
github actions failing on repository forks
Nov 22, 2024
If I enable the github actions on my
laser-measles
fork they fail very quickly (even after making the linter happy). For example on regular build and test:The text was updated successfully, but these errors were encountered: