From 0733abc1d75ee8866335b526d98a49b467cc0626 Mon Sep 17 00:00:00 2001 From: Archmonger <16909269+Archmonger@users.noreply.github.com> Date: Fri, 15 Nov 2024 14:22:21 -0800 Subject: [PATCH] Add asgiref to dependencies --- CHANGELOG.md | 4 ++++ pyproject.toml | 1 + 2 files changed, 5 insertions(+) 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/"