Skip to content

Commit db8235c

Browse files
authored
Merge pull request NVIDIA#210 from caius72/py314-support
Support Python 3.14
2 parents be503bb + a15d4c5 commit db8235c

5 files changed

Lines changed: 1638 additions & 873 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
strategy:
4040
fail-fast: false
4141
matrix:
42-
python-version: ["3.12", "3.13"]
42+
python-version: ["3.12", "3.13", "3.14"]
4343

4444
steps:
4545
- uses: actions/checkout@v4

‎docs/PI_EXTENSION.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ SkillSpector can be installed into Pi as a local package. The extension register
55
## Requirements
66

77
- Pi installed.
8-
- Python `>=3.12,<3.14`.
8+
- Python `>=3.12,<3.15`.
99
- `uv` recommended.
1010
- This repo checked out locally.
1111

‎pyproject.toml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ version = "2.3.7"
88
description = "SkillSpector: Security scanner for AI agent skills (Claude Code, Cursor, and similar). Scans skills for vulnerabilities, malicious patterns, and security risks before installation. Supports Git repos, URLs, zips, and local directories; runs static pattern checks and optional LLM semantic analysis; outputs terminal, JSON, and Markdown reports with risk scoring."
99
readme = "README.md"
1010
license = "Apache-2.0"
11-
requires-python = ">=3.12,<3.14"
11+
requires-python = ">=3.12,<3.15"
1212
keywords = [
1313
"security",
1414
"ai-agents",
@@ -25,6 +25,7 @@ classifiers = [
2525
"Programming Language :: Python :: 3",
2626
"Programming Language :: Python :: 3.12",
2727
"Programming Language :: Python :: 3.13",
28+
"Programming Language :: Python :: 3.14",
2829
"Topic :: Security",
2930
"Topic :: Software Development :: Quality Assurance",
3031
]

‎src/skillspector/__init__.py‎

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,23 @@
1515

1616
"""Skillspector v2 LangGraph workflow package."""
1717

18+
import warnings
1819
from importlib.metadata import version as _pkg_version
1920

2021
__version__ = _pkg_version("skillspector")
2122

22-
from skillspector.graph import create_graph, graph
23+
# ponytail: langgraph deserializes with langchain's allowed_objects default,
24+
# which warns. langchain_core's import re-enables that warning via
25+
# surface_langchain_deprecation_warnings(), so import it first, then prepend our
26+
# ignore filter so it wins. Drop this once langgraph pins an explicit default.
27+
import langchain_core # noqa: F401 (force its warning-filter setup before ours)
28+
29+
warnings.filterwarnings(
30+
"ignore",
31+
message="The default value of `allowed_objects` will change",
32+
category=Warning,
33+
)
34+
35+
from skillspector.graph import create_graph, graph # noqa: E402 (after filter setup)
2336

2437
__all__ = ["create_graph", "graph", "__version__"]

0 commit comments

Comments
 (0)