Repository navigation
Support pySigma 2.0 - #85
Draft
cristianchiriac wants to merge 1 commit into
Draft
cristianchiriac wants to merge 1 commit into
cristianchiriac wants to merge 1 commit into
Conversation
pySigma 2.0.0 requires Python 3.11, so drop 3.10 from the supported versions and the test matrix. poetry.lock was regenerated with Poetry 2.1.3; the changes come from pySigma 2.0's own requirements.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
pySigma 2.0.0 was released on 2026-10-04. The backend requires
pysigma = "^1", so it can't be installed together with it.Changes
pyproject.toml:pysigma = "^2". pySigma 2.0 requires Python ≥ 3.11, sopython = "^3.11"and 3.10 is dropped from the test matrix.poetry.lockregenerated withpoetry lock(Poetry 2.1.3, same as the existing lock header). Every resolved change comes from pySigma 2.0's own requirements: pysigma 1.2.0 → 2.0.0, newgoogle-re2andjq,packaging25.0 → 26.3 andtypes-pyyaml(raised minimums), andexceptiongroup/tomliremoved (3.10-only).No code changes were needed: with pySigma 2.0.0 on Python 3.11, the full suite passes (160 passed).
Note on CI:
poetry installinstalls the backend in editable mode, and with pySigma 2.0.0 the editable package can't be imported (ModuleNotFoundError: No module named 'sigma.backends.splunk'). That is the regression in SigmaHQ/pySigma#584, which also has the fix. I ran the tests above against a regular (non-editable) install. Until #584 is released, the test jobs here will fail at import, so I'm opening this as a draft.