Skip to content
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

Check links is failing #762

Closed
krassowski opened this issue May 17, 2024 · 0 comments · Fixed by #763
Closed

Check links is failing #762

krassowski opened this issue May 17, 2024 · 0 comments · Fixed by #763
Labels

Comments

@krassowski
Copy link
Member

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 =========================
@krassowski krassowski added the bug label May 17, 2024
@krassowski krassowski linked a pull request May 26, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant