From 037c20441111e40ec9b954ba9b1a9485ed9903b3 Mon Sep 17 00:00:00 2001 From: Benjamin Bach Date: Thu, 1 Aug 2024 13:04:31 +0200 Subject: [PATCH] Re-instate updated pip-compile command, regenerate requirements*.txt --- pyproject.toml | 2 +- requirements.txt | 54 ++++++++++++++++++------------- requirements/requirements-dev.txt | 4 +-- 3 files changed, 34 insertions(+), 26 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 58bd69e..49f2fb4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -68,7 +68,7 @@ matrix.python.dependencies = [ cov = "pytest --cov-report=term-missing --cov-config=pyproject.toml --cov=src --cov=tests --cov=append {args}" no-cov = "cov --no-cov {args}" typecheck = "mypy --config-file=pyproject.toml ." -requirements = "pip-compile pyproject.toml" +requirements = "hatch env run --env default -- python --version; hatch env run --env dev -- python --version" server = "./src/manage.py runserver 0.0.0.0:8000" migrate = "./src/manage.py migrate" makemigrations = "./src/manage.py makemigrations" diff --git a/requirements.txt b/requirements.txt index 63b460a..64b1651 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,9 +1,21 @@ # -# This file is autogenerated by pip-compile with Python 3.12 -# by the following command: +# This file is autogenerated by hatch-pip-compile with Python 3.12 # -# pip-compile pyproject.toml +# - django-allauth~=0.63 +# - django-money~=3.5 +# - django-oauth-toolkit~=2.4 +# - django-registries==0.0.3 +# - django-stubs-ext~=5.0 +# - django-view-decorator==0.0.4 +# - django-zen-queries~=2.1 +# - django<5.2,>=5.1b1 +# - environs[django]<12,>=11 +# - psycopg[binary]~=3.2 +# - stripe~=10.5 +# - uvicorn~=0.30 +# - whitenoise~=6.7 # + asgiref==3.8.1 # via django babel==2.15.0 @@ -22,8 +34,9 @@ dj-database-url==2.2.0 # via environs dj-email-url==1.0.6 # via environs -django==5.1b1 +django==5.1rc1 # via + # hatch.envs.default # dj-database-url # django-allauth # django-money @@ -32,27 +45,24 @@ django==5.1b1 # django-stubs-ext # django-view-decorator # django-zen-queries - # membersystem (pyproject.toml) django-allauth==0.63.6 - # via membersystem (pyproject.toml) + # via hatch.envs.default django-cache-url==3.4.5 # via environs django-money==3.5.2 - # via membersystem (pyproject.toml) + # via hatch.envs.default django-oauth-toolkit==2.4.0 - # via membersystem (pyproject.toml) + # via hatch.envs.default django-registries==0.0.3 - # via membersystem (pyproject.toml) + # via hatch.envs.default django-stubs-ext==5.0.4 - # via membersystem (pyproject.toml) + # via hatch.envs.default django-view-decorator==0.0.4 - # via membersystem (pyproject.toml) + # via hatch.envs.default django-zen-queries==2.1.0 - # via membersystem (pyproject.toml) -environs[django]==11.0.0 - # via - # environs - # membersystem (pyproject.toml) + # via hatch.envs.default +environs==11.0.0 + # via hatch.envs.default h11==0.14.0 # via uvicorn idna==3.7 @@ -65,10 +75,8 @@ oauthlib==3.2.2 # via django-oauth-toolkit packaging==24.1 # via marshmallow -psycopg[binary]==3.2.1 - # via - # membersystem (pyproject.toml) - # psycopg +psycopg==3.2.1 + # via hatch.envs.default psycopg-binary==3.2.1 # via psycopg py-moneyed==3.0 @@ -86,7 +94,7 @@ requests==2.32.3 sqlparse==0.5.1 # via django stripe==10.5.0 - # via membersystem (pyproject.toml) + # via hatch.envs.default typing-extensions==4.12.2 # via # dj-database-url @@ -98,9 +106,9 @@ typing-extensions==4.12.2 urllib3==2.2.2 # via requests uvicorn==0.30.4 - # via membersystem (pyproject.toml) + # via hatch.envs.default whitenoise==6.7.0 - # via membersystem (pyproject.toml) + # 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 7d83b17..55b03b8 100644 --- a/requirements/requirements-dev.txt +++ b/requirements/requirements-dev.txt @@ -55,7 +55,7 @@ dj-database-url==2.2.0 # via environs dj-email-url==1.0.6 # via environs -django==5.1b1 +django==5.1rc1 # via # hatch.envs.dev # dj-database-url @@ -180,7 +180,7 @@ typing-extensions==4.12.2 # stripe urllib3==2.2.2 # via requests -uvicorn==0.30.3 +uvicorn==0.30.4 # via hatch.envs.dev wheel==0.43.0 # via pip-tools