From 3aca7902129fa3af9d7510cdcc0c6f9de8d12f58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sascha=20I=C3=9Fbr=C3=BCcker?= Date: Sun, 4 Sep 2022 10:05:29 +0200 Subject: [PATCH] Bump python version to 3.10 (#333) * Bump python version to 3.10 * Fix python version in CI config * Bump to python 3.10.6 --- .github/workflows/main.yaml | 2 +- Dockerfile | 4 ++-- README.md | 4 ++-- requirements.prod.txt | 1 - requirements.txt | 1 - 5 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index acbdecb..ded1afe 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -11,7 +11,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v1 with: - python-version: 3.9 + python-version: "3.10" - name: Set up Node uses: actions/setup-node@v2 with: diff --git a/Dockerfile b/Dockerfile index 6ad4861..fc2569b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ COPY . . RUN npm run build -FROM python:3.9.6-slim-buster AS python-base +FROM python:3.10.6-slim-buster AS python-base RUN apt-get update && apt-get -y install build-essential WORKDIR /etc/linkding @@ -33,7 +33,7 @@ RUN mkdir /opt/venv && \ /opt/venv/bin/pip install -Ur requirements.txt -FROM python:3.9.6-slim-buster as final +FROM python:3.10.6-slim-buster as final RUN apt-get update && apt-get -y install mime-support WORKDIR /etc/linkding # copy prod dependencies diff --git a/README.md b/README.md index 3ec7299..fae13f2 100644 --- a/README.md +++ b/README.md @@ -140,10 +140,10 @@ JetBrains provides an open-source license of [IntelliJ IDEA](https://www.jetbrai ## Development -The application is open source, so you are free to modify or contribute. The application is built using the Django web framework. You can get started by checking out the excellent Django docs: https://docs.djangoproject.com/en/3.2/. The `bookmarks` folder contains the actual bookmark application, `siteroot` is the Django root application. Other than that the code should be self-explanatory / standard Django stuff 🙂. +The application is open source, so you are free to modify or contribute. The application is built using the Django web framework. You can get started by checking out the excellent [Django docs](https://docs.djangoproject.com/en/4.1/). The `bookmarks` folder contains the actual bookmark application, `siteroot` is the Django root application. Other than that the code should be self-explanatory / standard Django stuff 🙂. ### Prerequisites -- Python 3 +- Python 3.10 - Node.js ### Setup diff --git a/requirements.prod.txt b/requirements.prod.txt index 837d0af..6051a8c 100644 --- a/requirements.prod.txt +++ b/requirements.prod.txt @@ -1,5 +1,4 @@ asgiref==3.5.2 -backports.zoneinfo==0.2.1 beautifulsoup4==4.11.1 certifi==2022.6.15 charset-normalizer==2.1.1 diff --git a/requirements.txt b/requirements.txt index 57a8c5b..5c7c660 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,4 @@ asgiref==3.5.2 -backports.zoneinfo==0.2.1 beautifulsoup4==4.11.1 certifi==2022.6.15 charset-normalizer==2.1.1