Skip to content

Commit

Permalink
fix: install cfl package dev extra (#298)
Browse files Browse the repository at this point in the history
* fix: install cfl package dev extra

* use new version

* feedback
  • Loading branch information
SKairinos authored Feb 12, 2024
1 parent 80968af commit 552fbfe
Show file tree
Hide file tree
Showing 2 changed files with 933 additions and 165 deletions.
35 changes: 10 additions & 25 deletions backend/Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,16 @@ verify_ssl = true
name = "pypi"

[packages]
# Before adding a new package, check it's not listed under [packages] at
# https://github.com/ocadotechnology/codeforlife-package-python/blob/{ref}/Pipfile
# Replace "{ref}" in the above URL with the ref set below.
codeforlife = {ref = "v0.13.2", git = "https://github.com/ocadotechnology/codeforlife-package-python.git"}
# TODO: check if we need the below packages
whitenoise = "==6.5.0"
django-countries = "==7.3.1"
django-pipeline = "==2.0.8"
django-recaptcha = "==2.0.6"
pyyaml = "==5.4.1"
importlib-metadata = "==4.13.0"
reportlab = "==3.6.13"
django-formtools = "==2.2"
django-otp = "==1.0.2" # we needed to fix this due to a wide ranged dependency in django-two-factor-auth
requests = "==2.31.0"
django-treebeard = "==4.3.1"
django-sekizai = "==2.0.0"
Expand All @@ -28,40 +29,24 @@ google-cloud-logging = "==1.*"
google-auth = "==2.*"
google-cloud-container = "==2.3.0"
# "django-anymail[amazon_ses]" = "==7.0.*"
codeforlife = {ref = "v0.13.0", git = "https://github.com/ocadotechnology/codeforlife-package-python.git"}
django = "==3.2.24"
djangorestframework = "==3.13.1"
django-cors-headers = "==4.1.0"
# https://pypi.org/user/codeforlife/
cfl-common = "==6.40.1" # TODO: remove
codeforlife-portal = "==6.40.1" # TODO: remove
aimmo = "==2.11.1" # TODO: remove
rapid-router = "==5.16.13" # TODO: remove
phonenumbers = "==8.12.12" # TODO: remove

[dev-packages]
# Before adding a new package, check it's not listed under [dev-packages] at
# https://github.com/ocadotechnology/codeforlife-package-python/blob/{ref}/Pipfile
# Replace "{ref}" in the above URL with the ref set below.
codeforlife = {ref = "v0.13.2", git = "https://github.com/ocadotechnology/codeforlife-package-python.git", extras = ["dev"]}
# TODO: check if we need the below packages
django-selenium-clean = "==0.3.3"
django-test-migrations = "==1.2.0"
responses = "==0.18.0"
selenium = "==3.141.0"
snapshottest = "==0.6.0"
pytest-django = "==4.5.2"
pytest = "==7.*"
django-import-export = "*"
pytest-cov = "*"
pytest-xdist = "*"
pytest-order = "*"
pyvirtualdisplay = "*"
pytest-mock = "*"
PyPDF2 = "==2.10.6"
black = "==23.12.1"
pytest-env = "==0.8.2"
mypy = "==1.6.1"
django-stubs = {version = "==4.2.6", extras = ["compatible-mypy"]}
djangorestframework-stubs = {version = "==3.14.4", extras = ["compatible-mypy"]}
pylint = "==3.0.2"
pylint-django = "==2.5.5"
isort = "==5.13.2"

[requires]
python_version = "3.8"
Loading

0 comments on commit 552fbfe

Please sign in to comment.