diff --git a/CHANGELOG.md b/CHANGELOG.md index 339aac8..d9b0638 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,10 @@ Using the following categories, list your changes in this order: - Any errors from threads in the `servestatic.compress` command are now raised. - Compression code has been refactored to match upstream (WhiteNoise). +### Fixed + +- Add `asgiref` to dependencies to fix import error. + ## [2.1.1] - 2024-10-27 ### Fixed diff --git a/pyproject.toml b/pyproject.toml index de55371..1c309f7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,6 +26,7 @@ classifiers = [ "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware", ] +dependencies = ["asgiref"] dynamic = ["version"] optional-dependencies.brotli = ["brotli"] urls.Changelog = "https://archmonger.github.io/ServeStatic/latest/changelog/"