Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Run linting rules
uses: actions/setup-python@v4
with:
python-version: '3.12'
python-version: '3.13'
cache: 'pip'
- run: pip install -r requirements.txt
- run: pylint -j0 core/
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.12"
python-version: "3.13"
- name: Cache pip dependencies
uses: actions/cache@v3
with:
Expand Down Expand Up @@ -137,7 +137,7 @@ jobs:
# string hash randomization. Pinning the seed makes that pick land on `value<Type>` deterministically instead
# of varying by CI run. See OpenConceptLab/ocl_issues#2708.
PYTHONHASHSEED: "2"
# Python 3.12's low-overhead tracer; fine since we measure line coverage only
# Python 3.12+ low-overhead tracer; fine since we measure line coverage only
COVERAGE_CORE: sysmon
run: |
. venv/bin/activate
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Run linting rules
uses: actions/setup-python@v4
with:
python-version: '3.12'
python-version: '3.13'
cache: 'pip'
- run: pip install -r requirements.txt
- run: pylint -j0 core/
Expand Down Expand Up @@ -64,7 +64,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.12"
python-version: "3.13"
- name: Cache pip dependencies
uses: actions/cache@v3
with:
Expand Down Expand Up @@ -130,7 +130,7 @@ jobs:
# string hash randomization. Pinning the seed makes that pick land on `value<Type>` deterministically instead
# of varying by CI run. See OpenConceptLab/ocl_issues#2708.
PYTHONHASHSEED: "2"
# Python 3.12's low-overhead tracer; fine since we measure line coverage only
# Python 3.12+ low-overhead tracer; fine since we measure line coverage only
COVERAGE_CORE: sysmon
run: |
. venv/bin/activate
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.12-slim AS builder
FROM python:3.13-slim AS builder
ENV PYTHONUNBUFFERED 1
ENV PYTHONDONTWRITEBYTECODE 1

Expand All @@ -14,7 +14,7 @@ ADD requirements.txt /code/

RUN pip wheel --no-cache-dir --wheel-dir /code/wheels -r requirements.txt

FROM python:3.12-slim
FROM python:3.13-slim
ENV PYTHONUNBUFFERED 1
ENV PYTHONDONTWRITEBYTECODE 1

Expand Down
7 changes: 4 additions & 3 deletions core/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -389,14 +389,15 @@ def get_set_from_env(name):

USE_I18N = True

USE_L10N = True

USE_TZ = True

# Static files (CSS, JavaScript, Images)
STATIC_URL = '/static/'
STATIC_ROOT = '/staticfiles'
STATICFILES_STORAGE = 'whitenoise.storage.CompressedStaticFilesStorage'
STORAGES = {
'default': {'BACKEND': 'django.core.files.storage.FileSystemStorage'},
'staticfiles': {'BACKEND': 'whitenoise.storage.CompressedStaticFilesStorage'},
}

AUTH_USER_MODEL = 'users.UserProfile'
TEST_RUNNER = 'core.common.tests.CustomTestRunner'
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# on arm64 they run under Rosetta/QEMU emulation, and once Celery indexing
# kicks in the emulated cores saturate hard enough to block the API for
# tens of seconds at a time. Building from the local Dockerfile (which uses
# python:3.12-slim, a multi-arch base) gives a native image and ~200x faster
# python:3.13-slim, a multi-arch base) gives a native image and ~200x faster
# requests in practice.
#
# Usage:
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ djangorestframework==3.18.2
pylint==4.0.9
pydash==7.0.6
django-cors-headers==4.9.0
pyyaml==6.0.1
pyyaml==6.0.3
colour_runner==0.1.1
boto3==1.36.10
moto==5.0.27
Expand Down Expand Up @@ -43,7 +43,7 @@ jsondiff==2.0.0
django-silk==5.5.0
azure-storage-blob==12.19.0
fhir.resources[xml]==8.3.0
ijson==3.2.3
ijson==3.4.0
responses==0.25.0
pydantic==2.10.6
minio==7.2.9
Expand Down
Loading