Releases: Quansight-Labs/pytest-run-parallel
Releases · Quansight-Labs/pytest-run-parallel
v0.8.0
What's Changed
- Update license infomation format in pyproject.toml by @hannesbraun in #142
- Fix typos discovered by codespell by @cclauss in #143
- Add a parallel_threads_limit mark by @ngoldbaum in #146
- Detect gc.collect and mark tests as thread unsafe by @lysnikolaou in #148
- Test on 3.15 and 3.15t on CI by @lysnikolaou in #150
- Deprecated parallel_threads marker when n>1 by @lysnikolaou in #149
- Raise helpful error when forever is combined with 0 selected tests by @lysnikolaou in #152
New Contributors
- @hannesbraun made their first contribution in #142
- @cclauss made their first contribution in #143
Full Changelog: v0.7.1...v0.8.0
v0.7.1
What's Changed
- Remove tox configuration and use uv in Github Actions by @lysnikolaou in #134
- Upgrade versions, remove tox from README, update maintainers by @lysnikolaou in #138
- Fix
--foreverinteraction with pytest-xdist by @Liam-DeVoe in #139
Full Changelog: v0.7.0...v0.7.1
v0.7.0
What's Changed
- Fix typo in option help by @nickodell in #117
- Move options to common group, and add help text for options by @nickodell in #118
- Create thread_id and iteration_id fixtures by @bwhitt7 in #119
- Add a reminder to run downstream tests before doing a release by @ngoldbaum in #116
- Treat warnings as errors in the tox configuration by @ngoldbaum in #126
- Patch tmp_path/tmpdir to be thread-safe by @bwhitt7 in #120
- globals and AST parsing exception handling by @bwhitt7 in #123
- Add option
--foreverto keep running tests in a never-ending loop by @lysnikolaou in #124 - Clarify limitations of patched fixtures in README by @bwhitt7 in #128
New Contributors
Full Changelog: v0.6.1...v0.7.0
v0.6.1
What's Changed
- Fix thread-unsafe detection for indented tests by @nickodell in #111
- Run coverage externally to load before plugins by @ngoldbaum in #113
New Contributors
- @nickodell made their first contribution in #111
Full Changelog: v0.6.0...v0.6.1
v0.6.0
What's Changed
- Support Python 3.14 by @ngoldbaum in #84
- Change hypothesis check to be version based by @tybug in #96
- Simplify CI and fix issues on 3.14 CI by @ngoldbaum in #99
- Handle functions with
__module__ is Noneby @tybug in #101 - Fail test suite when GIL is enabled dynamically at runtime by @lysnikolaou in #102
New Contributors
Full Changelog: v0.5.0...v0.6.0
v0.5.0
What's Changed
- Refactor plugin into multiple files by @lysnikolaou in #78
- Support chained attributes in thread unsafe detection by @lysnikolaou in #79
- Improvements to thread safety detection and implement disallowing whole modules by @lysnikolaou in #82
- Skip analyzing doctests and add num_parallel_threads fixture everywhere by @lysnikolaou in #90
- adjust terminal summary when skip-thread-unsafe is set by @ngoldbaum in #87
- Strip leading whitespace instead of dedent for test source code by @lysnikolaou in #91
- Avoid AttributeError in terminalsummary by @ngoldbaum in #94
- Rewrite pytest hooks as a class plugin by @lysnikolaou in #95
Full Changelog: v0.4.4...v0.5.0
v0.4.4
What's Changed
- Add tox job with psutil installed to run on CI by @lysnikolaou in #65
- Use markdown in README by @lysnikolaou in #67
- Remove cliff since we don't use it by @lysnikolaou in #66
- Remove docs directory by @lysnikolaou in #68
- Fix failures report when test is marked as thread-unsafe by @lysnikolaou in #71
- Add an option to skip thread-unsafe tests by @ngoldbaum in #74
Full Changelog: v0.4.3...v0.4.4
v0.4.3
What's Changed
- detect unitest.mock use and skip parallel tests for tests that use it by @ngoldbaum in #52
- attempt to fix 32 bit architectures by @ngoldbaum in #54
- Add monkeypatch to thread-unsafe fixtures by @lesteve in #58
- use an lru_cache to speed up recursive ast parsing by @ngoldbaum in #60
- Set switch interval in a loop with increasing numbers by @lysnikolaou in #63
- Fix tests on Linux when psutil is installed by @lesteve in #59
Full Changelog: v0.4.2...v0.4.3
v0.4.2
Minor pytest-run-parallel that includes some fixes left out on v0.4.1
What's Changed
- Upgrade gh-action-pypi-publish to fix metadata error by @lysnikolaou in #45
- Remove deprecated argument in pytest_report_collectionfinish by @andfoy in #48
- Report manually marked single-threaded tests by @andfoy in #49
- Detect unsafe calls that occur under assigments by @andfoy in #51
Full Changelog: v0.4.0...v0.4.2
v0.4.1
Minor pytest-run-parallel that fixes some issues regarding reports when tests have been manually marked as thread-unsafe via parallel_threads(1). It also fixes a regression related to blacklisted functions that occur under an assignment.
What's Changed
- Upgrade gh-action-pypi-publish to fix metadata error by @lysnikolaou in #45
- Remove deprecated argument in pytest_report_collectionfinish by @andfoy in #48
Full Changelog: v0.4.0...v0.4.1