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
Hi, I would like to execute tests while packaging for Arch Linux. However, it seems that many tests connect to the production hub at huggingface.co and obviously fail without authentication. This leads to errors like
FAILED tests/test_cache_no_symlinks.py::TestCacheLayoutIfSymlinksNotSupported::test_download_no_symlink_existing_file - huggingface_hub.errors.RepositoryNotFoundError: 401 Client Error. (Request ID: Root=1-679d17ad-01f3bb1b69a02de07cc1430b;bf122663-13d4-4203-b238-2af7d50f7aae)
Repository Not Found for url: https://huggingface.co/julien-c/dummy-unknown/resolve/main/config.json.
Please make sure you specified the correct `repo_id` and `repo_type`.
If you are trying to access a private or gated repo, make sure you are authenticated.
Invalid credentials in Authorization header
Hi @lahwaacz can you retry with the latest version on main? We've fixed some auth issues in the tests this week which should have solved your problem: #2811. If errors persist, please let me know :)
And glad to hear about Arch packaging! Thanks for taking care of it 🤗
Hi, I would like to execute tests while packaging for Arch Linux. However, it seems that many tests connect to the production hub at huggingface.co and obviously fail without authentication. This leads to errors like
It seems that this is coming from
huggingface_hub/tests/testing_utils.py
Lines 218 to 221 in a733933
Can you add proper pytest markers such that I can easily deselect all production tests with something like
pytest -m "not production"
? 🙏The text was updated successfully, but these errors were encountered: