mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-09 15:19:10 +02:00
Add minimum-test dependency group for testing without dev deps
This dependency group includes only the minimal pytest tools needed to run tests, excluding all dev tools and optional dependencies. This enables testing that catches missing runtime dependencies. Co-authored-by: Bill Easton <strawgate@users.noreply.github.com>
This commit is contained in:
parent
2eac7ab1d1
commit
bed2297af4
2 changed files with 21 additions and 0 deletions
|
|
@ -55,6 +55,15 @@ openai = ["openai>=1.102.0"]
|
|||
tasks = ["pydocket>=0.16.4"]
|
||||
|
||||
[dependency-groups]
|
||||
# Minimal test dependencies for validating that runtime dependencies are correctly declared
|
||||
# This intentionally excludes dev tools and optional dependencies to catch missing deps
|
||||
minimum-test = [
|
||||
"pytest>=8.3.3",
|
||||
"pytest-asyncio>=1.2.0",
|
||||
"pytest-env>=1.1.5",
|
||||
"pytest-timeout>=2.4.0",
|
||||
]
|
||||
|
||||
dev = [
|
||||
"dirty-equals>=0.9.0",
|
||||
"fastmcp[anthropic,openai,tasks]",
|
||||
|
|
|
|||
12
uv.lock
generated
12
uv.lock
generated
|
|
@ -747,6 +747,12 @@ dev = [
|
|||
{ name = "ruff" },
|
||||
{ name = "ty" },
|
||||
]
|
||||
minimum-test = [
|
||||
{ name = "pytest" },
|
||||
{ name = "pytest-asyncio" },
|
||||
{ name = "pytest-env" },
|
||||
{ name = "pytest-timeout" },
|
||||
]
|
||||
|
||||
[package.metadata]
|
||||
requires-dist = [
|
||||
|
|
@ -803,6 +809,12 @@ dev = [
|
|||
{ name = "ruff", specifier = ">=0.12.8" },
|
||||
{ name = "ty", specifier = ">=0.0.7" },
|
||||
]
|
||||
minimum-test = [
|
||||
{ name = "pytest", specifier = ">=8.3.3" },
|
||||
{ name = "pytest-asyncio", specifier = ">=1.2.0" },
|
||||
{ name = "pytest-env", specifier = ">=1.1.5" },
|
||||
{ name = "pytest-timeout", specifier = ">=2.4.0" },
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "googleapis-common-protos"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue