Feat/add python 314 and postgres 18#7
Open
Grayknife wants to merge 3 commits into
Open
Conversation
…n, Fix hardcoded 3.12 in deploy-check
There was a problem hiding this comment.
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_versionCookiecutter 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-checkDocker image tag to use the selected Cookiecutter Python version; bump repo.python-versionto 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 %}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add support for python 3.14 and postgres 18, Update test matrix, Fix hardcoded 3.12 version in deploy-check