ci: default to python39

This commit is contained in:
usov_i 2023-12-07 14:52:41 +01:00 committed by usov_i
parent 1c44912a90
commit ad10fb93f5
11 changed files with 13 additions and 17 deletions

View File

@ -1,7 +1,7 @@
# This file is a template, and might need editing before it works on your project. # This file is a template, and might need editing before it works on your project.
# Official language image. Look for the different tagged releases at: # Official language image. Look for the different tagged releases at:
# https://hub.docker.com/r/library/python/tags/ # https://hub.docker.com/r/library/python/tags/
image: $CI_DOCKER_REGISTRY/python:3.8 image: $CI_DOCKER_REGISTRY/python:3.9
#commands to run in the Docker container before starting each job. #commands to run in the Docker container before starting each job.
variables: variables:
DOCKER_TLS_CERTDIR: "" DOCKER_TLS_CERTDIR: ""
@ -76,7 +76,7 @@ pylint:
paths: paths:
- ./pylint/ - ./pylint/
expire_in: 1 week expire_in: 1 week
pylint-check: pylint-check:
stage: Formatter stage: Formatter
needs: [] needs: []

View File

@ -1,5 +1,5 @@
# set base image (host OS) # set base image (host OS)
FROM morgana-harbor.psi.ch/bec/python:3.8 FROM morgana-harbor.psi.ch/bec/python:3.9
# set the working directory in the container # set the working directory in the container
WORKDIR /code WORKDIR /code

View File

@ -48,7 +48,7 @@ while getopts "hsc:rt" o; do
esac esac
done done
conda_deps=(python=3.8) conda_deps=(python=3.9)
# check if tmux should be installed # check if tmux should be installed
if [ "$skip_tmux" = false ]; then if [ "$skip_tmux" = false ]; then
@ -126,7 +126,3 @@ else # install all packages in one virtual environment
cd ../ cd ../
echo "Created virtual environment for all packages" echo "Created virtual environment for all packages"
fi fi

View File

@ -1,5 +1,5 @@
# set base image (host OS) # set base image (host OS)
FROM morgana-harbor.psi.ch/bec/python:3.8 FROM morgana-harbor.psi.ch/bec/python:3.9
# set the working directory in the container # set the working directory in the container
WORKDIR /code WORKDIR /code

View File

@ -1,5 +1,5 @@
# set base image (host OS) # set base image (host OS)
FROM morgana-harbor.psi.ch/bec/python:3.8 FROM morgana-harbor.psi.ch/bec/python:3.9
# set the working directory in the container # set the working directory in the container
WORKDIR /code WORKDIR /code

View File

@ -12,7 +12,7 @@ In that sense, installing BEC in _[dev]_ mode, is the right choice in case you l
**Requirements:** **Requirements:**
--- ---
- python (>=3.8) - python (>=3.9)
- [redis](https://redis.io) - [redis](https://redis.io)
- tmux (=3.2) - tmux (=3.2)
--- ---

View File

@ -8,7 +8,7 @@ If you need to install BEC yourself, the following section will guide you throug
**Requirements:** **Requirements:**
--- ---
- python (>=3.8) - python (>=3.9)
- redis - redis
- tmux (=3.2) - tmux (=3.2)
--- ---
@ -60,4 +60,4 @@ More detailed information about Redis and the BEC server can be found in [archit
bec bec
``` ```
BEC is running now and you would be ready to load your first device configuration. BEC is running now and you would be ready to load your first device configuration.
To this end, please follow the instructions given in the section [devices](#user.devices). To this end, please follow the instructions given in the section [devices](#user.devices).

View File

@ -1,5 +1,5 @@
# set base image (host OS) # set base image (host OS)
FROM morgana-harbor.psi.ch/bec/python:3.8 FROM morgana-harbor.psi.ch/bec/python:3.9
# set the working directory in the container # set the working directory in the container
WORKDIR /code WORKDIR /code

View File

@ -1,5 +1,5 @@
# set base image (host OS) # set base image (host OS)
FROM morgana-harbor.psi.ch/bec/python:3.8 FROM morgana-harbor.psi.ch/bec/python:3.9
# set the working directory in the container # set the working directory in the container
WORKDIR /code WORKDIR /code

View File

@ -1,5 +1,5 @@
# set base image (host OS) # set base image (host OS)
FROM morgana-harbor.psi.ch/bec/python:3.8 FROM morgana-harbor.psi.ch/bec/python:3.9
# set the working directory in the container # set the working directory in the container
WORKDIR /code WORKDIR /code

View File

@ -1,5 +1,5 @@
# set base image (host OS) # set base image (host OS)
FROM morgana-harbor.psi.ch/bec/python:3.8 FROM morgana-harbor.psi.ch/bec/python:3.9
# set the working directory in the container # set the working directory in the container
WORKDIR /code WORKDIR /code