Switch to using uv instead of pip-tools (#39)

Seems to work!

Reviewed-on: data.coop/membersystem#39
Reviewed-by: valberg <valberg@orn.li>
Co-authored-by: Benjamin Bach <benjamin@overtag.dk>
Co-committed-by: Benjamin Bach <benjamin@overtag.dk>
This commit is contained in:
Benjamin Bach 2024-08-02 22:58:19 +00:00 committed by valberg
parent 865bc6c7bd
commit 59620aa309
3 changed files with 14 additions and 11 deletions

View file

@ -34,9 +34,11 @@ requires = ["hatch-pip-compile"]
[tool.hatch.envs.default] [tool.hatch.envs.default]
type = "pip-compile" type = "pip-compile"
pip-compile-resolver = "uv"
[tool.hatch.envs.dev] [tool.hatch.envs.dev]
type = "pip-compile" type = "pip-compile"
pip-compile-resolver = "uv"
dependencies = [ dependencies = [
"coverage[toml]==7.3.0", "coverage[toml]==7.3.0",
"pytest==7.2.2", "pytest==7.2.2",

View file

@ -46,7 +46,7 @@ django-allauth==0.63.6
# via hatch.envs.default # via hatch.envs.default
django-cache-url==3.4.5 django-cache-url==3.4.5
# via environs # via environs
django-money==3.5.2 django-money==3.5.3
# via hatch.envs.default # via hatch.envs.default
django-oauth-toolkit==2.4.0 django-oauth-toolkit==2.4.0
# via hatch.envs.default # via hatch.envs.default
@ -84,6 +84,8 @@ pytz==2024.1
# via django-oauth-toolkit # via django-oauth-toolkit
requests==2.32.3 requests==2.32.3
# via django-oauth-toolkit # via django-oauth-toolkit
setuptools==72.1.0
# via django-money
sqlparse==0.5.1 sqlparse==0.5.1
# via django # via django
typing-extensions==4.12.2 typing-extensions==4.12.2
@ -94,10 +96,7 @@ typing-extensions==4.12.2
# py-moneyed # py-moneyed
urllib3==2.2.2 urllib3==2.2.2
# via requests # via requests
uvicorn==0.30.3 uvicorn==0.30.5
# via hatch.envs.default # via hatch.envs.default
whitenoise==6.7.0 whitenoise==6.7.0
# via hatch.envs.default # via hatch.envs.default
# The following packages are considered to be unsafe in a requirements file:
# setuptools

View file

@ -75,7 +75,7 @@ django-cache-url==3.4.5
# via environs # via environs
django-debug-toolbar==4.2.0 django-debug-toolbar==4.2.0
# via hatch.envs.dev # via hatch.envs.dev
django-money==3.5.2 django-money==3.5.3
# via hatch.envs.dev # via hatch.envs.dev
django-oauth-toolkit==2.4.0 django-oauth-toolkit==2.4.0
# via hatch.envs.dev # via hatch.envs.dev
@ -116,6 +116,8 @@ packaging==24.1
# build # build
# marshmallow # marshmallow
# pytest # pytest
pip==24.2
# via pip-tools
pip-tools==7.3.0 pip-tools==7.3.0
# via hatch.envs.dev # via hatch.envs.dev
pluggy==1.5.0 pluggy==1.5.0
@ -145,6 +147,10 @@ pytz==2024.1
# via django-oauth-toolkit # via django-oauth-toolkit
requests==2.32.3 requests==2.32.3
# via django-oauth-toolkit # via django-oauth-toolkit
setuptools==72.1.0
# via
# django-money
# pip-tools
sqlparse==0.5.1 sqlparse==0.5.1
# via # via
# django # django
@ -166,13 +172,9 @@ typing-extensions==4.12.2
# py-moneyed # py-moneyed
urllib3==2.2.2 urllib3==2.2.2
# via requests # via requests
uvicorn==0.30.3 uvicorn==0.30.5
# via hatch.envs.dev # via hatch.envs.dev
wheel==0.43.0 wheel==0.43.0
# via pip-tools # via pip-tools
whitenoise==6.7.0 whitenoise==6.7.0
# via hatch.envs.dev # via hatch.envs.dev
# The following packages are considered to be unsafe in a requirements file:
# pip
# setuptools