Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Splunk core -> python3.13

未关闭
#785 0 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 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

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

splunk/splunk-sdk-python 的其他 Issue

查看 splunk/splunk-sdk-python 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。