Skip to content

TST BUG: Tests fail in sandboxed environment #155

Open
@lovesegfault

Description

@lovesegfault

Almost all the tests fail inside a sandboxed build environment because they require network access for some reason. The error is always the same:

python3.10-sphinx-automodapi> Warning, treated as error:
python3.10-sphinx-automodapi> failed to reach any of the inventories with the following issues:
python3.10-sphinx-automodapi> intersphinx inventory 'https://docs.python.org/3/objects.inv' not fetchable due to <class 'requests.exceptions.ConnectionError'>: HTTPSConnectionPool(host='docs.python.org', port=443): Max retries exceeded with url: /3/objects.inv (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7ffff439d840>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))

I would appreciate it if there was a way to manually provide this objects.inv file, so that tests could still run without network access.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions