Skip to content

Commit

Permalink
Update standard dev and test python version to 3.8 (#1668)
Browse files Browse the repository at this point in the history
* Adapt to python 3.8 in local dev and test
* Update to python 3.8 as standard in CI
  • Loading branch information
jwkaltz authored Jan 10, 2023
1 parent 2ef29ed commit c16307e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,10 @@ jobs:
needs: [lint, gitattributes]
steps:
- uses: actions/checkout@master
- name: Set up Python 3.7
- name: Set up Python 3.8
uses: actions/setup-python@v4
with:
python-version: 3.7
python-version: 3.8
- name: Install pypa/build
run: >-
python -m
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/daily_check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@ jobs:
env:
PYTHON_TEST_VERSION: ${{ matrix.python-version }}
run: make tests
- name: Set up Python 3.7
- name: Set up Python 3.8
uses: actions/setup-python@v4
with:
python-version: 3.7
python-version: 3.8
- name: Install pypa/build
run: >-
python -m
Expand Down
8 changes: 3 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
FROM python:3.7-buster
FROM python:3.8-buster

ENV DEBIAN_FRONTEND=noninteractive
ENV VIRTUALENV_PYTHON=/usr/bin/python3.7
ENV VIRTUALENV_PYTHON=/usr/bin/python3.8

ARG DEV_PACKAGES="python3-dev build-essential"
ARG DEV_PACKAGES="build-essential"

RUN apt-get update && \
apt-get install --yes --no-install-recommends \
python3-venv \
virtualenv \
${DEV_PACKAGES} \
zsh \
vim \
Expand Down

0 comments on commit c16307e

Please sign in to comment.