From 59620aa30974ae42c6ee331f3e0be27890f73860 Mon Sep 17 00:00:00 2001 From: Benjamin Bach Date: Fri, 2 Aug 2024 22:58:19 +0000 Subject: [PATCH] Switch to using uv instead of pip-tools (#39) Seems to work! Reviewed-on: https://git.data.coop/data.coop/membersystem/pulls/39 Reviewed-by: valberg Co-authored-by: Benjamin Bach Co-committed-by: Benjamin Bach --- pyproject.toml | 2 ++ requirements.txt | 9 ++++----- requirements/requirements-dev.txt | 14 ++++++++------ 3 files changed, 14 insertions(+), 11 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index fc88792..1c98bea 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -34,9 +34,11 @@ requires = ["hatch-pip-compile"] [tool.hatch.envs.default] type = "pip-compile" +pip-compile-resolver = "uv" [tool.hatch.envs.dev] type = "pip-compile" +pip-compile-resolver = "uv" dependencies = [ "coverage[toml]==7.3.0", "pytest==7.2.2", diff --git a/requirements.txt b/requirements.txt index 5052e2a..2ba31a3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -46,7 +46,7 @@ django-allauth==0.63.6 # via hatch.envs.default django-cache-url==3.4.5 # via environs -django-money==3.5.2 +django-money==3.5.3 # via hatch.envs.default django-oauth-toolkit==2.4.0 # via hatch.envs.default @@ -84,6 +84,8 @@ pytz==2024.1 # via django-oauth-toolkit requests==2.32.3 # via django-oauth-toolkit +setuptools==72.1.0 + # via django-money sqlparse==0.5.1 # via django typing-extensions==4.12.2 @@ -94,10 +96,7 @@ typing-extensions==4.12.2 # py-moneyed urllib3==2.2.2 # via requests -uvicorn==0.30.3 +uvicorn==0.30.5 # via hatch.envs.default whitenoise==6.7.0 # via hatch.envs.default - -# The following packages are considered to be unsafe in a requirements file: -# setuptools diff --git a/requirements/requirements-dev.txt b/requirements/requirements-dev.txt index 39faa96..274ee17 100644 --- a/requirements/requirements-dev.txt +++ b/requirements/requirements-dev.txt @@ -75,7 +75,7 @@ django-cache-url==3.4.5 # via environs django-debug-toolbar==4.2.0 # via hatch.envs.dev -django-money==3.5.2 +django-money==3.5.3 # via hatch.envs.dev django-oauth-toolkit==2.4.0 # via hatch.envs.dev @@ -116,6 +116,8 @@ packaging==24.1 # build # marshmallow # pytest +pip==24.2 + # via pip-tools pip-tools==7.3.0 # via hatch.envs.dev pluggy==1.5.0 @@ -145,6 +147,10 @@ pytz==2024.1 # via django-oauth-toolkit requests==2.32.3 # via django-oauth-toolkit +setuptools==72.1.0 + # via + # django-money + # pip-tools sqlparse==0.5.1 # via # django @@ -166,13 +172,9 @@ typing-extensions==4.12.2 # py-moneyed urllib3==2.2.2 # via requests -uvicorn==0.30.3 +uvicorn==0.30.5 # via hatch.envs.dev wheel==0.43.0 # via pip-tools whitenoise==6.7.0 # via hatch.envs.dev - -# The following packages are considered to be unsafe in a requirements file: -# pip -# setuptools