Skip to content

Commit edcc847

Browse files
committed
fix #46
1 parent 73186dd commit edcc847

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

django_typer/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@
114114
from typing import ParamSpec
115115

116116

117-
VERSION = (1, 0, 8)
117+
VERSION = (1, 0, 9)
118118

119119
__title__ = "Django Typer"
120120
__version__ = ".".join(str(i) for i in VERSION)

django_typer/patch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def get_console(stderr: bool = False) -> Console:
131131

132132
from typer import __version__ as typer_version
133133

134-
if (0, 4, 0) <= tuple(int(v) for v in typer_version.split(".")) < (0, 12, 0):
134+
if (0, 4, 0) <= tuple(int(v) for v in typer_version.split(".")) < (0, 13, 0):
135135
from typer import main as typer_main
136136
from typer.models import ParamMeta
137137

doc/source/changelog.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
Change Log
33
==========
44

5+
v1.0.9
6+
======
7+
8+
* Fixed `Support typer 0.12.0 <https://github.com/bckohan/django-typer/issues/46>`_
9+
510
v1.0.8
611
======
712

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "django-typer"
3-
version = "1.0.8"
3+
version = "1.0.9"
44
description = "Use Typer to define the CLI for your Django management commands."
55
authors = ["Brian Kohan <[email protected]>"]
66
license = "MIT"
@@ -47,7 +47,7 @@ click = "^8.1.0"
4747
# typer's release history is full of breaking changes for minor versions
4848
# given the reliance on some of its private internals we peg the typer
4949
# version very strictly to bug fix releases for specific minor lines.
50-
typer = ">=0.9.0,<=0.11.0"
50+
typer = ">=0.9.0,<0.13.0"
5151

5252
# this should track typer's rich dependency, so long as our console
5353
# patches still work - so be sure to test on the low end of the range

0 commit comments

Comments
 (0)