Splunk core -> python3.13
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Accessibilité débutants
- 35/100
- Type d'issue
- Refactorisation
- Clarté
- Plutôt claire
- Activité
- Calme
- Stack technique
- python
- Domaine
- build-system, developer-experience
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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
- Langage dominant
- Python
- Étoiles
- 743
- Forks
- 387
- Merge moyen
- 42 min
- PR mergées (30 j)
- 4
Guide de contribution
Ouvrir le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de splunk/splunk-sdk-python
-
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
splunk/splunk-sdk-python#835 · 1 commentaire · 1 réaction ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 74/100
splunk/splunk-sdk-python#831 · 1 commentaire ·
-
Unverified SSL context Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
splunk/splunk-sdk-python#704 ·
-
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 30/100
splunk/splunk-sdk-python#840 ·
-
Difficulté 3/5 1-2 jours Accessibilité débutants 74/100
splunk/splunk-sdk-python#828 ·
Toutes les issues de splunk/splunk-sdk-python
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
-
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
-
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
-
enhancement
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
-
Difficulté 2/5 1-3 heures Accessibilité débutants 74/100