jupyter / jupyter.github.io

Project Jupyter's home on the World Wide Web
https://jupyter.org
BSD 3-Clause "New" or "Revised" License
178 stars 179 forks source link

Check links is failing #762

Closed krassowski closed 5 months ago

krassowski commented 5 months ago
Run pytest _site/ --check-links \
ERROR: found no collectors for /home/runner/work/jupyter.github.io/jupyter.github.io/_site

============================= test session starts ==============================
platform linux -- Python 3.10.[12](https://github.com/jupyter/jupyter.github.io/actions/runs/9123919850/job/25093308431?pr=761#step:4:13), pytest-8.2.0, pluggy-1.5.0
rootdir: /
plugins: pytest_check_links-0.10.1
collected 0 items / 1 error

==================================== ERRORS ====================================
______________________________ ERROR collecting . ______________________________
../../../.local/lib/python3.10/site-packages/pluggy/_hooks.py:5[13](https://github.com/jupyter/jupyter.github.io/actions/runs/9123919850/job/25093308431?pr=761#step:4:14): in __call__
    return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
../../../.local/lib/python3.10/site-packages/pluggy/_manager.py:120: in _hookexec
    return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
../../../.local/lib/python3.10/site-packages/_pytest/python.py:[17](https://github.com/jupyter/jupyter.github.io/actions/runs/9123919850/job/25093308431?pr=761#step:4:18)9: in pytest_collect_directory
    if pkginit.is_file():
/usr/lib/python3.10/pathlib.py:1322: in is_file
    return S_ISREG(self.stat().st_mode)
/usr/lib/python3.10/pathlib.py:1097: in stat
    return self._accessor.stat(self, follow_symlinks=follow_symlinks)
E   PermissionError: [Errno 13] Permission denied: '/lost+found/__init__.py'
=============================== warnings summary ===============================
../../../.local/lib/python3.10/site-packages/_pytest/cacheprovider.py:461
  /home/runner/.local/lib/python3.10/site-packages/_pytest/cacheprovider.py:461: PytestCacheWarning: could not create cache path /.pytest_cache/v/cache/nodeids: [Errno 13] Permission denied: '/pytest-cache-files-xnfm3kj7'
    config.cache.set("cache/nodeids", sorted(self.cached_nodeids))

../../../.local/lib/python3.10/site-packages/_pytest/cacheprovider.py:413
  /home/runner/.local/lib/python3.10/site-packages/_pytest/cacheprovider.py:413: PytestCacheWarning: could not create cache path /.pytest_cache/v/cache/lastfailed: [Errno 13] Permission denied: '/pytest-cache-files-nuo44ojj'
    config.cache.set("cache/lastfailed", self.lastfailed)

../../../.local/lib/python3.10/site-packages/_pytest/stepwise.py:57
  /home/runner/.local/lib/python3.10/site-packages/_pytest/stepwise.py:57: PytestCacheWarning: could not create cache path /.pytest_cache/v/cache/stepwise: [Errno 13] Permission denied: '/pytest-cache-files-83w1zduu'
    session.config.cache.set(STEPWISE_CACHE_DIR, [])

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
ERROR ../../../../.. - PermissionError: [Errno 13] Permission denied: '/lost+found/__init__.py'
========================= 3 warnings, 1 error in 0.08s =========================