Add Stripe to requirements

This commit is contained in:
Benjamin Bach 2024-07-30 00:24:16 +02:00
parent e2f4a66645
commit 78b3264bb6
No known key found for this signature in database
GPG key ID: 486F0D69C845416E
4 changed files with 55 additions and 33 deletions

View file

@ -1,3 +1,4 @@
.PHONY: run pre_commit_install pre_commit_run_all makemigrations migrate createsuperuser shell manage_command build requirements
DOCKER_COMPOSE = COMPOSE_DOCKER_CLI_BUILD=1 DOCKER_BUILDKIT=1 docker compose
DOCKER_RUN = ${DOCKER_COMPOSE} run -u `id -u`
MANAGE_EXEC = python /app/src/manage.py
@ -29,3 +30,6 @@ manage_command:
build:
${DOCKER_COMPOSE} build
requirements:
hatch run dev:requirements

View file

@ -23,7 +23,8 @@ dependencies = [
"django-registries==0.0.3",
"django-view-decorator==0.0.4",
"django-oauth-toolkit==2.4.0",
"django_stubs_ext",
"django_stubs_ext~=5.0",
"stripe~=10.5",
]
version = "0.0.1"
@ -67,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 --output-file requirements/base.txt pyproject.toml"
requirements = "pip-compile pyproject.toml"
server = "./src/manage.py runserver 0.0.0.0:8000"
migrate = "./src/manage.py migrate"
makemigrations = "./src/manage.py makemigrations"

View file

@ -1,19 +1,9 @@
#
# This file is autogenerated by hatch-pip-compile with Python 3.12
# This file is autogenerated by pip-compile with Python 3.12
# by the following command:
#
# - django-allauth==0.63.6
# - django-money==3.5.2
# - django-oauth-toolkit==2.4.0
# - django-registries==0.0.3
# - django-view-decorator==0.0.4
# - django-zen-queries==2.1.0
# - django<5.2,>=5.1b1
# - environs[django]==11.0.0
# - psycopg[binary]==3.2.1
# - uvicorn==0.30.1
# - whitenoise==6.7.0
# pip-compile pyproject.toml
#
asgiref==3.8.1
# via django
babel==2.15.0
@ -34,30 +24,35 @@ dj-email-url==1.0.6
# via environs
django==5.1b1
# via
# hatch.envs.default
# dj-database-url
# django-allauth
# django-money
# django-oauth-toolkit
# django-registries
# django-stubs-ext
# django-view-decorator
# django-zen-queries
# membersystem (pyproject.toml)
django-allauth==0.63.6
# via hatch.envs.default
# via membersystem (pyproject.toml)
django-cache-url==3.4.5
# via environs
django-money==3.5.2
# via hatch.envs.default
# via membersystem (pyproject.toml)
django-oauth-toolkit==2.4.0
# via hatch.envs.default
# via membersystem (pyproject.toml)
django-registries==0.0.3
# via hatch.envs.default
# via membersystem (pyproject.toml)
django-stubs-ext==5.0.4
# via membersystem (pyproject.toml)
django-view-decorator==0.0.4
# via hatch.envs.default
# via membersystem (pyproject.toml)
django-zen-queries==2.1.0
# via hatch.envs.default
environs==11.0.0
# via hatch.envs.default
# via membersystem (pyproject.toml)
environs[django]==11.0.0
# via
# environs
# membersystem (pyproject.toml)
h11==0.14.0
# via uvicorn
idna==3.7
@ -70,8 +65,10 @@ oauthlib==3.2.2
# via django-oauth-toolkit
packaging==24.1
# via marshmallow
psycopg==3.2.1
# via hatch.envs.default
psycopg[binary]==3.2.1
# via
# membersystem (pyproject.toml)
# psycopg
psycopg-binary==3.2.1
# via psycopg
py-moneyed==3.0
@ -83,21 +80,27 @@ python-dotenv==1.0.1
pytz==2024.1
# via django-oauth-toolkit
requests==2.32.3
# via django-oauth-toolkit
# via
# django-oauth-toolkit
# stripe
sqlparse==0.5.1
# via django
stripe==10.5.0
# via membersystem (pyproject.toml)
typing-extensions==4.12.2
# via
# dj-database-url
# django-stubs-ext
# jwcrypto
# psycopg
# py-moneyed
# stripe
urllib3==2.2.2
# via requests
uvicorn==0.30.1
# via hatch.envs.default
# via membersystem (pyproject.toml)
whitenoise==6.7.0
# via hatch.envs.default
# via membersystem (pyproject.toml)
# The following packages are considered to be unsafe in a requirements file:
# setuptools

View file

@ -15,11 +15,13 @@
# - django-money==3.5.2
# - django-oauth-toolkit==2.4.0
# - django-registries==0.0.3
# - django-stubs-ext~=5.0
# - django-view-decorator==0.0.4
# - django-zen-queries==2.1.0
# - django<5.2,>=5.1b1
# - environs[django]==11.0.0
# - psycopg[binary]==3.2.1
# - stripe~=10.5
# - uvicorn==0.30.1
# - whitenoise==6.7.0
#
@ -45,6 +47,7 @@ click==8.1.7
coverage==7.3.0
# via
# hatch.envs.dev
# coverage
# pytest-cov
cryptography==42.0.8
# via jwcrypto
@ -84,13 +87,17 @@ django-registries==0.0.3
django-stubs==1.16.0
# via hatch.envs.dev
django-stubs-ext==5.0.2
# via django-stubs
# via
# hatch.envs.dev
# django-stubs
django-view-decorator==0.0.4
# via hatch.envs.dev
django-zen-queries==2.1.0
# via hatch.envs.dev
environs==11.0.0
# via hatch.envs.dev
# via
# hatch.envs.dev
# environs
h11==0.14.0
# via uvicorn
idna==3.7
@ -121,7 +128,9 @@ pip-tools==7.3.0
pluggy==1.5.0
# via pytest
psycopg==3.2.1
# via hatch.envs.dev
# via
# hatch.envs.dev
# psycopg
psycopg-binary==3.2.1
# via psycopg
py-moneyed==3.0
@ -144,11 +153,15 @@ python-dotenv==1.0.1
pytz==2024.1
# via django-oauth-toolkit
requests==2.32.3
# via django-oauth-toolkit
# via
# django-oauth-toolkit
# stripe
sqlparse==0.5.1
# via
# django
# django-debug-toolbar
stripe==10.5.0
# via hatch.envs.dev
tomli==2.0.1
# via django-stubs
types-pytz==2024.1.0.20240417
@ -164,6 +177,7 @@ typing-extensions==4.12.2
# mypy
# psycopg
# py-moneyed
# stripe
urllib3==2.2.2
# via requests
uvicorn==0.30.1