Skip to content
Draft
Show file tree
Hide file tree
Changes from 4 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
9cc2225
Initial plan
Copilot Dec 8, 2025
37a5f41
Update Python version to 3.10 in Pipfile and Dockerfile
Copilot Dec 8, 2025
4173c3a
Update Dockerfile for Python 3.10 compatibility and add local build c…
Copilot Dec 8, 2025
93be52a
Add documentation comments for SSL workarounds in Dockerfile
Copilot Dec 8, 2025
9654350
Remove SSL workaround flags as they are not needed in production systems
Copilot Dec 8, 2025
c31442f
Upgrade to Python 3.10 and CKAN 2.11.4
A-Souhei Dec 12, 2025
6a6785c
Update submodule commits for CKAN 2.11.4 compatibility
A-Souhei Dec 12, 2025
5bb15d6
Update Pipfile.lock after adding frictionless dependency
A-Souhei Dec 12, 2025
4aa888d
Fix ckanext-pages installation
A-Souhei Dec 12, 2025
a63c79b
Remove sentry plugin from configuration
A-Souhei Dec 12, 2025
5f23078
Fix ckanext-versions SQLAlchemy 1.4 compatibility
A-Souhei Dec 12, 2025
5a1cb50
Update ckanext-versions: use Inspector for SQLAlchemy 1.4
A-Souhei Dec 12, 2025
5a75ce7
Fix SQLAlchemy 1.4 compatibility across all extensions
A-Souhei Dec 12, 2025
264d2d2
Add DataPusher API token configuration for CKAN 2.11.4 compatibility
A-Souhei Dec 12, 2025
55d7f65
Update ckanext-blob-storage submodule: fix setup.py version import
A-Souhei Dec 12, 2025
9b0f2bb
Add ckanext-pages as submodule and fix SQLAlchemy 1.4 compatibility i…
A-Souhei Dec 12, 2025
6c5dbef
Fix pipenv dependency installation and add missing packages
A-Souhei Dec 13, 2025
a49d38b
Add verbose output and error checking to pipenv install
A-Souhei Dec 13, 2025
a9edc90
Fix infinite recursion in ckanext-unaids user identification
A-Souhei Dec 13, 2025
236eabe
Add activity plugin to fix package_activity_list chained action
A-Souhei Dec 13, 2025
e164761
Fix ckanext-restricted AnonymousUser handling for CKAN 2.11.4
A-Souhei Dec 13, 2025
5943813
Fix ckanext-emailasusername for CKAN 2.11.4 User.by_email() change
A-Souhei Dec 13, 2025
291acb2
Add Flask 3.x compatibility patch for ckanext-saml2auth
A-Souhei Dec 13, 2025
3d15a74
Enhance SAML2 auth patching for Flask 3.x session serialization
A-Souhei Dec 13, 2025
c50dee6
Update migration docs with activity plugin troubleshooting notes
A-Souhei Dec 13, 2025
f867795
Update submodule URLs to use adx-tmp forks
A-Souhei Dec 13, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -137,4 +137,4 @@ pyfakefs = "==3.2"
twine = "*"

[requires]
python_version = "3.8"
python_version = "3.10"
15 changes: 10 additions & 5 deletions ckan/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.8
FROM python:3.10

# OCI Annotations from https://github.com/opencontainers/image-spec/blob/master/annotations.md
LABEL org.opencontainers.image.maintainer="support@fjelltopp.org"
Expand All @@ -22,8 +22,8 @@ RUN update-locale LANG=${LC_ALL}
## Install required system packages
RUN apt-get -q -y update \
&& apt-get -q -y install \
ca-certificates \
python-wheel-common \
python3-distutils \
libpq-dev \
libxml2-dev \
libxslt-dev \
Expand All @@ -42,9 +42,14 @@ RUN apt-get -q -y update \
jq \
&& apt-get -q clean \
&& rm -rf /var/lib/apt/lists/*
RUN pip3 install pipenv
RUN curl -sL https://deb.nodesource.com/setup_16.x | bash - && apt-get install nodejs npm -y && npm version
RUN npm install --global yarn
# Note: --trusted-host flags may be needed in some build environments with SSL inspection/proxies
# In production, these should be removed if proper certificate chains are available
RUN pip3 install --upgrade pip --trusted-host pypi.org --trusted-host files.pythonhosted.org
RUN pip3 install pipenv --trusted-host pypi.org --trusted-host files.pythonhosted.org
RUN curl -sL https://deb.nodesource.com/setup_16.x | bash - && apt-get update && apt-get install -y nodejs npm
# Note: strict-ssl false may be needed in some build environments with SSL inspection/proxies
# In production, remove this configuration if proper certificates are available
RUN npm config set strict-ssl false && npm install --global yarn && npm version
RUN mkdir -p /var/lib/ckan/resources && chmod 777 -R /var/lib/ckan

# Define environment variables
Expand Down
6 changes: 6 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ services:

ckan:
container_name: ckan
build:
context: ./ckan
dockerfile: Dockerfile
image: ghcr.io/fjelltopp/adx_develop/ckan_base:${CKAN_IMAGE_TAG}
deploy:
resources:
Expand Down Expand Up @@ -55,6 +58,9 @@ services:

supervisor:
container_name: supervisor
build:
context: ./ckan
dockerfile: Dockerfile
image: ghcr.io/fjelltopp/adx_develop/ckan_base:${CKAN_IMAGE_TAG}
depends_on:
- ckan
Expand Down