Skip to content

Fix Dependabot alerts for idna and pytest [ZEPAI-3570] - #353

Merged
pevans merged 3 commits into
mainfrom
devin/1789085364-dependabot-fixes
Sep 11, 2026
Merged

pevans merged 3 commits into
mainfrom
devin/1789085364-dependabot-fixes

Conversation

@pevans

@pevans pevans commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

Summary

Fixes the 2 open Dependabot alerts in this repository (idna < 3.15, pytest < 9.0.3). Runtime dependency ranges do not change.

  • poetry.lock: idna -> 3.19, pytest -> 9.1.1, pytest-asyncio -> 1.4.0.
  • pyproject.toml dev group: pytest ^7.4.0 -> ^9.0.3 and pytest-asyncio ^0.23.5 -> ^1.4.0, both with a python = ">=3.10,<4.0" marker. pytest 9 requires Python >= 3.10 and pytest-asyncio 0.23 pins pytest < 9. The marker keeps the package's declared Python 3.9 support; on 3.9 the test tooling is not installed.
  • .github/workflows/ci.yml:
    • test job: Python 3.9 -> 3.10, so pytest is installed where the job runs it.
    • compile job: stays on Python 3.9 to type-check the 3.9 support floor, but now runs mypy src/ instead of mypy ., because tests/ imports pytest, which is absent on 3.9. Type checking of tests/ is therefore no longer part of CI.

Verification

  • poetry check --lock, make test (28 passed, 1 skipped), mypy on 172 files: pass locally.
  • CI: compile, test, CodeQL, and Socket pass.
  • make lint reports one pre-existing Ruff import-order finding in src/zep_cloud/graph/utils.py; it also fails on main and is not touched by this PR.

Linear: ZEPAI-3570

@devin-ai-integration

Copy link
Copy Markdown

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment, CI, and merge conflict monitoring

@socket-security

socket-security Bot commented Sep 11, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedpypi/​pytest@​7.4.4 ⏵ 9.1.187 -6100 +2100100100
Updatedpypi/​pytest-asyncio@​0.23.8 ⏵ 1.4.0100 +1100100100100

View full report

@socket-security

socket-security Bot commented Sep 11, 2026

Copy link
Copy Markdown

Warning

Review the following alerts detected in dependencies.

According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.

Action Severity Alert  (click "▶" to expand/collapse)
Warn High
License policy violation: pypi pygments under GPL-2.0-or-later

License: GPL-2.0-or-later - The applicable license policy does not permit this license (5) (pygments-2.21.0/tests/examplefiles/scheme/boot-9.scm)

License: GPL-3.0-or-later - The applicable license policy does not permit this license (5) (pygments-2.21.0/tests/examplefiles/hybris/hybris_File.hyb.output)

License: GPL-3.0-only - The applicable license policy does not permit this license (5) (pygments-2.21.0/tests/examplefiles/hybris/hybris_File.hyb)

License: GPL-2.0-or-later - The applicable license policy does not permit this license (5) (pygments-2.21.0/tests/examplefiles/java/test.java.output)

License: GPL-2.0-only - The applicable license policy does not permit this license (5) (pygments-2.21.0/tests/examplefiles/java/test.java)

License: GPL-2.0-only - The applicable license policy does not permit this license (5) (pygments-2.21.0/tests/examplefiles/lua/example.lua)

License: GPL-2.0-only - The applicable license policy does not permit this license (5) (pygments-2.21.0/tests/examplefiles/cpp/example.cpp)

License: GPL-2.0-or-later - The applicable license policy does not permit this license (5) (pygments-2.21.0/tests/examplefiles/cpp/example.cpp.output)

License: GPL-3.0-or-later - The applicable license policy does not permit this license (5) (pygments-2.21.0/tests/examplefiles/emacs/subr.el.output)

License: GPL-3.0-or-later - The applicable license policy does not permit this license (5) (pygments-2.21.0/tests/examplefiles/emacs/subr.el)

License: GPL-2.0-only - The applicable license policy does not permit this license (5) (pygments-2.21.0/tests/examplefiles/bash/ltmain.sh)

License: GPL-2.0-only - The applicable license policy does not permit this license (5) (pygments-2.21.0/tests/examplefiles/rust/eval.rs.output)

License: GPL-2.0-or-later - The applicable license policy does not permit this license (5) (pygments-2.21.0/tests/examplefiles/lua/example.lua.output)

License: GPL-2.0-or-later - The applicable license policy does not permit this license (5) (pygments-2.21.0/tests/examplefiles/scheme/boot-9.scm.output)

License: GPL-2.0-only - The applicable license policy does not permit this license (5) (pygments-2.21.0/tests/examplefiles/ec/test.eh)

License: GPL-1.0-only - The applicable license policy does not permit this license (5) (pygments-2.21.0/tests/examplefiles/ec/test.eh.output)

License: GPL-2.0-or-later - The applicable license policy does not permit this license (5) (pygments-2.21.0/tests/examplefiles/bash/ltmain.sh.output)

License: GPL-1.0-only - The applicable license policy does not permit this license (5) (pygments-2.21.0/tests/examplefiles/rust/eval.rs)

From: poetry.lockpypi/pytest@9.1.1pypi/pygments@2.21.0

ℹ Read more on: This package | This alert | What is a license policy violation?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Find a package that does not violate your license policy or adjust your policy to allow this package's license.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore pypi/pygments@2.21.0. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

View full report

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Devin Review found 1 potential issue.

Devin Review

Comment thread pyproject.toml
@pevans
pevans merged commit 022547b into main Sep 11, 2026
7 checks passed
@pevans
pevans deleted the devin/1789085364-dependabot-fixes branch September 11, 2026 15:35
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.

1 participant