PyPI · pypi:pytest-mock
pytest-mock active
Thin-wrapper around the mock package for easier use with pytest
The latest stable version of pytest-mock is 3.17.0, published on 2026-10-17. Verified by Vigia on 2026-11-13.
| Latest stable version | 3.17.0 |
|---|---|
| Published | 2026-10-17 16:21:41 UTC |
| Install | pip install --upgrade pytest-mock |
| Requires | python >=3.10 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-11-13 04:57:49 UTC |
| Sources | pypi.org |
Maintenance
| Activity | active |
|---|---|
| Last stable release | 2026-10-17 16:21:41 UTC · 26 days ago |
| Stable releases in the last 12 months | 3 |
| Published versions | 69 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
3.17.0 | 2026-10-17 16:21:41 UTC |
3.16.1 | 2026-10-17 15:21:20 UTC |
3.16.0 | 2026-09-27 14:57:54 UTC |
3.15.1 | 2025-09-16 16:37:25 UTC |
3.15.0 | 2025-09-04 20:57:47 UTC |
3.14.1 | 2025-05-26 13:58:43 UTC |
3.14.0 | 2024-03-21 22:14:02 UTC |
3.13.0 | 2024-03-21 19:06:53 UTC |
3.12.0 | 2023-10-19 16:25:55 UTC |
3.11.1 | 2023-06-15 23:58:05 UTC |
3.11.0 | 2023-06-15 23:51:05 UTC |
3.10.0 | 2022-10-05 18:52:50 UTC |
3.9.0 | 2022-09-28 12:01:16 UTC |
3.8.2 | 2022-07-05 12:51:24 UTC |
3.8.1 | 2022-06-24 19:05:30 UTC |
3.8.0 | 2022-06-24 18:29:18 UTC |
3.7.0 | 2022-01-28 11:25:58 UTC |
3.6.1 | 2021-05-06 19:21:18 UTC |
3.6.0 | 2021-04-24 21:59:08 UTC |
3.5.1 | 2021-01-10 22:17:10 UTC |
Showing the 20 most recent of 69 versions. JSON
Version compatibility
Newest stable version that declares support for each runtime version (from the requirements published with each version).
| Runtime | Newest compatible version |
|---|---|
python 3.8 | 3.14.1 |
python 3.9 | 3.15.1 |
python 3.10 | 3.17.0 |
python 3.11 | 3.17.0 |
python 3.12 | 3.17.0 |
python 3.13 | 3.17.0 |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What is the latest version of pytest-mock?
The latest stable version of pytest-mock is 3.17.0, published on 2026-10-17. Verified by Vigia on 2026-11-13.
How do I install the latest version of pytest-mock?
Run pip install --upgrade pytest-mock. The latest stable version is 3.17.0 (verified 2026-11-13).
Is pytest-mock deprecated?
No. pytest-mock is not marked as deprecated in the registry.
Which Python version does pytest-mock require?
pytest-mock 3.17.0 declares this requirement: python >=3.10.
Does pytest-mock 3.17.0 have known vulnerabilities?
No known advisories affect pytest-mock 3.17.0 according to the data Vigia checks.
Is pytest-mock still maintained?
pytest-mock published 3 stable releases in the last 12 months; the most recent was 26 days ago. Activity: active.
Observed changes
- Sat Oct 17 2026 16:24:31 GM +0000 (Coordinated Universal Time) — released 3.16.1 → 3.17.0
- Sat Oct 17 2026 15:25:18 GM +0000 (Coordinated Universal Time) — released 3.16.0 → 3.16.1
- Sat Oct 17 2026 15:24:19 GM +0000 (Coordinated Universal Time) — released 3.16.1 → 3.16.0
- Sat Oct 17 2026 15:23:17 GM +0000 (Coordinated Universal Time) — released 3.16.0 → 3.16.1
Related packages
- pytest-timeout
- brotli
- awswrangler
- setuptools-scm
- databricks-sdk
- pymupdf
- marshmallow
- cachecontrol
- watchdog
- nest-asyncio
- debugpy
- aioitertools
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/pypi/pytest-mock) [](https://vigia.coredls.cloud/pypi/pytest-mock) [](https://vigia.coredls.cloud/pypi/pytest-mock)
For agents
GET https://vigia.coredls.cloud/v1/packages/pypi/pytest-mock
GET https://vigia.coredls.cloud/v1/packages/pypi/pytest-mock/versions/{version}