Skip to content

Commit

Permalink
add 3.13 to CI matrix, switch html theme to furo fix #26, fix #27
Browse files Browse the repository at this point in the history
  • Loading branch information
bckohan committed Aug 26, 2024
1 parent 461f46f commit cae2875
Show file tree
Hide file tree
Showing 6 changed files with 39 additions and 26 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13.0-rc.1']
django-version:
- '3.2' # LTS April 2024
- '4.2' # LTS April 2026
Expand All @@ -37,6 +37,12 @@ jobs:
django-version: '3.2'
- python-version: '3.12'
django-version: '3.2'
- python-version: '3.13.0-rc.1'
django-version: '3.2'
- python-version: '3.13.0-rc.1'
django-version: '4.2'
- python-version: '3.13.0-rc.1'
django-version: '5.0'

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion django_routines/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
from django.core.exceptions import ImproperlyConfigured
from django.utils.functional import Promise

VERSION = (1, 2, 0)
VERSION = (1, 2, 1)

__title__ = "Django Routines"
__version__ = ".".join(str(i) for i in VERSION)
Expand Down
5 changes: 2 additions & 3 deletions doc/.readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,9 @@ build:
python: "3.12"
jobs:
post_create_environment:
- pip install poetry==1.7.1 # 1.8 has a bug preventing this build from working
- poetry config virtualenvs.create false
- pip install poetry
post_install:
- poetry install -E rich
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH python -m poetry install -E rich

# Build documentation in the docs/ directory with Sphinx
sphinx:
Expand Down
6 changes: 6 additions & 0 deletions doc/source/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
Change Log
==========

v1.2.1 (26-AUG-2024)
====================

* Fixed `Switch rtd theme to furo. <https://github.com/bckohan/django-render-static/issues/27>`_
* Fixed `Support python 3.13 <https://github.com/bckohan/django-render-static/issues/26>`_

v1.2.0 (27-JUL-2024)
====================

Expand Down
8 changes: 6 additions & 2 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
"sphinx_rtd_theme",
"sphinx.ext.autodoc",
"sphinx.ext.todo",
"sphinxcontrib.typer"
Expand All @@ -65,7 +64,12 @@
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
html_theme = "sphinx_rtd_theme"
html_theme = "furo"
html_theme_options = {
"source_repository": "https://github.com/bckohan/django-routines/",
"source_branch": "main",
"source_directory": "doc/source",
}

# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
Expand Down
36 changes: 17 additions & 19 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "django-routines"
version = "1.2.0"
version = "1.2.1"
description = "Define named groups of management commands in Django settings files for batched execution."
authors = ["Brian Kohan <[email protected]>"]
license = "MIT"
Expand Down Expand Up @@ -29,6 +29,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: Site Management",
"Topic :: Software Development :: Libraries",
Expand All @@ -54,24 +55,21 @@ typing-extensions = { version = ">=3.7.4.3", markers = "python_version < '3.10'"


[tool.poetry.group.dev.dependencies]
ipdb = "^0.13.13"
pytest-django = "^4.7.0"
pytest-cov = "^5.0.0"
Sphinx = [
{ version = "^7.2.0", markers = "python_version > '3.8'" },
{ version = "^7.0.0", markers = "python_version <= '3.8'" },
]
sphinx-rtd-theme = "^2.0.0"
doc8 = "^1.1.1"
aiohttp = "^3.9.1"
readme-renderer = {extras = ["md"], version = ">=42,<44"}
sphinxcontrib-typer = {extras = ["html", "pdf", "png"], version = "^0.3.0", markers="python_version >= '3.9'"}
pytest-env = "^1.0.0"
pexpect = "^4.9.0"
pyright = "^1.1.357"
ruff = ">=0.4.1,<0.6.0"
django-stubs = "^5.0.2"
mypy = "^1.10.0"
ipdb = ">=0.13.13"
pytest-django = ">=4.7.0"
pytest-cov = ">=5.0.0"
Sphinx = ">=7.0.0"
doc8 = ">=1.1.1"
aiohttp = ">=3.9.1"
readme-renderer = {extras = ["md"], version = ">=42"}
sphinxcontrib-typer = {extras = ["html", "pdf", "png"], version = ">=0.3.0", markers="python_version >= '3.9'"}
pytest-env = ">=1.0.0"
pexpect = ">=4.9.0"
pyright = ">=1.1.357"
ruff = ">=0.4.1"
django-stubs = ">=5.0.2"
mypy = ">=1.10.0"
furo = ">=2024.8.6"

[tool.poetry.extras]
rich = ["rich"]
Expand Down

0 comments on commit cae2875

Please sign in to comment.