pytest-timeout
pytest plugin to abort hanging tests
2.4.0
103M downloads/mo
#334 most downloaded on PyPI
pytest-dev/pytest-timeout
What this package is like to depend on
Last release 4 days ago
16 Aug 2026
Release timing varies
gaps range from 4 weeks to 1.7 years
This project publishes no release notes
the list below is its commits, not an announcement
2 versions withdrawn
withdrawn after publishing
14 years old
24 releases · first in 2012
1 release in the last 12 months
see the full history below
Release timeline
24 releases · Feb 2012 to Aug 2026Releases
latest 24-
2.5.016 Aug 2026 withdrawnaccidental breaking change (probably)
Commits, not release notes
This project publishes no release notes. Between
2.4.0and2.5.0there were 9 commits, 8 of them substantive:- add support python3.13 and 3.14
- delete python3.7 checks in CI and tox
- minimum python3.10 and pytest8.0 (#192)
- add ruff and typos linters, drop black/isort/flake8 (#195)
- remove pytest_exception_interact hook (#197)
- declare timeout ini options as float (#200)
- fix: read timeout_disable_debugger_detection from ini file (#199)
- Drop support for pypy
-
2.4.005 May 2025Commits, not release notes
This project publishes no release notes. Between
2.3.1and2.4.0there were 7 commits, 6 of them substantive:- Add missing Python 3.12 trove classifier
- Update README.rst with pytest-xdist 3.0.2 news
- Add support sys.monitoring
- Change error message to clearly relate it to pytest-timeout (#180)
- Prepare release
- Add python 3.13
-
2.3.107 Mar 2024Commits, not release notes
This project publishes no release notes. Between
2.2.0and2.3.1there were 24 commits, 22 of them substantive:- Fix is_debugging for pydevd with cython (#146)
- docs: add a warning about using
timeout_func_only = truein INI alongside withpytest.markon a test (#160) - Switch to using Pytest's terminal reporter
- Update tests
- Pytest 7.0 is now the minimum version required
- test Python 3.12
- add --suite-timeout
- switch to seconds
- recommended flub changes
- gate logic to once per test
- try to run hook first
- add suite timeout to header, linting fix.
- move suite timeout to pytest_runtest_protocol
- suite-timeout -> session-timeout
- extend test_header to include session timeout. Make test_session_timeout more clear.
- docs + config setting support + test mod
- docs update
- readme
- describe session timeout better
- Tweak docs a little
…and 2 more.
-
2.2.008 Oct 2023Commits, not release notes
This project publishes no release notes. Between
2.1.0and2.2.0there were 24 commits, 16 of them substantive:- Fix typo in README
- Fix linting (#118)
- Remove linting CI job, use pre-commit.ci instead (#119)
- Fix typos (#121)
- Update _validate_func_only to return None so it can utilize the environment default
- Add unit test
- Fix typos
- Simplify handling of
func_only - Milder language on README
- add --disable-debugger-detection flag
- better cli option name
- remove marker support, update description
- Added Python 3.11
- update python versions
- Add a pyproject.toml and setup.cfg
- version bump
-
2.1.018 Jan 2022Commits, not release notes
This project publishes no release notes. Between
2.0.2and2.1.0there were 6 commits, 6 of them substantive:- Replace deprecated py.io.get_terminal_width() with shutil.get_terminal_size() (#116)
- Add changelog
- module names, they're difficult
- Add custom hooks specifications for overriding setup_timeout and teardown_timeout methods (#117)
- \2.1.0 release
- Fixup readme
-
2.0.213 Dec 2021Commits, not release notes
This project publishes no release notes. Between
2.0.1and2.0.2there were 8 commits, 6 of them substantive:- Document timeout_func_only
- fix tests on py3.6 and lint on 3.9 (#108)
- clarify "it" ambiguity in
signaldocumentation - Github removed the git protocol (#112)
- Making detection of whether a debugger is currently attached more flexible. (#111)
- Prep release
-
2.0.111 Oct 2021Commits, not release notes
This project publishes no release notes. Between
2.0.0and2.0.1there were 6 commits, 3 of them substantive:- Add support for Python 3.10 (#102)
- fix: add setuptools python_requires check
- Update setup.py
-
2.0.010 Oct 2021 withdrawnBroke python 2 installs
Commits, not release notes
This project publishes no release notes. Between
1.4.2and2.0.0there were 25 commits, 23 of them substantive:- pbd -> pdb
- Skip test_cov if pytest-cov is not installed
- Make tests slow again
- Scare people away
- Make black happy
- Attempt to improve the readablilty of the quick start
- Tweak help description based on issue #61
- Reword the intro text a bit
- Fix rst
- Drop support for EOL Python 2.7 and 3.5
- pre-commit autoupdate
- Drop support for EOL Python 2.7 and 3.5
- Drop the dot https://twitter.com/pytestdotorg/status/753767547866972160
- Set Git to use LF to fix linting on Windows
- Support Python 3.9.
- Annotate test failures in CI.
- switch to thread timeout method when not on main-thread (#88)
- Increase pytest requirment to >=5.0.0 (#92)
- Improves code highlighting (#95)
- Fixed PyCharm debugger timeouts (#99)
…and 3 more.
-
1.4.215 Jul 2020Commits, not release notes
This project publishes no release notes. Between
1.4.1and1.4.2there were 7 commits, 7 of them substantive:- Speed up test suite by using fractional timeouts
- Give some more time to install the debugger
- Fix linting
- Add test run using pre-releases
- Fix compatibility with pytest prereleases
- Fix is_debugging function
- Prepare next release
-
1.4.115 Jun 2020Nothing published for this version
-
1.4.014 Jun 2020Nothing published for this version
-
1.3.406 Jan 2020Nothing published for this version
-
1.3.316 Nov 2018Nothing published for this version
-
1.3.227 Aug 2018Nothing published for this version
-
1.3.123 Jul 2018Nothing published for this version
-
1.3.013 Jun 2018Nothing published for this version
-
1.2.128 Nov 2017Nothing published for this version
-
1.2.010 Nov 2016Nothing published for this version
-
1.0.015 Nov 2015Nothing published for this version
-
0.514 Aug 2015Nothing published for this version
-
0.405 Aug 2014Nothing published for this version
-
0.318 Sep 2012Nothing published for this version
-
0.217 Mar 2012Nothing published for this version
-
0.127 Feb 2012Nothing published for this version