Skip to content
Snippets Groups Projects
Commit 983e5465 authored by Jan Bernoth's avatar Jan Bernoth
Browse files

Updated Packages and Python

parent 2062219d
No related branches found
No related tags found
1 merge request!297Merge Changes
Pipeline #102403 passed
# build stage
FROM python:3.9-slim as build-env
FROM python:3.11-slim as build-env
ENV PYTHONDONTWRITEBYTECODE 1
ENV PYTHONUNBUFFERED 1
......@@ -34,7 +34,7 @@ RUN --mount=type=cache,target=/app/.cache \
pip wheel --no-deps --progress-bar off --wheel-dir /app/wheels -r requirements.txt
# base stage
FROM python:3.9-slim as base
FROM python:3.11-slim as base
# pip install dir
ENV PYROOT /app
......
......@@ -4,33 +4,33 @@ verify_ssl = true
name = "pypi"
[packages]
beautifulsoup4 = "~=4.11.1" # extract text from html to have training articles
beautifulsoup4 = "~=4.12.2" # extract text from html to have training articles
celery = "~=5.2.7" # use asynchronous tasks
coverage = "~=6.4.4" # generated test coverage report
Django = "~=4.0.7" # the server framework
djangorestframework = "~=3.13.1" # gives django serializer options and an easy way to create an API
django-celery-beat = "~=2.3.0" # schedule periodical tasks with celery for nightly db jobs
django-cors-headers = "~=3.13.0" # maybe is not used
coverage = "~=7.2.6" # generated test coverage report
Django = "~=4.2.1" # the server framework
djangorestframework = "~=3.14.0" # gives django serializer options and an easy way to create an API
django-celery-beat = "~=2.5.0" # schedule periodical tasks with celery for nightly db jobs
django-cors-headers = "~=4.0.0" # maybe is not used
django-health-check = "~=3.17.0" # to monitor in django which systems are alive
django-redis = "~=5.2.0" # broker for celery
drf-yasg = "~=1.21.3" # swagger/Open API auto creator for djangorestframework
drf-yasg = "~=1.21.5" # swagger/Open API auto creator for djangorestframework
flower = "~=1.2.0" # dashboard to see jobs and results of celery
mysqlclient = "~=2.1.1" # database backend for django
nltk = "~=3.7" # nlp algorithms for topic labelling
numpy = "~=1.23.3" # used for vectors in text extraction and article generation
opencv-python-headless = "~=4.6.0.66" # creates bounding boxes to detect columns in articles
pandas = "~=1.5.0" # dataframes for prediction and article generation
pdfplumber = "~=0.7.4" # reads out the article texts from pdfs
plotly = "~=5.10.0" # visualize article generation
python-dotenv = "~=0.21.0" # to use .env files for docker-compose configuration
nltk = "~=3.8.1" # nlp algorithms for topic labelling
numpy = "~=1.24.3" # used for vectors in text extraction and article generation
opencv-python-headless = "~=4.7.0.72" # creates bounding boxes to detect columns in articles
pandas = "~=2.0.1" # dataframes for prediction and article generation
pdfplumber = "~=0.9.0" # reads out the article texts from pdfs
plotly = "~=5.14.1" # visualize article generation
python-dotenv = "~=1.0.0" # to use .env files for docker-compose configuration
python-magic = "~=0.4.27" # libmagic is used in text extraction
scikit-learn = "~=1.1.2" # algorithms were used for topic labelling
scikit-learn = "~=1.2.2" # algorithms were used for topic labelling
[dev-packages]
pylint = "~=2.15.3"
pylint = "~=2.17.4"
pylint-django = "~=2.5.3"
flake8 = "~=5.0.4"
black = "~=22.10.0"
flake8 = "~=6.0.0"
black = "~=23.3.0"
[requires]
python_version = "3.9"
python_version = "3.11"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment