Skip to content
Merged
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
20 changes: 19 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
- '5.0' # April 2025
- '5.1' # December 2025
- '5.2' # April 2028
- '6.0a1' # prerelease
exclude:
- python-version: '3.9'
django-version: '5.0'
Expand All @@ -65,6 +66,17 @@ jobs:
django-version: '5.0'
- python-version: '3.14'
django-version: '5.1'

- python-version: '3.9'
django-version: '6.0a1'
- python-version: '3.10'
django-version: '6.0a1'
- python-version: '3.11'
django-version: '6.0a1'
- python-version: '3.12'
django-version: '6.0a1'
- python-version: '3.13'
django-version: '6.0a1'
env:
COVERAGE_FILE: py${{ matrix.python-version }}-linux-dj${{ matrix.django-version }}.coverage
TEST_PYTHON_VERSION: ${{ matrix.python-version }}
Expand Down Expand Up @@ -96,8 +108,14 @@ jobs:
- name: Setup Just
uses: extractions/setup-just@v3
- name: Install Dependencies
shell: bash
run: |
just test-lock "Django~=${{ matrix.django-version }}.0"
just setup ${{ steps.sp.outputs.python-path }}
if [[ "${{ matrix.django-version }}" =~ (a|b|rc) ]]; then
Copy link
Preview

Copilot AI Sep 27, 2025

Choose a reason for hiding this comment

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

The regex pattern (a|b|rc) may not match all possible Django prerelease patterns. Consider using a more comprehensive pattern like [0-9]+(a|b|rc)[0-9]* to ensure it matches specific alpha/beta/rc versions with numbers.

Suggested change
if [[ "${{ matrix.django-version }}" =~ (a|b|rc) ]]; then
if [[ "${{ matrix.django-version }}" =~ [0-9]+(a|b|rc)[0-9]* ]]; then

Copilot uses AI. Check for mistakes.

just test-lock Django==${{ matrix.django-version }}
else
just test-lock Django~=${{ matrix.django-version }}.0
fi
- name: Run Unit Tests
run: |
just test ./tests/verify_environment.py
Expand Down
5 changes: 5 additions & 0 deletions doc/source/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@
Change Log
==========

v3.3.2 (2025-09-27)
===================

* Early support release for Django 6.0 (tested against 6.0a1)

v3.3.1 (2025-09-22)
===================

Expand Down
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "hatchling.build"

[project]
name = "django-typer"
version = "3.3.1"
version = "3.3.2"
requires-python = ">=3.9,<4.0"
description = "Use Typer to define the CLI for your Django management commands."
authors = [
Expand All @@ -17,7 +17,7 @@ repository = "https://github.com/django-commons/django-typer"
homepage = "https://django-typer.readthedocs.io"
keywords = ["django", "CLI", "management", "Typer", "commands"]
dependencies = [
"Django>=3.2,<6.0",
"Django>=3.2,<6.1",
"click>=8.1.8,<8.4",
# typer's release history is full of breaking changes for minor versions
# given the reliance on some of its private internals we peg the typer
Expand All @@ -40,6 +40,7 @@ classifiers = [
"Framework :: Django :: 5.0",
"Framework :: Django :: 5.1",
"Framework :: Django :: 5.2",
"Framework :: Django :: 6.0",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
Expand Down
2 changes: 1 addition & 1 deletion src/django_typer/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
and keep a tight version lock on Typer.
"""

VERSION = (3, 3, 1)
VERSION = (3, 3, 2)

__title__ = "Django Typer"
__version__ = ".".join(str(i) for i in VERSION)
Expand Down
4 changes: 2 additions & 2 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading