[Aikido] Fix security issue in asgiref via minor version upgrade from 3.8.1 to 3.11.1 #592
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.
Patch critical DoS vulnerability in WSGI adapter by limiting duplicate HTTP headers to prevent resource exhaustion attacks This update includes breaking changes that require manual migration.
The asgiref upgrade from 3.8.1 to 3.11.1 introduces a breaking change that affects this codebase:
Breaking Change: Drops support for Python 3.8
Where your code is affected:
pyproject.tomlline 47: declarespython = "^3.8"as minimum versionpyproject.tomlline 41: lists"Programming Language :: Python :: 3.8"as supported classifier.github/workflows/unit-test.ymlline 10: CI matrix includes Python 3.8 in test suite (python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"])pyproject.tomlline 88: Black formatter targets Python 3.8 (target-version = ['py38'])Impact: The package declares Python 3.8 support and actively tests against it in CI, but asgiref 3.9.0+ no longer supports Python 3.8. This creates an incompatibility where users running Python 3.8 will not be able to use Django (which depends on asgiref) with this package, or the installation may fail entirely.
Remediation: Update the minimum Python version requirement to 3.9 in
pyproject.toml, remove Python 3.8 from the CI test matrix in.github/workflows/unit-test.yml, update the Black target version topy39, and remove the Python 3.8 classifier from the package metadata.Note: The
ApplicationCommunicatortesting utility change does not affect this codebase as it is not used anywhere in the code.All breaking changes by upgrading asgiref from version 3.8.1 to 3.11.1 (CHANGELOG)
✅ 1 CVE resolved by this upgrade
This PR will resolve the following CVEs:
🔗 Related Tasks