PyPI · pypi:pytest-mock
pytest-mock 活跃
Thin-wrapper around the mock package for easier use with pytest
pytest-mock 的最新稳定版本是 3.17.0,发布于 2026-10-17。Vigia 于 2026-11-13 核实。
| 最新稳定版本 | 3.17.0 |
|---|---|
| 发布时间 | 2026-10-17 16:21:41 UTC |
| 安装 | pip install --upgrade pytest-mock |
| 运行要求 | python >=3.10 |
| 许可证 | MIT |
| 最新版本的安全公告 | 暂无已知 |
| 最近核实 | 2026-11-13 15:58:06 UTC |
| 来源 | pypi.org |
维护情况
| 活跃度 | 活跃 |
|---|---|
| 最近的稳定版本 | 2026-10-17 16:21:41 UTC · 27 天前 |
| 过去 12 个月的稳定版本数 | 3 |
| 已发布版本数 | 69 |
仅根据发布时间估算,不反映对 issue 或安全问题的响应速度。
版本历史
| 版本 | 发布时间 |
|---|---|
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 |
显示 69 个版本中最新的 20 个。 JSON
版本兼容性
声明支持各运行时版本的最新稳定版本(依据每个版本发布的要求)。
| 运行时 | 最新兼容版本 |
|---|---|
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 |
把这些数据交给你的 AI 智能体
Vigia 是免费的 MCP 服务器:你的编程智能体在写代码之前就能检查版本、不兼容变更和安全漏洞。无需注册,无需 API 密钥。
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
添加到 Cursor添加到 VS Code★ 在 GitHub 上加星
任何其他 MCP 客户端
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }常见问题
pytest-mock 的最新版本是什么?
pytest-mock 的最新稳定版本是 3.17.0,发布于 2026-10-17。Vigia 于 2026-11-13 核实。
如何安装 pytest-mock 的最新版本?
运行 pip install --upgrade pytest-mock。最新稳定版本是 3.17.0(2026-11-13 核实)。
pytest-mock 是否已弃用?
否。注册表中 pytest-mock 未被标记为已弃用。
pytest-mock 需要哪个版本的 Python?
pytest-mock 3.17.0 声明的要求为:python >=3.10。
pytest-mock 3.17.0 是否存在已知漏洞?
根据 Vigia 检查的数据,没有已知安全公告影响 pytest-mock 3.17.0。
pytest-mock 是否仍在维护?
pytest-mock 在过去 12 个月内发布了 3 个稳定版本,最近一次在 27 天前。活跃度:活跃。
观察到的变更
- 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
相关软件包
- brotli
- pytest-timeout
- awswrangler
- setuptools-scm
- pymupdf
- databricks-sdk
- cachecontrol
- marshmallow
- nest-asyncio
- watchdog
- aioitertools
- debugpy
用于 README 的徽章
展示此软件包的最新版本、维护状态以及是否已弃用。复制 Markdown:
[](https://vigia.coredls.cloud/pypi/pytest-mock) [](https://vigia.coredls.cloud/pypi/pytest-mock) [](https://vigia.coredls.cloud/pypi/pytest-mock)
供智能体使用
GET https://vigia.coredls.cloud/v1/packages/pypi/pytest-mock
GET https://vigia.coredls.cloud/v1/packages/pypi/pytest-mock/versions/{version}