Skip to content

Feat/add python 314 and postgres 18#7

Open
Grayknife wants to merge 3 commits into
mainfrom
feat/add-python-314-and-postgres-18
Open

Feat/add python 314 and postgres 18#7
Grayknife wants to merge 3 commits into
mainfrom
feat/add-python-314-and-postgres-18

Conversation

@Grayknife

@Grayknife Grayknife commented Jul 10, 2026

Copy link
Copy Markdown
Collaborator

Add support for python 3.14 and postgres 18, Update test matrix, Fix hardcoded 3.12 version in deploy-check

@Grayknife Grayknife linked an issue Jul 10, 2026 that may be closed by this pull request

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds template-level support for Python 3.14 and PostgreSQL 18 by updating the Cookiecutter options and CI matrices, and removes a hardcoded Python image tag in the GitLab deploy-check job.

Changes:

  • Expand supported python_version/postgresql_version Cookiecutter choices to include Python 3.14 and PostgreSQL 18 (and make them the first/default options).
  • Update GitHub Actions matrix to generate the template across the expanded Python/Postgres combinations.
  • Parameterize the GitLab CI deploy-check Docker image tag to use the selected Cookiecutter Python version; bump repo .python-version to 3.14.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
django/cookiecutter.json Adds Python 3.14 and PostgreSQL 18 to the template option lists (defaulting to newest).
django/{{ cookiecutter.project_slug }}/users/migrations/0001_initial.py Adjusts model options (adds ordering + updates verbose names) in the initial user migration.
django/{{ cookiecutter.project_slug }}/.gitlab/ci/test.gitlab-ci.yml Removes hardcoded orbisk/django-test:3.12 in deploy-check in favor of the selected python version.
.python-version Sets repository default Python version to 3.14.
.github/workflows/ci.yml Expands the matrix to include Python 3.14 and PostgreSQL 18 inputs when generating the template.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 33 to +36
options={
'verbose_name': 'user',
'verbose_name_plural': 'users',
'ordering':{% if cookiecutter.username_type == "username" %}['username']{% else %}['email']{% endif %},
'verbose_name': 'User',
'verbose_name_plural': 'Users',
options={
'verbose_name': 'user',
'verbose_name_plural': 'users',
'ordering':{% if cookiecutter.username_type == "username" %}['username']{% else %}['email']{% endif %},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for Python 3.14 and Postgres 18

3 participants