Skip to content

Commit cae2875

Browse files
committed
add 3.13 to CI matrix, switch html theme to furo fix #26, fix #27
1 parent 461f46f commit cae2875

File tree

6 files changed

+39
-26
lines changed

6 files changed

+39
-26
lines changed

.github/workflows/test.yml

Lines changed: 7 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: '3.2'
3838
- python-version: '3.12'
3939
django-version: '3.2'
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

django_routines/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
from django.core.exceptions import ImproperlyConfigured
2424
from django.utils.functional import Promise
2525

26-
VERSION = (1, 2, 0)
26+
VERSION = (1, 2, 1)
2727

2828
__title__ = "Django Routines"
2929
__version__ = ".".join(str(i) for i in VERSION)

doc/.readthedocs.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,9 @@ build:
1212
python: "3.12"
1313
jobs:
1414
post_create_environment:
15-
- pip install poetry==1.7.1 # 1.8 has a bug preventing this build from working
16-
- poetry config virtualenvs.create false
15+
- pip install poetry
1716
post_install:
18-
- poetry install -E rich
17+
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH python -m poetry install -E rich
1918

2019
# Build documentation in the docs/ directory with Sphinx
2120
sphinx:

doc/source/changelog.rst

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

5+
v1.2.1 (26-AUG-2024)
6+
====================
7+
8+
* Fixed `Switch rtd theme to furo. <https://github.com/bckohan/django-render-static/issues/27>`_
9+
* Fixed `Support python 3.13 <https://github.com/bckohan/django-render-static/issues/26>`_
10+
511
v1.2.0 (27-JUL-2024)
612
====================
713

doc/source/conf.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
4747
# ones.
4848
extensions = [
49-
"sphinx_rtd_theme",
5049
"sphinx.ext.autodoc",
5150
"sphinx.ext.todo",
5251
"sphinxcontrib.typer"
@@ -65,7 +64,12 @@
6564
# The theme to use for HTML and HTML Help pages. See the documentation for
6665
# a list of builtin themes.
6766
#
68-
html_theme = "sphinx_rtd_theme"
67+
html_theme = "furo"
68+
html_theme_options = {
69+
"source_repository": "https://github.com/bckohan/django-routines/",
70+
"source_branch": "main",
71+
"source_directory": "doc/source",
72+
}
6973

7074
# Add any paths that contain custom static files (such as style sheets) here,
7175
# relative to this directory. They are copied after the builtin static files,

pyproject.toml

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "django-routines"
3-
version = "1.2.0"
3+
version = "1.2.1"
44
description = "Define named groups of management commands in Django settings files for batched execution."
55
authors = ["Brian Kohan <bckohan@gmail.com>"]
66
license = "MIT"
@@ -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",
@@ -54,24 +55,21 @@ typing-extensions = { version = ">=3.7.4.3", markers = "python_version < '3.10'"
5455

5556

5657
[tool.poetry.group.dev.dependencies]
57-
ipdb = "^0.13.13"
58-
pytest-django = "^4.7.0"
59-
pytest-cov = "^5.0.0"
60-
Sphinx = [
61-
{ version = "^7.2.0", markers = "python_version > '3.8'" },
62-
{ version = "^7.0.0", markers = "python_version <= '3.8'" },
63-
]
64-
sphinx-rtd-theme = "^2.0.0"
65-
doc8 = "^1.1.1"
66-
aiohttp = "^3.9.1"
67-
readme-renderer = {extras = ["md"], version = ">=42,<44"}
68-
sphinxcontrib-typer = {extras = ["html", "pdf", "png"], version = "^0.3.0", markers="python_version >= '3.9'"}
69-
pytest-env = "^1.0.0"
70-
pexpect = "^4.9.0"
71-
pyright = "^1.1.357"
72-
ruff = ">=0.4.1,<0.6.0"
73-
django-stubs = "^5.0.2"
74-
mypy = "^1.10.0"
58+
ipdb = ">=0.13.13"
59+
pytest-django = ">=4.7.0"
60+
pytest-cov = ">=5.0.0"
61+
Sphinx = ">=7.0.0"
62+
doc8 = ">=1.1.1"
63+
aiohttp = ">=3.9.1"
64+
readme-renderer = {extras = ["md"], version = ">=42"}
65+
sphinxcontrib-typer = {extras = ["html", "pdf", "png"], version = ">=0.3.0", markers="python_version >= '3.9'"}
66+
pytest-env = ">=1.0.0"
67+
pexpect = ">=4.9.0"
68+
pyright = ">=1.1.357"
69+
ruff = ">=0.4.1"
70+
django-stubs = ">=5.0.2"
71+
mypy = ">=1.10.0"
72+
furo = ">=2024.8.6"
7573

7674
[tool.poetry.extras]
7775
rich = ["rich"]

0 commit comments

Comments
 (0)