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
This commit is contained in:
Sascha Ißbrücker 2022-09-04 10:05:29 +02:00 committed by GitHub
parent 38f4dd2bea
commit 3aca790212
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 7 deletions

View file

@ -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:

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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