diff --git a/.github/workflows/run-unit-tests.yml b/.github/workflows/run-unit-tests.yml index 46b4da23c..0f686baef 100644 --- a/.github/workflows/run-unit-tests.yml +++ b/.github/workflows/run-unit-tests.yml @@ -19,7 +19,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: 3.11.4 + python-version: 3.14 cache: 'pip' - name: Install dependencies diff --git a/.github/workflows/validate-language-info-files.yml b/.github/workflows/validate-language-info-files.yml index ac513a3dc..e057467bc 100644 --- a/.github/workflows/validate-language-info-files.yml +++ b/.github/workflows/validate-language-info-files.yml @@ -20,7 +20,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: 3.11.4 + python-version: 3.14 cache: 'pip' - name: Install dependencies diff --git a/.github/workflows/validate-meta-info-file.yml b/.github/workflows/validate-meta-info-file.yml index 0a1a80c13..06cc031f3 100644 --- a/.github/workflows/validate-meta-info-file.yml +++ b/.github/workflows/validate-meta-info-file.yml @@ -20,7 +20,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: 3.11.4 + python-version: 3.14 cache: 'pip' - name: Install dependencies diff --git a/Dockerfile b/Dockerfile index fac3ce741..d9bfc637b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.12-slim +FROM python:3.14-slim ENV PYTHONBUFFERED=1 WORKDIR /code RUN apt-get update && apt-get install -y --no-install-recommends \ diff --git a/codethesaurus/settings.py b/codethesaurus/settings.py index e674b705c..fb6397371 100644 --- a/codethesaurus/settings.py +++ b/codethesaurus/settings.py @@ -4,10 +4,10 @@ Generated by 'django-admin startproject' using Django 3.1.1. For more information on this file, see -https://docs.djangoproject.com/en/3.1/topics/settings/ +https://docs.djangoproject.com/en/6.0/topics/settings/ For the full list of settings and their values, see -https://docs.djangoproject.com/en/3.1/ref/settings/ +https://docs.djangoproject.com/en/6.0/ref/settings/ """ from pathlib import Path import os @@ -87,7 +87,7 @@ WSGI_APPLICATION = 'codethesaurus.wsgi.application' # Database -# https://docs.djangoproject.com/en/3.1/ref/settings/#databases +# https://docs.djangoproject.com/en/6.0/ref/settings/#databases DATABASES = { 'default': { @@ -101,7 +101,7 @@ DATABASES['default'].update(db_from_env) # Password validation -# https://docs.djangoproject.com/en/3.1/ref/settings/#auth-password-validators +# https://docs.djangoproject.com/en/6.0/ref/settings/#auth-password-validators AUTH_PASSWORD_VALIDATORS = [ { @@ -119,7 +119,7 @@ ] # Internationalization -# https://docs.djangoproject.com/en/3.1/topics/i18n/ +# https://docs.djangoproject.com/en/6.0/topics/i18n/ LANGUAGE_CODE = 'en-us' @@ -127,12 +127,10 @@ USE_I18N = True -USE_L10N = True - USE_TZ = True # Static files (CSS, JavaScript, Images) -# https://docs.djangoproject.com/en/3.1/howto/static-files/ +# https://docs.djangoproject.com/en/6.0/howto/static-files/ # https://dev.to/fazledyn/deploying-django-3-1-on-heroku-417 # https://github.com/pkrefta/django-on-heroku/blob/3b2367fec9417230dbfba0235353403865386a41/django_on_heroku/core.py#L106 diff --git a/requirements.txt b/requirements.txt index fcd9666ab..8aa4da297 100644 Binary files a/requirements.txt and b/requirements.txt differ