Skip to content

Commit

Permalink
MM-56529: update python version (#1426)
Browse files Browse the repository at this point in the history
* MM-56529: update python version

* MM-56529: update python version

* MM-56529: update permifrost version

* MM-56529: remove future versions of python
  • Loading branch information
ifoukarakis authored Jan 15, 2024
1 parent fc2e316 commit 806feed
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ jobs:
matrix:
include:
- { name: '3.10', python: '3.10' }
- { name: '3.7', python: '3.7' }
steps:
- name: checkout
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ DOCKER_REGISTRY_PERMIFROST_REPO ?= mattermost/${PERMIFROST_NAME}
DOCKER_USER ?= user
DOCKER_PASSWORD ?= password
## Docker Images
DOCKER_IMAGE_PYTHON += "python:3.8.15-slim@sha256:fc2f284772a4443ce7238930ba9a8d5e3c720926616fca074b99213484a3820f"
DOCKER_IMAGE_PYTHON += "python:3.10.13-slim@sha256:8f2783ef8daefbcaea50242479638d1c950ec43db2a345f066f635ef2ad1626f"
DOCKER_IMAGE_DOCKERLINT += "hadolint/hadolint:v2.9.2@sha256:d355bd7df747a0f124f3b5e7b21e9dafd0cb19732a276f901f0fdee243ec1f3b"
DOCKER_IMAGE_COSIGN += "bitnami/cosign:1.8.0@sha256:8c2c61c546258fffff18b47bb82a65af6142007306b737129a7bd5429d53629a"

Expand Down
8 changes: 4 additions & 4 deletions build/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG PYTHON_IMAGE=python:3.8.15-slim@sha256:fc2f284772a4443ce7238930ba9a8d5e3c720926616fca074b99213484a3820f
ARG PYTHON_IMAGE=python:3.10.13-slim@sha256:8f2783ef8daefbcaea50242479638d1c950ec43db2a345f066f635ef2ad1626f

## ---------------------------base stage ----------------------------- ##

Expand All @@ -22,13 +22,13 @@ ENV PYTHONUNBUFFERED 1
FROM base as builder

# Poetry version
ARG POETRY_VERSION=1.2.2
ARG POETRY_VERSION=1.7.1

# Install packages needed to build pandas/numpy etc
RUN apt-get update && apt-get install -y --no-install-recommends \
make=4.3-4.1 \
g++=4:10.2.1-1 \
git=1:2.30.2-1+deb11u2 && \
g++=4:12.2.0-3 \
git=1:2.39.2-1.1 && \
rm -rf /var/lib/apt/lists/*

# Sane python defaults
Expand Down
4 changes: 2 additions & 2 deletions build/permifrost.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG PYTHON_IMAGE=python:3.8.15-slim@sha256:fc2f284772a4443ce7238930ba9a8d5e3c720926616fca074b99213484a3820f
ARG PYTHON_IMAGE=python:3.10.13-slim@sha256:8f2783ef8daefbcaea50242479638d1c950ec43db2a345f066f635ef2ad1626f

## ---------------------------base stage ----------------------------- ##

Expand Down Expand Up @@ -33,7 +33,7 @@ RUN python3 -m venv $VIRTUAL_ENV
ENV PATH="$VIRTUAL_ENV/bin:$PATH"

# Install dependencies excluding dev and current package
RUN pip install "permifrost==0.1.0"
RUN pip install "permifrost==0.15.4"

## ---------------------------final stage ----------------------------- ##

Expand Down

0 comments on commit 806feed

Please sign in to comment.