{ "info": { "author": "pytest-dev", "author_email": "pytest-dev@python.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 7 - Inactive", "Framework :: Pytest", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: MacOS :: MacOS X", "Operating System :: POSIX", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Topic :: Software Development :: Quality Assurance", "Topic :: Software Development :: Testing", "Topic :: Utilities" ], "description": "pytest-forked: run each test in a forked subprocess\n====================================================\n\n\n.. warning::\n\n\tthis is a extraction of the xdist --forked module,\n\tfuture maintenance beyond the bare minimum is not planned until a new maintainer is found.\n\n\nThis plugin **does not work on Windows** because there's no ``fork`` support.\n\n\n* ``--forked``: run each test in a forked\n subprocess to survive ``SEGFAULTS`` or otherwise dying processes.\n\n|python| |version| |ci| |pre-commit| |black|\n\n.. |version| image:: http://img.shields.io/pypi/v/pytest-forked.svg\n :target: https://pypi.python.org/pypi/pytest-forked\n\n.. |ci| image:: https://github.com/pytest-dev/pytest-forked/workflows/build/badge.svg\n :target: https://github.com/pytest-dev/pytest-forked/actions\n\n.. |python| image:: https://img.shields.io/pypi/pyversions/pytest-forked.svg\n :target: https://pypi.python.org/pypi/pytest-forked/\n\n.. |black| image:: https://img.shields.io/badge/code%20style-black-000000.svg\n :target: https://github.com/ambv/black\n\n.. |pre-commit| image:: https://results.pre-commit.ci/badge/github/pytest-dev/pytest-forked/master.svg\n :target: https://results.pre-commit.ci/latest/github/pytest-dev/pytest-forked/master\n\nInstallation\n-----------------------\n\nInstall the plugin with::\n\n pip install pytest-forked\n\nor use the package in develope/in-place mode with\na checkout of the `pytest-forked repository`_ ::\n\n pip install -e .\n\n\nUsage examples\n---------------------\n\nIf you have tests involving C or C++ libraries you might have to deal\nwith tests crashing the process. For this case you may use the boxing\noptions::\n\n pytest --forked\n\nwhich will run each test in a subprocess and will report if a test\ncrashed the process. You can also combine this option with\nrunning multiple processes via pytest-xdist to speed up the test run\nand use your CPU cores::\n\n pytest -n3 --forked\n\nthis would run 3 testing subprocesses in parallel which each\ncreate new forked subprocesses for each test.\n\n\nYou can also fork for individual tests::\n\n @pytest.mark.forked\n def test_with_leaky_state():\n run_some_monkey_patches()\n\n\nThis test will be unconditionally boxed, regardless of CLI flag.\n\n\n.. _`pytest-forked repository`: https://github.com/pytest-dev/pytest-forked\n\n\n", "description_content_type": "text/x-rst", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/pytest-dev/pytest-forked", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pytest-forked", "package_url": "https://pypi.org/project/pytest-forked/", "platform": "linux", "project_url": "https://pypi.org/project/pytest-forked/", "project_urls": { "Homepage": "https://github.com/pytest-dev/pytest-forked" }, "release_url": "https://pypi.org/project/pytest-forked/1.4.0/", "requires_dist": [ "py", "pytest (>=3.10)" ], "requires_python": ">=3.6", "summary": "run tests in isolated forked subprocesses", "version": "1.4.0", "yanked": false, "yanked_reason": null }, "last_serial": 12268524, "releases": { "0.2": [ { "comment_text": "", "digests": { "md5": "b7c663a158ed861f7c4faa4edc45225d", "sha256": "f275cb48a73fc61a6710726348e1da6d68a978f0ec0c54ece5a5fae5977e5a08" }, "downloads": -1, "filename": "pytest_forked-0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b7c663a158ed861f7c4faa4edc45225d", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6086, "upload_time": "2017-08-04T18:59:16", "upload_time_iso_8601": "2017-08-04T18:59:16.102249Z", "url": "https://files.pythonhosted.org/packages/dd/9d/fb75af584b850a902c9ce5ec96ea5c623978113b8a240ab414e1a435df93/pytest_forked-0.2-py2.py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "133167c9c56c9121c80852f9cd702140", "sha256": "e4500cd0509ec4a26535f7d4112a8cc0f17d3a41c29ffd4eab479d2a55b30805" }, "downloads": -1, "filename": "pytest-forked-0.2.tar.gz", "has_sig": false, "md5_digest": "133167c9c56c9121c80852f9cd702140", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9617, "upload_time": "2017-08-04T18:59:19", "upload_time_iso_8601": "2017-08-04T18:59:19.107355Z", "url": "https://files.pythonhosted.org/packages/b3/b2/1ec910b0f798cc86f2531631d7a2da030b16c165e07545537332fd4eb505/pytest-forked-0.2.tar.gz", "yanked": false, "yanked_reason": null } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "48d8b3644f3a7e4f1483a2702118079e", "sha256": "8d05c2e6f33cd4422571b2b1bb309720c398b0549cff499e3e4cde661875ab54" }, "downloads": -1, "filename": "pytest_forked-1.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "48d8b3644f3a7e4f1483a2702118079e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4174, "upload_time": "2019-01-11T20:48:11", "upload_time_iso_8601": "2019-01-11T20:48:11.379675Z", "url": "https://files.pythonhosted.org/packages/b0/2a/99ec2a8a26c0a911f76ec2a9461ff0e0d97b5b7bd3282de57eca947f39fc/pytest_forked-1.0.1-py2.py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "bf456baf7bd101ad4cd3e92ac8508706", "sha256": "260d03fbd38d5ce41a657759e8d19bc7c8cfa6d0dcfa36c0bc9742d33bc30742" }, "downloads": -1, "filename": "pytest-forked-1.0.1.tar.gz", "has_sig": false, "md5_digest": "bf456baf7bd101ad4cd3e92ac8508706", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6751, "upload_time": "2019-01-11T20:48:12", "upload_time_iso_8601": "2019-01-11T20:48:12.895422Z", "url": "https://files.pythonhosted.org/packages/26/87/f29282b43dd9c0207d977bd5d65ebd8d2f4e9622c62c0ee4cc763cda4e76/pytest-forked-1.0.1.tar.gz", "yanked": false, "yanked_reason": null } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "d80c4e26056d72095502b2a726bbab9e", "sha256": "5fe33fbd07d7b1302c95310803a5e5726a4ff7f19d5a542b7ce57c76fed8135f" }, "downloads": -1, "filename": "pytest_forked-1.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d80c4e26056d72095502b2a726bbab9e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4221, "upload_time": "2019-02-15T11:50:33", "upload_time_iso_8601": "2019-02-15T11:50:33.493268Z", "url": "https://files.pythonhosted.org/packages/3f/55/ef92c340e723495dbee91d749903d2b7950b49c501943296257246d7d880/pytest_forked-1.0.2-py2.py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "03602b9ef5277b70086d0697e0a45838", "sha256": "d352aaced2ebd54d42a65825722cb433004b4446ab5d2044851d9cc7a00c9e38" }, "downloads": -1, "filename": "pytest-forked-1.0.2.tar.gz", "has_sig": false, "md5_digest": "03602b9ef5277b70086d0697e0a45838", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6809, "upload_time": "2019-02-14T16:13:56", "upload_time_iso_8601": "2019-02-14T16:13:56.493070Z", "url": "https://files.pythonhosted.org/packages/30/be/cb5dc4f0fa5ba121943305f4f235dc1a30fae53daac20094ab89f4618578/pytest-forked-1.0.2.tar.gz", "yanked": false, "yanked_reason": null } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "5ceeca1a903c581f6e1754dbacc910c0", "sha256": "37d5b1c16f3f0e9910265168cf91e6510009714d8a11a671c9c2f9408a76d560" }, "downloads": -1, "filename": "pytest-forked-1.1.0.tar.gz", "has_sig": false, "md5_digest": "5ceeca1a903c581f6e1754dbacc910c0", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 7142, "upload_time": "2019-10-10T19:43:51", "upload_time_iso_8601": "2019-10-10T19:43:51.451540Z", "url": "https://files.pythonhosted.org/packages/29/1c/bec803938ecd9fa35d2425e48fe9d6792d7ce18769ad2866becaa3b87df8/pytest-forked-1.1.0.tar.gz", "yanked": false, "yanked_reason": null } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "b05dfa97dcd227232f95289e62671077", "sha256": "e2d46f319c8063a3a0536b18f9cdea6eea3bc9fe2cb16c94e1d6fad3abc37300" }, "downloads": -1, "filename": "pytest-forked-1.1.1.tar.gz", "has_sig": false, "md5_digest": "b05dfa97dcd227232f95289e62671077", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 7190, "upload_time": "2019-10-10T20:10:26", "upload_time_iso_8601": "2019-10-10T20:10:26.063663Z", "url": "https://files.pythonhosted.org/packages/ae/9c/8f0c51c98ee5165ff575f196662a4a314ff07c9d3de64a94580c982edcee/pytest-forked-1.1.1.tar.gz", "yanked": false, "yanked_reason": null } ], "1.1.2": [ { "comment_text": "", "digests": { "md5": "c017e78adf696f877b50fc6f193c8b4b", "sha256": "6d1c9052f5dd766a7cb2f8947fef7d32b6bbaf9aaea8cd971a1f84d257253498" }, "downloads": -1, "filename": "pytest-forked-1.1.2.tar.gz", "has_sig": false, "md5_digest": "c017e78adf696f877b50fc6f193c8b4b", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 7304, "upload_time": "2019-10-22T15:56:06", "upload_time_iso_8601": "2019-10-22T15:56:06.463907Z", "url": "https://files.pythonhosted.org/packages/35/57/f027e004e3db19c038c12dd96c8f28ee52561c9a7edfe4e893660dd62de9/pytest-forked-1.1.2.tar.gz", "yanked": false, "yanked_reason": null } ], "1.1.3": [ { "comment_text": "", "digests": { "md5": "6b164072c48d9e516b0524b93713fdb9", "sha256": "1ae25dba8ee2e56fb47311c9638f9e58552691da87e82d25b0ce0e4bf52b7d87" }, "downloads": -1, "filename": "pytest_forked-1.1.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "6b164072c48d9e516b0524b93713fdb9", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 4463, "upload_time": "2019-10-22T16:13:20", "upload_time_iso_8601": "2019-10-22T16:13:20.981709Z", "url": "https://files.pythonhosted.org/packages/03/1e/81235e1fcfed57a4e679d34794d60c01a1e9a29ef5b9844d797716111d80/pytest_forked-1.1.3-py2.py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "7d507e84bf9d59182fd528f48fcae8cc", "sha256": "1805699ed9c9e60cb7a8179b8d4fa2b8898098e82d229b0825d8095f0f261100" }, "downloads": -1, "filename": "pytest-forked-1.1.3.tar.gz", "has_sig": false, "md5_digest": "7d507e84bf9d59182fd528f48fcae8cc", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 7308, "upload_time": "2019-10-22T16:13:22", "upload_time_iso_8601": "2019-10-22T16:13:22.088171Z", "url": "https://files.pythonhosted.org/packages/43/b4/d0efa1748880e24aaaf8343825138ed5460b8e260e84ac73ef4415e1d1d4/pytest-forked-1.1.3.tar.gz", "yanked": false, "yanked_reason": null } ], "1.2.0": [ { "comment_text": "", "digests": { "md5": "30a77642dcf55a20af541f6f379c4376", "sha256": "42a438336731465c5bd76ab38e1645647ac55914a08b507efbabe8783a08aa6c" }, "downloads": -1, "filename": "pytest_forked-1.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "30a77642dcf55a20af541f6f379c4376", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 4662, "upload_time": "2020-06-25T13:23:32", "upload_time_iso_8601": "2020-06-25T13:23:32.004811Z", "url": "https://files.pythonhosted.org/packages/cb/9e/042a670001fb67f4e454cab96fef5fe65eed8d196e705c01461aeee33dab/pytest_forked-1.2.0-py2.py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "fe8839eab56c2186f90ef085f1ec86e8", "sha256": "65f96334863d9cbe53d21f73e8febc4dd61b8d1fdcac7b487d9af07a5d02a938" }, "downloads": -1, "filename": "pytest-forked-1.2.0.tar.gz", "has_sig": false, "md5_digest": "fe8839eab56c2186f90ef085f1ec86e8", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 9533, "upload_time": "2020-06-25T13:23:33", "upload_time_iso_8601": "2020-06-25T13:23:33.270827Z", "url": "https://files.pythonhosted.org/packages/29/25/d90af7cea876d104c6dc72400179894bc278c0e6aa81929aff054eb690d2/pytest-forked-1.2.0.tar.gz", "yanked": false, "yanked_reason": null } ], "1.3.0": [ { "comment_text": "", "digests": { "md5": "3bf024234f619cbea87b7c93388c910c", "sha256": "dc4147784048e70ef5d437951728825a131b81714b398d5d52f17c7c144d8815" }, "downloads": -1, "filename": "pytest_forked-1.3.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "3bf024234f619cbea87b7c93388c910c", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 4706, "upload_time": "2020-07-27T19:50:10", "upload_time_iso_8601": "2020-07-27T19:50:10.118833Z", "url": "https://files.pythonhosted.org/packages/9d/88/77eeb091b4fa79f28c08718f6e6ebff5827d9d1c1dd9974218ddfbe031ee/pytest_forked-1.3.0-py2.py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "7de04c46b48ca5c5a24e45bf1546355f", "sha256": "6aa9ac7e00ad1a539c41bec6d21011332de671e938c7637378ec9710204e37ca" }, "downloads": -1, "filename": "pytest-forked-1.3.0.tar.gz", "has_sig": false, "md5_digest": "7de04c46b48ca5c5a24e45bf1546355f", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", "size": 9850, "upload_time": "2020-07-27T19:50:11", "upload_time_iso_8601": "2020-07-27T19:50:11.441735Z", "url": "https://files.pythonhosted.org/packages/62/92/2d418d7b0c9d68a2e885b66d7f6805f9678ce56ad2b3a77669437b2d139a/pytest-forked-1.3.0.tar.gz", "yanked": false, "yanked_reason": null } ], "1.4.0": [ { "comment_text": "", "digests": { "md5": "bf0249039fb39cb7d6af60f09957e61d", "sha256": "bbbb6717efc886b9d64537b41fb1497cfaf3c9601276be8da2cccfea5a3c8ad8" }, "downloads": -1, "filename": "pytest_forked-1.4.0-py3-none-any.whl", "has_sig": false, "md5_digest": "bf0249039fb39cb7d6af60f09957e61d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 4885, "upload_time": "2021-12-10T15:43:18", "upload_time_iso_8601": "2021-12-10T15:43:18.903487Z", "url": "https://files.pythonhosted.org/packages/0c/36/c56ef2aea73912190cdbcc39aaa860db8c07c1a5ce8566994ec9425453db/pytest_forked-1.4.0-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "fc2d4bb78f3a5e7c082173527d5009d3", "sha256": "8b67587c8f98cbbadfdd804539ed5455b6ed03802203485dd2f53c1422d7440e" }, "downloads": -1, "filename": "pytest-forked-1.4.0.tar.gz", "has_sig": false, "md5_digest": "fc2d4bb78f3a5e7c082173527d5009d3", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 10197, "upload_time": "2021-12-10T15:43:19", "upload_time_iso_8601": "2021-12-10T15:43:19.979635Z", "url": "https://files.pythonhosted.org/packages/f1/bc/0121a2e386b261b69f4f5aa48e5304c947451dce70d68628cb28d5cd0d28/pytest-forked-1.4.0.tar.gz", "yanked": false, "yanked_reason": null } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "bf0249039fb39cb7d6af60f09957e61d", "sha256": "bbbb6717efc886b9d64537b41fb1497cfaf3c9601276be8da2cccfea5a3c8ad8" }, "downloads": -1, "filename": "pytest_forked-1.4.0-py3-none-any.whl", "has_sig": false, "md5_digest": "bf0249039fb39cb7d6af60f09957e61d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 4885, "upload_time": "2021-12-10T15:43:18", "upload_time_iso_8601": "2021-12-10T15:43:18.903487Z", "url": "https://files.pythonhosted.org/packages/0c/36/c56ef2aea73912190cdbcc39aaa860db8c07c1a5ce8566994ec9425453db/pytest_forked-1.4.0-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "fc2d4bb78f3a5e7c082173527d5009d3", "sha256": "8b67587c8f98cbbadfdd804539ed5455b6ed03802203485dd2f53c1422d7440e" }, "downloads": -1, "filename": "pytest-forked-1.4.0.tar.gz", "has_sig": false, "md5_digest": "fc2d4bb78f3a5e7c082173527d5009d3", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 10197, "upload_time": "2021-12-10T15:43:19", "upload_time_iso_8601": "2021-12-10T15:43:19.979635Z", "url": "https://files.pythonhosted.org/packages/f1/bc/0121a2e386b261b69f4f5aa48e5304c947451dce70d68628cb28d5cd0d28/pytest-forked-1.4.0.tar.gz", "yanked": false, "yanked_reason": null } ], "vulnerabilities": [] }