Skip to content

Commit

Permalink
Merge pull request #1825 from alphagov/upgrade-python-3.11
Browse files Browse the repository at this point in the history
Upgrade python 3.11
  • Loading branch information
kentsanggds authored Sep 5, 2024
2 parents 531001e + b288ab6 commit 72215c9
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
app:
- name: ckan
version: 2.10.4
patch: c
patch: d
- name: pycsw
version: 2.6.1
patch: j
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
name: test
runs-on: ubuntu-latest
container:
image: ghcr.io/alphagov/ckan:2.10.4-a-base
image: ghcr.io/alphagov/ckan:2.10.4-d-base
options: --user root
services:
solr:
Expand Down
2 changes: 1 addition & 1 deletion docker/ckan/2.10.4-base.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM --platform=$TARGETPLATFORM ghcr.io/alphagov/ckan:2.10.4-b-core
FROM --platform=$TARGETPLATFORM ghcr.io/alphagov/ckan:2.10.4-d-core

COPY production.ini $CKAN_CONFIG/production.ini
# Set CKAN_INI
Expand Down
6 changes: 3 additions & 3 deletions docker/ckan/2.10.4-core.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ RUN apt-get -q -y update \
&& apt-get -q -y install \
python3-pip \
python3-wheel \
python3.10-venv \
python3.10-dev \
python3.11-venv \
python3.11-dev \
libpq-dev \
libmagic-dev \
libxml2-dev \
Expand Down Expand Up @@ -53,7 +53,7 @@ RUN useradd -r -u 900 -m -c "ckan account" -d $CKAN_HOME -s /bin/false ckan

# Setup virtual environment for CKAN
RUN mkdir -p $CKAN_VENV $CKAN_CONFIG $CKAN_STORAGE_PATH && \
python3.10 -m venv $CKAN_VENV && \
python3.11 -m venv $CKAN_VENV && \
ln -s $CKAN_VENV/bin/ckan /usr/local/bin/ckan


Expand Down
2 changes: 1 addition & 1 deletion docker/ckan/2.10.4.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM --platform=$TARGETPLATFORM ghcr.io/alphagov/ckan:2.10.4-c-base
FROM --platform=$TARGETPLATFORM ghcr.io/alphagov/ckan:2.10.4-d-base

USER root

Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ lxml<5.1.1
numpy==1.26.3
pandas==2.2.1
#prometheus-flask-exporter==0.20.3 # installed in Dockerfile before CKAN
psycopg2==2.8.6
psycopg2==2.9.9
python-slugify==5.0.2
pytest==6.2.5
openpyxl==3.1.2
Expand Down

0 comments on commit 72215c9

Please sign in to comment.