Splunk core -> python3.13
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 35/100
- Issue 类型
- 重构
- 描述清晰度
- 基本清楚
- 活跃度
- 冷清
- 技术栈
- python
调研方向
Start by reviewing the current dependency metadata and the ai subpackage to understand how Python 3.13 is imposed on the SDK. The proposed outcome is a core package that remains usable on Python 3.9 and a separately installable AI package with the newer requirement; the issue does not name specific files or tests.
由索引模型根据 Issue 内容生成。
描述
Hi all,
Thank you for your efforts in getting some work done in the SDK.
Unfortunately, the requirement for Python 3.13, driven by the libraries used in the ai subpackage, renders all new SDK releases unusable for app developers. This is simply because there are multiple still-supported Splunk Enterprise versions that cannot use Python 3.13.
https://www.splunk.com/en_us/legal/splunk-software-support-policy.html#core
| Version | End of Support Date |
|---|---|
| 9.3 | Jul 24 2026 |
| 9.4 | Dec 16 2026 |
| 10.0 | Jul 28 2027 |
I propose creating a second project for the AI-related work and keeping splunk-sdk-python focused on its core purpose. Then you could do something like:
# splunk-sdk
[project]
name = "splunk-sdk"
requires-python = ">=3.9"
[project.optional-dependencies]
ai = [
"splunk-sdk-ai==1.0.0",
]
# splunk-sdk-ai
[project]
name = "splunk-sdk-ai"
requires-python = ">=3.13"
dependencies = [
"splunk-sdk>=3.0.0",
"httpx==0.28.1",
"langchain>=1.2.18",
"mcp>=1.27.1",
"pydantic>=2.13.4",
]
With this, it would be possible to just install the required package for 3.9 as well as pip install "splunk-sdk[ai]" that would fail on python3.9.
Best,
Simon
- 主要语言
- Python
- 星标
- 743
- 派生
- 387
- 平均合并
- 21 分钟
- 30 天内合并 PR
- 1
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
splunk/splunk-sdk-python 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
splunk/splunk-sdk-python#835 · 1 条评论 · 2 个 reaction ·
-
难度 2/5 1-3 小时 新手友好度 74/100
splunk/splunk-sdk-python#831 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 82/100
splunk/splunk-sdk-python#704 ·
-
难度 5/5 一周以上 新手友好度 30/100
splunk/splunk-sdk-python#840 ·
-
难度 3/5 1-2 天 新手友好度 74/100
splunk/splunk-sdk-python#828 ·
查看 splunk/splunk-sdk-python 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 88/100
BasedHardware/omi#20271 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 92/100
openai/openai-cookbook#3153 ·
维护者通常 1 天内回复
-
cvss-severity:high devguard l3montree-cybersecurity/devguard/devguard pkg:golang/github.com/l3montree-dev/devguard risk:low state:open
难度 2/5 1-3 小时 新手友好度 65/100
l3montree-dev/devguard#3146 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
-
bug confirmed issue
难度 2/5 1-3 小时 新手友好度 76/100
open-webui/open-webui#31849 · 2 条评论 ·
维护者通常 1 天内回复