"Vibe-Trading: Your Personal Trading Agent"
Python ai-agentalgorithmic-tradingbacktestingfintechllmmcpmulti-agentpythonquantitative-financetrading
fix(packaging): drop the stale <3.14 cap from the distribution manifest
Haozhe Wu23e87970510a
diff --git a/agent/SKILL.md b/agent/SKILL.mdindex 0e4764c95..6b219f8ed 100644--- a/agent/SKILL.md+++ b/agent/SKILL.md@@ -3,7 +3,7 @@ name: vibe-tradingversion: 0.1.13description: Professional finance research toolkit — backtesting (10 engines + benchmark comparison panel), factor analysis, Alpha Zoo (462 pre-built alphas across qlib158/alpha101/gtja191/academic/fundamental), options pricing, 90 finance skills, 30 multi-agent swarm teams, Trade Journal analyzer, and Shadow Account (extract → backtest → render) across 25 market-data sources (tushare, yfinance, okx, binance, akshare, baostock, tencent, mootdx, ccxt, futu, mt5, tickerall, local, eastmoney, sina, stooq, yahoo, pykrx, india_broker, qveris, longbridge, plus optional-key finnhub/alphavantage/tiingo/fmp).dependencies:- python: ">=3.11,<3.14"+ python: ">=3.11"pip:- vibe-trading-aienv:diff --git a/agent/tests/test_distribution_skill_manifest.py b/agent/tests/test_distribution_skill_manifest.pyindex e8d132ae5..27614e0bc 100644--- a/agent/tests/test_distribution_skill_manifest.py+++ b/agent/tests/test_distribution_skill_manifest.py@@ -119,3 +119,29 @@ def test_mcp_tool_heading_matches_registered_tools() -> None:manifest and no test could see it. Ask the server."""_assert_all_counts(r"Available MCP Tools\s*\((\d+)\)", _live_mcp_tool_count())+++def test_manifest_python_requirement_matches_pyproject() -> None:+ """The manifest's declared Python range must be the packaged one.++ ``SKILL.md`` is a distribution manifest: consumers read the ``python:``+ field to decide whether the package is installable. Nothing else compared+ it against ``pyproject.toml``, so when the ``<3.14`` upper bound was+ dropped from packaging the manifest silently kept advertising it.+ """+ import tomllib++ pyproject = tomllib.loads(+ (AGENT_ROOT.parent / "pyproject.toml").read_text(encoding="utf-8")+ )+ packaged = pyproject["project"]["requires-python"].replace(" ", "")+ declared = re.search(+ r'^\s*python:\s*"([^"]+)"', MANIFEST_PATH.read_text(encoding="utf-8"), re.M+ )+ assert declared is not None, "SKILL.md declares no python requirement"+ assert set(declared.group(1).replace(" ", "").split(",")) == set(+ packaged.split(",")+ ), (+ f"SKILL.md says python {declared.group(1)!r} but pyproject.toml "+ f"requires {packaged!r}"+ )