Skip to content

Bump Python 3.10+ dependencies to resolve known vulnerabilities (v3.3.4)#250

Open
Keith-wright wants to merge 4 commits intomasterfrom
security/bump-python-deps
Open

Bump Python 3.10+ dependencies to resolve known vulnerabilities (v3.3.4)#250
Keith-wright wants to merge 4 commits intomasterfrom
security/bump-python-deps

Conversation

@Keith-wright
Copy link

@Keith-wright Keith-wright commented Mar 17, 2026

Summary

Consolidates and supersedes dependabot PRs #242, #246, #247, #248, #249, bumping all vulnerable Python 3.10+ pinned dependencies in requirements.txt.

Changes

requirements.txt (Python 3.10+ entries only — older pinned versions unchanged)

  • cryptography: 41.0.046.0.5
  • requests: 2.27.12.32.4
  • urllib3: 1.26.92.6.3
  • aiohttp: 3.8.13.13.3
  • pynacl: 1.5.01.6.2
  • Updated transitive deps: aiosignal, async-timeout, attrs, certifi, charset-normalizer, frozenlist, idna, multidict, propcache, pycparser, six, yarl
  • Added new transitive dep: aiohappyeyeballs (required by aiohttp 3.13.x)

pusher/version.py / CHANGELOG.md

  • Version bump: 3.3.33.3.4

Supersedes

#242, #246, #247, #248, #249

- cryptography: 41.0.0 -> 46.0.5
- requests: 2.27.1 -> 2.32.4
- urllib3: 1.26.9 -> 2.6.3 (major version bump, tested compatible)
- aiohttp: 3.8.1 -> 3.13.3
- pynacl: 1.5.0 -> 1.6.2
- Updated transitive deps: aiosignal, async-timeout, attrs, certifi,
  charset-normalizer, frozenlist, idna, multidict, propcache, pycparser,
  six, yarl

Python < 3.10 pinned versions unchanged.
Copy link
Member

@aonemd aonemd left a comment

Choose a reason for hiding this comment

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

Tests are not running. Could you update the GH workflows

…est command

ubuntu-20.04 runners were retired from GitHub Actions, causing jobs to
be permanently stuck in queued state. Python 3.6, 3.7, and 3.8 are EOL
and have unfixed vulnerabilities in the locked deps. Updated to
currently supported Python versions (3.10, 3.11, 3.12) which align with
the 3.10+ dependency bumps in this PR. Replaced deprecated
'python setup.py test' with 'python -m unittest discover' since
setup.py test was removed in modern setuptools.
The test_aiohttp_adapter module uses a relative import
(.aio.aiohttp_adapter_test). Without --top-level-directory ., unittest
discover imports test files as top-level modules rather than as members
of the pusher_tests package, breaking relative imports.
… backend

asyncio.coroutine was removed in Python 3.11. Convert to native
async/await syntax which has been supported since Python 3.5.
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.

3 participants