Skip to content

Commit 4ea593d

Browse files
authored
Merge pull request #166 from bckohan/v3.x.x
V3.1.3
2 parents ecca829 + 6faac96 commit 4ea593d

File tree

6 files changed

+45
-34
lines changed

6 files changed

+45
-34
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
runs-on: ubuntu-latest
2020
strategy:
2121
matrix:
22-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
22+
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13.0-rc.1']
2323
django-version:
2424
- '3.2' # LTS April 2024
2525
- '4.2' # LTS April 2026
@@ -38,6 +38,12 @@ jobs:
3838
django-version: '5.1'
3939
- python-version: '3.9'
4040
django-version: '5.1'
41+
- python-version: '3.13.0-rc.1'
42+
django-version: '3.2'
43+
- python-version: '3.13.0-rc.1'
44+
django-version: '4.2'
45+
- python-version: '3.13.0-rc.1'
46+
django-version: '5.0'
4147

4248
steps:
4349
- uses: actions/checkout@v4

doc/.readthedocs.yaml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,9 @@ build:
1313
nodejs: "20"
1414
jobs:
1515
post_create_environment:
16-
# Install poetry
17-
# https://python-poetry.org/docs/#installing-manually
18-
- pip install poetry==1.7.1 # 1.8 has a bug preventing this build from working
19-
# Tell poetry to not use a virtual environment
20-
- poetry config virtualenvs.create false
16+
- pip install poetry
2117
post_install:
22-
# Install dependencies with 'docs' dependency group
23-
# https://python-poetry.org/docs/managing-dependencies/#dependency-groups
24-
- poetry install -E all
18+
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH python -m poetry install -E all
2519
- npm install -g jsdoc
2620

2721
# Build documentation in the docs/ directory with 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+
v3.1.3 (26-AUG-2024)
6+
====================
7+
8+
* Fixed `Switch to furo theme on rtd <https://github.com/bckohan/django-render-static/issues/165>`_
9+
* Fixed `Support python 3.13 <https://github.com/bckohan/django-render-static/issues/164>`_
10+
511
v3.1.2 (18-JUL-2024)
612
====================
713

doc/source/conf.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@
4343
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
4444
# ones.
4545
extensions = [
46-
'sphinx_rtd_theme',
4746
'sphinx.ext.autodoc',
4847
'sphinx.ext.viewcode',
4948
'sphinx.ext.todo',
@@ -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-render-static/",
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: 23 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "django-render-static"
3-
version = "3.1.2"
3+
version = "3.1.3"
44
description = "Use Django's template engine to render static files at deployment or package time. Includes transpilers for extending Django's url reversal and enums to JavaScript."
55
authors = ["Brian Kohan <[email protected]>"]
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",
@@ -51,28 +52,28 @@ PyYAML = { version = ">=5.1,<7.0", optional = true }
5152
django-typer = "^2.1.1"
5253

5354
[tool.poetry.group.dev.dependencies]
54-
django-enum = "^1.1.0"
55-
enum-properties = "^1.1.1"
55+
django-enum = ">=1.1.0"
56+
enum-properties = ">=1.1.1"
5657
pytest = "^8.0"
57-
pytest-django = "^4.8.0"
58-
Sphinx = "^7.0.0"
59-
sphinx-rtd-theme = "^2.0.0"
60-
mypy = "^1.8"
61-
doc8 = "^1.1.0"
62-
pytest-cov = "^4.1.0"
63-
deepdiff = "^6.7.0"
64-
readme-renderer = {extras = ["md"], version = "^43.0"}
65-
types-PyYAML = "^6.0"
66-
coverage = "^7.5.0"
67-
importlib-metadata = "^7.0.0"
68-
selenium = "^4.16.0"
69-
python-dateutil = "^2.8.2"
70-
ipdb = "^0.13.13"
71-
aiohttp = "^3.9.1"
72-
sphinxcontrib-typer = {extras = ["html", "pdf", "png"], version = "^0.3.0", markers="python_version >= '3.9'"}
73-
pyright = "^1.1.366"
74-
ruff = "^0.4.8"
75-
django-stubs = {extras = ["compatible-mypy"], version = "^5.0.2"}
58+
pytest-django = ">=4.8.0"
59+
Sphinx = ">=7.0.0"
60+
mypy = ">=1.8"
61+
doc8 = ">=1.1.0"
62+
pytest-cov = ">=4.1.0"
63+
deepdiff = ">=6.7.0"
64+
readme-renderer = {extras = ["md"], version = ">=43.0"}
65+
types-PyYAML = ">=6.0"
66+
coverage = ">=7.5.0"
67+
importlib-metadata = ">=7.0.0"
68+
selenium = ">=4.16.0"
69+
python-dateutil = ">=2.8.2"
70+
ipdb = ">=0.13.13"
71+
aiohttp = ">=3.9.1"
72+
sphinxcontrib-typer = {extras = ["html", "pdf", "png"], version = ">=0.3.0", markers="python_version >= '3.9'"}
73+
pyright = ">=1.1.366"
74+
ruff = ">=0.4.8"
75+
django-stubs = {extras = ["compatible-mypy"], version = ">=5.0.2"}
76+
furo = ">=2024.8.6"
7677

7778
[build-system]
7879
requires = ["poetry-core>=1.0.0"]

render_static/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
88
"""
99

10-
VERSION = (3, 1, 2)
10+
VERSION = (3, 1, 3)
1111

1212
__title__ = "Django Render Static"
1313
__version__ = ".".join(str(i) for i in VERSION)

0 commit comments

Comments
 (0)