From 60217a600bd1d60e36fa841d678b2d0ad633b128 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Tue, 15 Feb 2022 16:33:45 -0500 Subject: [PATCH] Add setuptools to server dependencies, as `collectstatic` needs it --- pdm.lock | 12 +++++++++++- pyproject.toml | 5 ++++- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/pdm.lock b/pdm.lock index 7548b88..b6f17f3 100644 --- a/pdm.lock +++ b/pdm.lock @@ -286,6 +286,12 @@ name = "regex" version = "2022.1.18" summary = "Alternative regular expression module, to replace re." +[[package]] +name = "setuptools" +version = "60.9.1" +requires_python = ">=3.7" +summary = "Easily download, build, install, upgrade, and uninstall Python packages" + [[package]] name = "six" version = "1.16.0" @@ -361,7 +367,7 @@ summary = "Backport of pathlib-compatible object wrapper for zip files" [metadata] lock_version = "3.1" -content_hash = "sha256:85c511b32005128549ba3ff812b3b2d724de920d095d98ca5195b9881d4ef424" +content_hash = "sha256:9606b77f38f89e79791cc6d6f2012d127b0bc341df22650a599a25d03c470ec9" [metadata.files] "asgiref 3.5.0" = [ @@ -663,6 +669,10 @@ content_hash = "sha256:85c511b32005128549ba3ff812b3b2d724de920d095d98ca5195b9881 {file = "regex-2022.1.18-cp39-cp39-win_amd64.whl", hash = "sha256:ebaeb93f90c0903233b11ce913a7cb8f6ee069158406e056f884854c737d2442"}, {file = "regex-2022.1.18.tar.gz", hash = "sha256:97f32dc03a8054a4c4a5ab5d761ed4861e828b2c200febd4e46857069a483916"}, ] +"setuptools 60.9.1" = [ + {file = "setuptools-60.9.1-py3-none-any.whl", hash = "sha256:71b2b3a334d6fcd2e472fb18d0ff530dc585d62da1494e75d001058f33153257"}, + {file = "setuptools-60.9.1.tar.gz", hash = "sha256:1bc2725f0b4d6eb054ee29a0e05fda9c7c0921a6bdc0cf6dd2204da746872b49"}, +] "six 1.16.0" = [ {file = "six-1.16.0-py2.py3-none-any.whl", hash = "sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254"}, {file = "six-1.16.0.tar.gz", hash = "sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926"}, diff --git a/pyproject.toml b/pyproject.toml index aec6d9c..f81ac94 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,7 +21,10 @@ dependencies = [ requires-python = ">=3.9" [project.optional-dependencies] -server = ["uvicorn~=0.17"] +server = [ + "uvicorn~=0.17", + "setuptools~=60.9", +] [tool.black]