Skip to content

fix: update simpleeval and click to patch known vulnerabilities - #1180

Open
IIIllllIlIlllII wants to merge 1 commit into
insight-platform:developfrom
IIIllllIlIlllII:fix/update-vulnerable-deps
Open

fix: update simpleeval and click to patch known vulnerabilities#1180
IIIllllIlIlllII wants to merge 1 commit into
insight-platform:developfrom
IIIllllIlIlllII:fix/update-vulnerable-deps

Conversation

@IIIllllIlIlllII

Copy link
Copy Markdown

pip-audit flagged two dependencies with known CVEs:

  • simpleeval ~=0.9.12~=1.0.5 (PYSEC-2026-132)
  • click ~=8.1.6~=8.3.3 (PYSEC-2026-2132)

Verified API compatibility:

  • simpleeval: simple_eval() with named args works as before (used in savant/config/calc_resolver.py)
  • click: imports and CLI scripts unaffected

No breaking changes expected — both are minor/patch version bumps.

- simpleeval ~=0.9.12 -> ~=1.0.5 (PYSEC-2026-132)
- click ~=8.1.6 -> ~=8.3.3 (PYSEC-2026-2132)

Verified API compatibility manually:
- simpleeval: simple_eval() with named args works as before
- click: imports and version check pass
Copilot AI lite review requested due to automatic review settings August 13, 2026 09:20

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates Python dependency constraints in the base requirements set to address two pip-audit-reported vulnerabilities by bumping simpleeval and click to newer compatible versions.

Changes:

  • Bump simpleeval from ~=0.9.12 to ~=1.0.5.
  • Bump click from ~=8.1.6 to ~=8.3.3.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread requirements/base.txt
omegaconf~=2.3
# omegaconf arithmetic resolver
simpleeval~=0.9.12
simpleeval~=1.0.5

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pip-audit flagged two dependencies with known CVEs:

  • simpleeval ~=0.9.12~=1.0.5 (PYSEC-2026-132)
  • click ~=8.1.6~=8.3.3 (PYSEC-2026-2132)

Verified API compatibility:

  • simpleeval: major version bump (0.9.x → 1.0.x), but the API used by Savant (simple_eval() with names parameter in savant/config/calc_resolver.py) is unchanged. Tested manually and confirmed compatible.
  • click: minor version bump (8.1.x → 8.3.x), imports and CLI scripts unaffected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants