{"id":17362534,"url":"https://github.com/domdfcoding/tox-isolation","last_synced_at":"2025-08-31T16:44:42.693Z","repository":{"id":52781620,"uuid":"309378109","full_name":"domdfcoding/tox-isolation","owner":"domdfcoding","description":"Runs pytest in isolation.","archived":false,"fork":false,"pushed_at":"2025-05-19T11:35:06.000Z","size":82,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-19T12:43:02.037Z","etag":null,"topics":["python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/domdfcoding.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":"CONTRIBUTING.rst","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-11-02T13:27:33.000Z","updated_at":"2025-05-19T11:35:10.000Z","dependencies_parsed_at":"2023-09-26T01:29:16.398Z","dependency_job_id":"aa41c6d0-8d62-40dc-b17a-f6af8a5c24a9","html_url":"https://github.com/domdfcoding/tox-isolation","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/domdfcoding/tox-isolation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/domdfcoding%2Ftox-isolation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/domdfcoding%2Ftox-isolation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/domdfcoding%2Ftox-isolation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/domdfcoding%2Ftox-isolation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/domdfcoding","download_url":"https://codeload.github.com/domdfcoding/tox-isolation/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/domdfcoding%2Ftox-isolation/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273010950,"owners_count":25030368,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-31T02:00:09.071Z","response_time":79,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["python"],"created_at":"2024-10-15T19:39:10.313Z","updated_at":"2025-08-31T16:44:42.659Z","avatar_url":"https://github.com/domdfcoding.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"##############\ntox-isolation\n##############\n\n.. start short_desc\n\n**Runs pytest in isolation.**\n\n.. end short_desc\n\n.. start shields\n\n.. list-table::\n\t:stub-columns: 1\n\t:widths: 10 90\n\n\t* - Tests\n\t  - |actions_linux| |actions_windows| |actions_macos| |coveralls|\n\t* - Activity\n\t  - |commits-latest| |commits-since| |maintained|\n\t* - QA\n\t  - |codefactor| |actions_flake8| |actions_mypy|\n\t* - Other\n\t  - |license| |language| |requires|\n\n.. |actions_linux| image:: https://github.com/domdfcoding/tox-isolation/workflows/Linux/badge.svg\n\t:target: https://github.com/domdfcoding/tox-isolation/actions?query=workflow%3A%22Linux%22\n\t:alt: Linux Test Status\n\n.. |actions_windows| image:: https://github.com/domdfcoding/tox-isolation/workflows/Windows/badge.svg\n\t:target: https://github.com/domdfcoding/tox-isolation/actions?query=workflow%3A%22Windows%22\n\t:alt: Windows Test Status\n\n.. |actions_macos| image:: https://github.com/domdfcoding/tox-isolation/workflows/macOS/badge.svg\n\t:target: https://github.com/domdfcoding/tox-isolation/actions?query=workflow%3A%22macOS%22\n\t:alt: macOS Test Status\n\n.. |actions_flake8| image:: https://github.com/domdfcoding/tox-isolation/workflows/Flake8/badge.svg\n\t:target: https://github.com/domdfcoding/tox-isolation/actions?query=workflow%3A%22Flake8%22\n\t:alt: Flake8 Status\n\n.. |actions_mypy| image:: https://github.com/domdfcoding/tox-isolation/workflows/mypy/badge.svg\n\t:target: https://github.com/domdfcoding/tox-isolation/actions?query=workflow%3A%22mypy%22\n\t:alt: mypy status\n\n.. |requires| image:: https://dependency-dash.repo-helper.uk/github/domdfcoding/tox-isolation/badge.svg\n\t:target: https://dependency-dash.repo-helper.uk/github/domdfcoding/tox-isolation/\n\t:alt: Requirements Status\n\n.. |coveralls| image:: https://img.shields.io/coveralls/github/domdfcoding/tox-isolation/master?logo=coveralls\n\t:target: https://coveralls.io/github/domdfcoding/tox-isolation?branch=master\n\t:alt: Coverage\n\n.. |codefactor| image:: https://img.shields.io/codefactor/grade/github/domdfcoding/tox-isolation?logo=codefactor\n\t:target: https://www.codefactor.io/repository/github/domdfcoding/tox-isolation\n\t:alt: CodeFactor Grade\n\n.. |license| image:: https://img.shields.io/github/license/domdfcoding/tox-isolation\n\t:target: https://github.com/domdfcoding/tox-isolation/blob/master/LICENSE\n\t:alt: License\n\n.. |language| image:: https://img.shields.io/github/languages/top/domdfcoding/tox-isolation\n\t:alt: GitHub top language\n\n.. |commits-since| image:: https://img.shields.io/github/commits-since/domdfcoding/tox-isolation/v0.0.0\n\t:target: https://github.com/domdfcoding/tox-isolation/pulse\n\t:alt: GitHub commits since tagged version\n\n.. |commits-latest| image:: https://img.shields.io/github/last-commit/domdfcoding/tox-isolation\n\t:target: https://github.com/domdfcoding/tox-isolation/commit/master\n\t:alt: GitHub last commit\n\n.. |maintained| image:: https://img.shields.io/maintenance/yes/2025\n\t:alt: Maintenance\n\n.. end shields\n\n\nUsage\n----------\n\n``tox-isolation`` runs pytest tests in isolation by copying the test directory into a temporary directory\nand running the tests from there. This prevents pytest from trying to use the source files for the project,\ninstead forcing it to use the version installed in the virtualenv by tox.\n\nThe files copied into the temporary directory are controlled bu the ``isolate_dirs`` option in the\n``testenv`` section of ``tox.ini``. This allows the files to be customised on a per-env basis.\nIf the option is undefined the isolation is disabled.\nRelative paths are taken to be relative to the current working directory.\n\n**Example:**\n\n.. code-block:: ini\n\n\t# tox.ini\n\n\t[testenv]\n\tdeps = -r{toxinidir}/tests/requirements.txt\n\tcommands = python -m pytest tests/ {posargs}\n\tisolate_dirs = {toxinidir}/tests\n\n\n\n\nInstallation\n--------------\n\n.. start installation\n\n``tox-isolation`` can be installed from GitHub.\n\nTo install with ``pip``:\n\n.. code-block:: bash\n\n\t$ python -m pip install git+https://github.com/domdfcoding/tox-isolation\n\n.. end installation\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdomdfcoding%2Ftox-isolation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdomdfcoding%2Ftox-isolation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdomdfcoding%2Ftox-isolation/lists"}