Skip to content

Resolve Dependabot Alerts: Upgrade Dependencies & GitHub Actions#525

Merged
BinoyOza-okta merged 3 commits intomasterfrom
dependabot-fix
Apr 15, 2026
Merged

Resolve Dependabot Alerts: Upgrade Dependencies & GitHub Actions#525
BinoyOza-okta merged 3 commits intomasterfrom
dependabot-fix

Conversation

@BinoyOza-okta
Copy link
Copy Markdown
Contributor

@BinoyOza-okta BinoyOza-okta commented Apr 13, 2026

Resolve Dependabot Alerts: Upgrade Dependencies & GitHub Actions

Summary

This PR addresses multiple Dependabot security alerts and version-bump PRs by upgrading all flagged runtime and development dependencies to their latest secure versions. It also bumps GitHub Actions (actions/checkout, actions/setup-python) to the current major release (v6) to eliminate Node.js 12/16 deprecation warnings.

Motivation

Dependabot raised alerts and pull requests for several outdated packages that have known vulnerabilities or have since been superseded by newer secure releases. Rather than merging each Dependabot PR individually, this PR consolidates all the dependency bumps into a single change set for easier review and testing.

Changes

Runtime Dependencies (requirements.txt, setup.py, pyproject.toml)

Package Previous Version New Version
aenum 3.1.11 3.1.16
aiohttp 3.12.14 3.13.3
pydash 8.0.5 8.0.6
PyJWT 2.10.1 2.11.0
PyYAML 6.0.2 6.0.3
requests 2.32.3 2.32.5
xmltodict 0.14.2 1.0.2

Development & Testing Dependencies (requirements.txt, pyproject.toml, test-requirements.txt)

Package Previous Version New Version
flake8 7.1.2 / >=4.0.0 7.3.0 / >=7.3.0
pyfakefs 5.8.0 5.10.2
pytest 8.3.5 / ~=7.1.3 8.4.2 / ~=8.4.2
pytest-asyncio 0.26.0 1.2.0
pytest-mock 3.14.0 3.15.1
pytest-recording 0.13.2 0.13.4
tox 4.24.2 / >=3.9.0 4.30.3 / >=4.30.3
twine 6.1.0 6.2.0

GitHub Actions (.github/workflows/)

Action Previous Version New Version
actions/checkout v2 / v3 v6
actions/setup-python v2 / v4 v6

OpenAPI Generator Templates (openapi/templates/)

The mustache templates used for SDK code generation (requirements.mustache, setup.mustache, pyproject.mustache, test-requirements.mustache) have been updated to match the new dependency versions so that future regenerations remain consistent.

Files Changed

  • .github/workflows/python-package.yml — Bump checkout & setup-python actions
  • .github/workflows/python.yml — Bump checkout & setup-python actions
  • requirements.txt — Bump runtime + dev dependency versions
  • setup.py — Bump runtime dependency version specifiers
  • pyproject.toml — Bump dev dependency version specifiers
  • test-requirements.txt — Bump pytest version specifier
  • openapi/templates/requirements.mustache — Mirror requirements.txt updates
  • openapi/templates/setup.mustache — Mirror setup.py updates
  • openapi/templates/pyproject.mustache — Mirror pyproject.toml updates
  • openapi/templates/test-requirements.mustache — Mirror test-requirements.txt updates

Testing

  • CI passes with the updated dependency set (Python 3.10–3.13)
  • Integration tests (pytest tests/integration) pass
  • Linting (flake8) passes with the upgraded flake8 version

Risk Assessment

Low risk. All changes are dependency version bumps to address known Dependabot alerts. No application logic or SDK API changes are included.

Fixes

Bump runtime and dev dependencies to their latest secure versions and
upgrade GitHub Actions to current major releases.

Runtime dependency updates:
- aenum: 3.1.11 → 3.1.16
- aiohttp: 3.12.14 → 3.13.3
- pydash: 8.0.5 → 8.0.6
- PyJWT: 2.10.1 → 2.11.0
- PyYAML: 6.0.2 → 6.0.3
- requests: 2.32.3 → 2.32.5
- xmltodict: 0.14.2 → 1.0.2

Dev/test dependency updates:
- flake8: 7.1.2 → 7.3.0 (pyproject/setup: >=4.0.0 → >=7.3.0)
- pyfakefs: 5.8.0 → 5.10.2
- pytest: 8.3.5 → 8.4.2 (test-requirements: ~=7.1.3 → ~=8.4.2)
- pytest-asyncio: 0.26.0 → 1.2.0
- pytest-mock: 3.14.0 → 3.15.1
- pytest-recording: 0.13.2 → 0.13.4
- tox: 4.24.2 → 4.30.3 (pyproject/setup: >=3.9.0 → >=4.30.3)
- twine: 6.1.0 → 6.2.0

GitHub Actions updates:
- actions/checkout: v2/v3 → v6
- actions/setup-python: v2/v4 → v6

Changes applied across:
- requirements.txt, setup.py, pyproject.toml, test-requirements.txt
- openapi/templates/ (mustache templates for code generation)
- .github/workflows/python-package.yml, .github/workflows/python.yml
@BinoyOza-okta BinoyOza-okta self-assigned this Apr 13, 2026
Copy link
Copy Markdown

@dhiwakar-okta dhiwakar-okta left a comment

Choose a reason for hiding this comment

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

LGTM 🚀

@BinoyOza-okta BinoyOza-okta merged commit ad029ba into master Apr 15, 2026
15 checks passed
@BinoyOza-okta BinoyOza-okta deleted the dependabot-fix branch April 15, 2026 04:47
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