chore: upgrade all Python packages and fix linting issues
- Update all dependencies to latest versions (fastmcp, httpx, packaging, etc.) - Downgrade click from yanked 8.2.2 to stable 8.1.7 - Fix code formatting and linting issues with ruff - Most tests passing (2 test failures in dependency resolver need investigation)
This commit is contained in:
parent
503ea589f1
commit
8b43927493
34 changed files with 2276 additions and 1593 deletions
|
|
@ -117,12 +117,29 @@ class DependencyParser:
|
|||
Dictionary with categorized dependencies
|
||||
"""
|
||||
categories = {"runtime": [], "development": [], "optional": {}, "extras": {}}
|
||||
|
||||
|
||||
# Define development-related extra names
|
||||
dev_extra_names = {
|
||||
'dev', 'development', 'test', 'testing', 'tests', 'lint', 'linting',
|
||||
'doc', 'docs', 'documentation', 'build', 'check', 'cover', 'coverage',
|
||||
'type', 'typing', 'mypy', 'style', 'format', 'quality'
|
||||
"dev",
|
||||
"development",
|
||||
"test",
|
||||
"testing",
|
||||
"tests",
|
||||
"lint",
|
||||
"linting",
|
||||
"doc",
|
||||
"docs",
|
||||
"documentation",
|
||||
"build",
|
||||
"check",
|
||||
"cover",
|
||||
"coverage",
|
||||
"type",
|
||||
"typing",
|
||||
"mypy",
|
||||
"style",
|
||||
"format",
|
||||
"quality",
|
||||
}
|
||||
|
||||
for req in requirements:
|
||||
|
|
@ -141,7 +158,7 @@ class DependencyParser:
|
|||
if extra_name not in categories["extras"]:
|
||||
categories["extras"][extra_name] = []
|
||||
categories["extras"][extra_name].append(req)
|
||||
|
||||
|
||||
# Check if this extra is development-related
|
||||
if extra_name.lower() in dev_extra_names:
|
||||
categories["development"].append(req)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue