From ab15a54e59376419d8cb20effcd3708a16844cac Mon Sep 17 00:00:00 2001 From: Nikhil <118773738+pablohashescobar@users.noreply.github.com> Date: Thu, 2 May 2024 16:14:58 +0530 Subject: [PATCH] [WEB -1149] dev: update dependencies (#4333) * dev: upgrade dependencies remove unwanted dependency and add ruff as local dependency * dev: add comments --- apiserver/plane/api/views/issue.py | 1 - apiserver/requirements/base.txt | 90 +++++++++++++++++---------- apiserver/requirements/local.txt | 6 +- apiserver/requirements/production.txt | 2 +- apiserver/requirements/test.txt | 2 +- 5 files changed, 64 insertions(+), 37 deletions(-) diff --git a/apiserver/plane/api/views/issue.py b/apiserver/plane/api/views/issue.py index 46a6b6937..8d72ac5db 100644 --- a/apiserver/plane/api/views/issue.py +++ b/apiserver/plane/api/views/issue.py @@ -32,7 +32,6 @@ from plane.api.serializers import ( LabelSerializer, ) from plane.app.permissions import ( - WorkspaceEntityPermission, ProjectEntityPermission, ProjectLitePermission, ProjectMemberPermission, diff --git a/apiserver/requirements/base.txt b/apiserver/requirements/base.txt index e33d580de..05789af59 100644 --- a/apiserver/requirements/base.txt +++ b/apiserver/requirements/base.txt @@ -1,37 +1,63 @@ # base requirements +# django Django==4.2.11 -psycopg==3.1.12 -djangorestframework==3.14.0 -redis==4.6.0 -django-cors-headers==4.2.0 -whitenoise==6.5.0 -django-allauth==0.55.2 -faker==18.11.2 -django-filter==23.2 -jsonmodels==2.6.0 -djangorestframework-simplejwt==5.3.0 -sentry-sdk==1.30.0 -django-storages==1.14 -django-crum==0.7.9 -google-auth==2.22.0 -google-api-python-client==2.97.0 -django-redis==5.3.0 -uvicorn==0.23.2 -channels==4.0.0 -openai==1.2.4 -slack-sdk==3.21.3 -celery==5.3.4 -django_celery_beat==2.5.0 -psycopg-binary==3.1.12 -psycopg-c==3.1.12 -scout-apm==2.26.1 -openpyxl==3.1.2 -python-json-logger==2.0.7 -beautifulsoup4==4.12.2 +# rest framework +djangorestframework==3.15.1 +# postgres +psycopg==3.1.18 +psycopg-binary==3.1.18 +psycopg-c==3.1.18 dj-database-url==2.1.0 -posthog==3.0.2 -cryptography==42.0.4 -lxml==4.9.3 -boto3==1.28.40 +# redis +redis==5.0.4 +django-redis==5.4.0 +# cors +django-cors-headers==4.3.1 +# celery +celery==5.4.0 +django_celery_beat==2.6.0 +# file serve +whitenoise==6.6.0 +# fake data +faker==25.0.0 +# filters +django-filter==24.2 +# json model +jsonmodels==2.7.0 +# sentry +sentry-sdk==2.0.1 +# storage +django-storages==1.14.2 +# user management +django-crum==0.7.9 +# web server +uvicorn==0.29.0 +# sockets +channels==4.1.0 +# ai +openai==1.25.0 +# slack +slack-sdk==3.27.1 +# apm +scout-apm==3.1.0 +# xlsx generation +openpyxl==3.1.2 +# logging +python-json-logger==2.0.7 +# html parser +beautifulsoup4==4.12.3 +# analytics +posthog==3.5.0 +# crypto +cryptography==42.0.5 +# html validator +lxml==5.2.1 +# s3 +boto3==1.34.96 +# password validator zxcvbn==4.4.28 +# timezone +pytz==2024.1 +# jwt +jwt==1.3.1 \ No newline at end of file diff --git a/apiserver/requirements/local.txt b/apiserver/requirements/local.txt index 426236ed8..02792201b 100644 --- a/apiserver/requirements/local.txt +++ b/apiserver/requirements/local.txt @@ -1,3 +1,5 @@ -r base.txt - -django-debug-toolbar==4.1.0 \ No newline at end of file +# debug toolbar +django-debug-toolbar==4.3.0 +# formatter +ruff==0.4.2 \ No newline at end of file diff --git a/apiserver/requirements/production.txt b/apiserver/requirements/production.txt index bea44fcfe..ed763c0df 100644 --- a/apiserver/requirements/production.txt +++ b/apiserver/requirements/production.txt @@ -1,3 +1,3 @@ -r base.txt - +# server gunicorn==22.0.0 diff --git a/apiserver/requirements/test.txt b/apiserver/requirements/test.txt index d3272191e..1ffc82d00 100644 --- a/apiserver/requirements/test.txt +++ b/apiserver/requirements/test.txt @@ -1,4 +1,4 @@ -r base.txt - +# test checker pytest==7.1.2 coverage==6.5.0 \ No newline at end of file