Skip to content

Commit

Permalink
move dependencies from requirement.txt to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
dpgraham4401 committed Sep 7, 2024
1 parent d2ccfaf commit dd3fb0a
Show file tree
Hide file tree
Showing 4 changed files with 1,374 additions and 43 deletions.
48 changes: 44 additions & 4 deletions server/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,31 @@ authors = [
maintainers = [
{ name = "David Graham", email = "[email protected]" },
]
classifiers = [
"Framework :: Django",
"Programming Language :: Python :: 3",
]

dependencies = [
"Django==5.0.8",
"django-celery-results==2.5.1",
"django-cors-headers==4.4.0",
"django-extensions==3.2.3",
"django-celery-beat==2.6.0",
"djangorestframework==3.15.2",
"gunicorn==22.0.0",
"emanifest==4.0.3",
"psycopg[binary]==3.2.1",
"pytz==2024.1",
"sqlparse==0.5.1",
"tzdata==2024.1",
"whitenoise==6.6.0",
"celery==5.4.0",
"redis==5.0.8",
"drf-spectacular==0.27.2",
"django-health-check==3.18.3",
"dj-rest-auth[with_social]==6.0.0",
"django-guardian==2.4.0",
"django-allauth==0.61.1",
"djangorestframework-simplejwt==5.3.1",
"pillow==10.4.0"
]
license = { text = "MIT" }
requires-python = ">=3.12"

Expand Down Expand Up @@ -77,3 +97,23 @@ warn_no_return = true
[tool.django-stubs]
django_settings_module = ".haztrak.settings.test"
strict_settings = false

[tool.uv]
dev-dependencies = [
"pytest-mock==3.14.0",
"pre-commit==3.8.0",
"pytest==8.2.2",
"pytest-django==4.8.0",
"responses==0.25.3",
"ruff==0.5.6",
"celery-types==0.22.0",
"djangorestframework-stubs==3.15.0",
"ruff-lsp==0.0.54",
"django-stubs==5.0.4",
"django-stubs-ext==5.0.4",
"Faker==26.1.0",
"coverage==7.5.4",
"pytest-xdist==3.6.1",
"mypy==1.11.1",
"mypy-extensions==1.0.0",
]
22 changes: 0 additions & 22 deletions server/requirements.txt

This file was deleted.

17 changes: 0 additions & 17 deletions server/requirements_dev.txt

This file was deleted.

Loading

0 comments on commit dd3fb0a

Please sign in to comment.