From 66984069365de7796c4b857e6ae1717599121132 Mon Sep 17 00:00:00 2001 From: Lauri Gates Date: Tue, 17 Oct 2023 15:19:42 +0300 Subject: [PATCH] Fix pip-compile error - Add back setuptools config - Update requirements using pip-compile --- pyproject.toml | 7 +++++++ requirements-dev.txt | 8 +++++--- requirements.txt | 4 +--- 3 files changed, 13 insertions(+), 6 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index e41d9d8..18c22f3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,10 @@ +[tool.setuptools] +py-modules = [] + +[build-system] +requires = ["setuptools"] +build-backend = "setuptools.build_meta" + [project] name = "mittaridatapumppu-deviceregistry" description = "" diff --git a/requirements-dev.txt b/requirements-dev.txt index 9bf3ac6..4b5631a 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,5 +1,5 @@ # -# This file is autogenerated by pip-compile with Python 3.12 +# This file is autogenerated by pip-compile with Python 3.11 # by the following command: # # pip-compile --extra=dev --output-file=requirements-dev.txt @@ -31,7 +31,7 @@ openpyxl==3.1.2 # via mittaridatapumppu-deviceregistry (pyproject.toml) packaging==23.2 # via pytest -pillow==10.0.1 +pillow==10.1.0 # via mittaridatapumppu-deviceregistry (pyproject.toml) pluggy==1.3.0 # via pytest @@ -53,7 +53,9 @@ sqlparse==0.4.4 # via # django # mittaridatapumppu-deviceregistry (pyproject.toml) -unittest-parametrize==1.3.0 +unittest-parametrize==1.4.0 # via mittaridatapumppu-deviceregistry (pyproject.toml) uvicorn==0.23.2 # via mittaridatapumppu-deviceregistry (pyproject.toml) +whitenoise==6.6.0 + # via mittaridatapumppu-deviceregistry (pyproject.toml) diff --git a/requirements.txt b/requirements.txt index b5ec2bc..7f26685 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ # -# This file is autogenerated by pip-compile with Python 3.12 +# This file is autogenerated by pip-compile with Python 3.11 # by the following command: # # pip-compile @@ -59,5 +59,3 @@ uvicorn==0.23.2 # via mittaridatapumppu-deviceregistry (pyproject.toml) whitenoise==6.6.0 # via mittaridatapumppu-deviceregistry (pyproject.toml) -uvicorn==0.23.2 - # via mittaridatapumppu-deviceregistry (pyproject.toml)