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

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

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