dev: remove unused packages (#3009)

* dev: remove unused packages

* dev: remove gunicorn config
This commit is contained in:
Nikhil 2023-12-06 18:28:34 +05:30 committed by sriram veeraghanta
parent b35874e294
commit b44dd26347
7 changed files with 2 additions and 22 deletions

View File

@ -79,7 +79,6 @@ COPY apiserver/manage.py manage.py
COPY apiserver/plane plane/ COPY apiserver/plane plane/
COPY apiserver/templates templates/ COPY apiserver/templates templates/
COPY apiserver/gunicorn.config.py ./
RUN apk --no-cache add "bash~=5.2" RUN apk --no-cache add "bash~=5.2"
COPY apiserver/bin ./bin/ COPY apiserver/bin ./bin/

View File

@ -44,7 +44,6 @@ COPY manage.py manage.py
COPY plane plane/ COPY plane plane/
COPY templates templates/ COPY templates templates/
COPY package.json package.json COPY package.json package.json
COPY gunicorn.config.py ./
USER root USER root
RUN apk --no-cache add "bash~=5.2" RUN apk --no-cache add "bash~=5.2"
COPY ./bin ./bin/ COPY ./bin ./bin/

0
apiserver/file.txt Normal file
View File

View File

@ -1,6 +0,0 @@
from psycogreen.gevent import patch_psycopg
def post_fork(server, worker):
patch_psycopg()
worker.log.info("Made Psycopg2 Green")

View File

@ -48,7 +48,6 @@ INSTALLED_APPS = [
"rest_framework.authtoken", "rest_framework.authtoken",
"rest_framework_simplejwt.token_blacklist", "rest_framework_simplejwt.token_blacklist",
"corsheaders", "corsheaders",
"taggit",
"django_celery_beat", "django_celery_beat",
"storages", "storages",
] ]

View File

@ -1,14 +1,9 @@
# base requirements # base requirements
Django==4.2.7 Django==4.2.7
django-braces==1.15.0
django-taggit==4.0.0
psycopg==3.1.12 psycopg==3.1.12
django-oauth-toolkit==2.3.0
mistune==3.0.1
djangorestframework==3.14.0 djangorestframework==3.14.0
redis==4.6.0 redis==4.6.0
django-nested-admin==4.0.2
django-cors-headers==4.2.0 django-cors-headers==4.2.0
whitenoise==6.5.0 whitenoise==6.5.0
django-allauth==0.55.2 django-allauth==0.55.2
@ -19,8 +14,6 @@ djangorestframework-simplejwt==5.3.0
sentry-sdk==1.30.0 sentry-sdk==1.30.0
django-storages==1.14 django-storages==1.14
django-crum==0.7.9 django-crum==0.7.9
django-guardian==2.4.0
dj_rest_auth==2.2.5
google-auth==2.22.0 google-auth==2.22.0
google-api-python-client==2.97.0 google-api-python-client==2.97.0
django-redis==5.3.0 django-redis==5.3.0
@ -39,3 +32,5 @@ dj-database-url==2.1.0
posthog==3.0.2 posthog==3.0.2
cryptography==41.0.5 cryptography==41.0.5
lxml==4.9.3 lxml==4.9.3
boto3==1.28.40

View File

@ -1,9 +1,3 @@
-r base.txt -r base.txt
gunicorn==21.2.0 gunicorn==21.2.0
whitenoise==6.5.0
boto3==1.28.40
django-anymail==10.1
django-debug-toolbar==4.1.0
gevent==23.7.0
psycogreen==1.0.2