{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/3"},{"label":"Testing","url":"https://skillfed.io/packages/category/software-development-testing"}],"enrichment":{"capability":"A pytest plugin that enforces separate timeout limits on the setup, execution, and teardown phases of individual tests using SIGALRM signals on Linux.","skillfed_tags":["linux-only","abandoned"],"use_cases":["Enforce maximum duration for test setup operations (database connections, fixture initialization) separately from the test body.","Catch tests that hang during teardown (resource cleanup) without timing out the actual test execution.","Set different timeout thresholds for slow integration tests versus fast unit tests using pytest markers.","Debug test hangs by disabling timeouts when running under PDB without removing timeout configuration."],"what_it_does":"pytest-timeouts is a pytest plugin that lets you set independent timeout limits for the setup, execution, and teardown phases of a test case. Unlike generic test timeouts, it breaks down test lifecycle into three stages and allows you to control each one separately via command-line options, pytest.ini configuration, or per-test markers. It uses SIGALRM signals to enforce these limits and disables timeouts when running under a debugger.\n\nThe plugin is Linux-only and has been abandoned since 2019 with no active maintenance. It supports Python 2.7 and Python 3.4 and later, but has not been updated to track changes in pytest or Python's evolution. If you need phase-level timeout control on Linux and can accept the risk of an unmaintained dependency, it may still work; otherwise, consider whether a more actively maintained timeout solution fits your needs.","worth_installing":"No, unless you have a specific Linux-only use case that requires phase-level timeout control and can tolerate an unmaintained package. The plugin has not been updated since 2019, and there is no active maintenance or security support. For most projects, a maintained timeout plugin or pytest's built-in timeout mechanisms are safer choices."},"id":"pytest-timeouts","links":{"html":"https://skillfed.io/packages/pytest-timeouts","md":"https://skillfed.io/packages/pytest-timeouts.md","pypi":"https://pypi.org/project/pytest-timeouts/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2019-09-21","license_spdx":null,"license_treatment":"permissive","name":"pytest-timeouts","python_support":"supports_current","summary":"Linux-only Pytest plugin to control durations of various test case execution phases"},"popularity":{"monthly_downloads":3718049,"position":2517,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.2.1"}
