Skip to content

Commit 11a9553

Browse files
authored
Merge pull request #237 from django-commons/dj6
Early support for django 6.0 - test against alpha 1
2 parents 66eb19a + 4ade1fb commit 11a9553

File tree

5 files changed

+30
-6
lines changed

5 files changed

+30
-6
lines changed

.github/workflows/test.yml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ jobs:
4040
- '5.0' # April 2025
4141
- '5.1' # December 2025
4242
- '5.2' # April 2028
43+
- '6.0a1' # prerelease
4344
exclude:
4445
- python-version: '3.9'
4546
django-version: '5.0'
@@ -65,6 +66,17 @@ jobs:
6566
django-version: '5.0'
6667
- python-version: '3.14'
6768
django-version: '5.1'
69+
70+
- python-version: '3.9'
71+
django-version: '6.0a1'
72+
- python-version: '3.10'
73+
django-version: '6.0a1'
74+
- python-version: '3.11'
75+
django-version: '6.0a1'
76+
- python-version: '3.12'
77+
django-version: '6.0a1'
78+
- python-version: '3.13'
79+
django-version: '6.0a1'
6880
env:
6981
COVERAGE_FILE: py${{ matrix.python-version }}-linux-dj${{ matrix.django-version }}.coverage
7082
TEST_PYTHON_VERSION: ${{ matrix.python-version }}
@@ -96,8 +108,14 @@ jobs:
96108
- name: Setup Just
97109
uses: extractions/setup-just@v3
98110
- name: Install Dependencies
111+
shell: bash
99112
run: |
100-
just test-lock "Django~=${{ matrix.django-version }}.0"
113+
just setup ${{ steps.sp.outputs.python-path }}
114+
if [[ "${{ matrix.django-version }}" =~ (a|b|rc) ]]; then
115+
just test-lock Django==${{ matrix.django-version }}
116+
else
117+
just test-lock Django~=${{ matrix.django-version }}.0
118+
fi
101119
- name: Run Unit Tests
102120
run: |
103121
just test ./tests/verify_environment.py

doc/source/changelog.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
Change Log
55
==========
66

7+
v3.3.2 (2025-09-27)
8+
===================
9+
10+
* Early support release for Django 6.0 (tested against 6.0a1)
11+
712
v3.3.1 (2025-09-22)
813
===================
914

pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "django-typer"
7-
version = "3.3.1"
7+
version = "3.3.2"
88
requires-python = ">=3.9,<4.0"
99
description = "Use Typer to define the CLI for your Django management commands."
1010
authors = [
@@ -17,7 +17,7 @@ repository = "https://github.com/django-commons/django-typer"
1717
homepage = "https://django-typer.readthedocs.io"
1818
keywords = ["django", "CLI", "management", "Typer", "commands"]
1919
dependencies = [
20-
"Django>=3.2,<6.0",
20+
"Django>=3.2,<6.1",
2121
"click>=8.1.8,<8.4",
2222
# typer's release history is full of breaking changes for minor versions
2323
# given the reliance on some of its private internals we peg the typer
@@ -40,6 +40,7 @@ classifiers = [
4040
"Framework :: Django :: 5.0",
4141
"Framework :: Django :: 5.1",
4242
"Framework :: Django :: 5.2",
43+
"Framework :: Django :: 6.0",
4344
"Intended Audience :: Developers",
4445
"License :: OSI Approved :: MIT License",
4546
"Natural Language :: English",

src/django_typer/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
and keep a tight version lock on Typer.
4141
"""
4242

43-
VERSION = (3, 3, 1)
43+
VERSION = (3, 3, 2)
4444

4545
__title__ = "Django Typer"
4646
__version__ = ".".join(str(i) for i in VERSION)

uv.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)