Skip to content

Commit 6a65c71

Browse files
committed
add 3.13 rc1 to CI matrix, fix #109
1 parent 66ef8c9 commit 6a65c71

File tree

3 files changed

+31
-30
lines changed

3 files changed

+31
-30
lines changed

.github/workflows/test.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
runs-on: ubuntu-latest
1919
strategy:
2020
matrix:
21-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
21+
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13.0-rc.1']
2222
django-version:
2323
- '3.2' # LTS April 2024
2424
- '4.2' # LTS April 2026
@@ -37,6 +37,12 @@ jobs:
3737
django-version: '5.1'
3838
- python-version: '3.9'
3939
django-version: '5.1'
40+
- python-version: '3.13.0-rc.1'
41+
django-version: '3.2'
42+
- python-version: '3.13.0-rc.1'
43+
django-version: '4.2'
44+
- python-version: '3.13.0-rc.1'
45+
django-version: '5.0'
4046

4147
steps:
4248
- uses: actions/checkout@v4
@@ -50,6 +56,9 @@ jobs:
5056
with:
5157
virtualenvs-create: true
5258
virtualenvs-in-project: true
59+
- name: Install libopenblas-dev
60+
if: matrix.python-version == '3.13.0-rc1'
61+
run: sudo apt-get install libopenblas-dev
5362
- name: Install Release Dependencies
5463
run: |
5564
poetry config virtualenvs.in-project true

doc/source/changelog.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Change Log
55
v2.2.2 (25-AUG-2024)
66
====================
77

8+
* Implemented `Support python 3.13 <https://github.com/bckohan/django-typer/issues/109>`_
89
* Fixed `typer > 0.12.5 toggles rich help renderings off by default <https://github.com/bckohan/django-typer/issues/108>`_
910

1011
v2.2.1 (17-AUG-2024)

pyproject.toml

Lines changed: 20 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ classifiers = [
2929
"Programming Language :: Python :: 3.10",
3030
"Programming Language :: Python :: 3.11",
3131
"Programming Language :: Python :: 3.12",
32+
"Programming Language :: Python :: 3.13",
3233
"Topic :: Internet :: WWW/HTTP",
3334
"Topic :: Internet :: WWW/HTTP :: Site Management",
3435
"Topic :: Software Development :: Libraries",
@@ -48,7 +49,7 @@ click = "^8.1.0"
4849
# typer's release history is full of breaking changes for minor versions
4950
# given the reliance on some of its private internals we peg the typer
5051
# version very strictly to bug fix releases for specific minor lines.
51-
typer-slim = ">=0.12.4,<0.13.0"
52+
typer-slim = ">=0.12.5,<0.13.0"
5253

5354
# this should track typer's rich dependency, so long as our console
5455
# patches still work - so be sure to test on the low end of the range
@@ -61,36 +62,26 @@ typing-extensions = { version = ">=3.7.4.3", markers = "python_version < '3.10'"
6162

6263

6364
[tool.poetry.group.dev.dependencies]
64-
ipdb = "^0.13.13"
65-
pytest-django = "^4.7.0"
66-
pytest-cov = "^4.1.0"
67-
Sphinx = [
68-
{ version = "^7.2.0", markers = "python_version > '3.8'" },
69-
{ version = "^7.0.0", markers = "python_version <= '3.8'" },
70-
]
71-
sphinx-rtd-theme = "^2.0.0"
72-
mypy = "^1.0"
73-
doc8 = "^1.1.1"
74-
aiohttp = "^3.9.1"
65+
ipdb = ">=0.13.13"
66+
pytest-django = ">=4.8.0"
67+
pytest-cov = ">=5.0.0"
68+
Sphinx = ">=7.0"
69+
mypy = ">=1.0"
70+
doc8 = ">=1.1.1"
71+
aiohttp = ">=3.9.1"
7572
readme-renderer = {extras = ["md"], version = ">=42,<44"}
76-
sphinxcontrib-typer = {extras = ["html", "pdf", "png"], version = "^0.5.0", markers="python_version >= '3.9'"}
77-
scikit-learn = "^1.0.0"
78-
pytest-env = "^1.0.0"
79-
numpy = [
80-
{ version = ">=1.26", markers = "python_version > '3.8'" },
81-
{ version = "<=1.24", markers = "python_version <= '3.8'" },
82-
]
83-
scipy = [
84-
{ version = ">=1.11", markers = "python_version > '3.8'" },
85-
{ version = "<=1.10", markers = "python_version <= '3.8'" },
86-
]
73+
sphinxcontrib-typer = {extras = ["html", "pdf", "png"], version = ">=0.5.0", markers="python_version >= '3.9'"}
74+
scikit-learn = ">=1.0.0"
75+
pytest-env = ">=1.0.0"
76+
numpy = ">=1.24"
77+
scipy = ">=1.0"
8778
django-stubs = ">=4.2.7"
88-
pexpect = "^4.9.0"
89-
pyright = "^1.1.357"
90-
ruff = "^0.4.1"
91-
graphviz = "^0.20.3"
92-
sphinx-tabs = "^3.4.5"
93-
furo = "^2024.7.18"
79+
pexpect = ">=4.9.0"
80+
pyright = ">=1.1.357"
81+
ruff = ">=0.4.1"
82+
graphviz = ">=0.20.3"
83+
sphinx-tabs = ">=3.4.5"
84+
furo = ">=2024.7.18"
9485

9586
[tool.poetry.extras]
9687
rich = ["rich"]

0 commit comments

Comments
 (0)