Skip to content

Commit

Permalink
Fix docs build, drop support for Django < 4.2 and python < 3.10 (#65)
Browse files Browse the repository at this point in the history
* Fix docs build

* Drop support for Django < 4.2, python < 3.10
  • Loading branch information
protoroto authored Jan 17, 2025
1 parent 2d479c9 commit 26fd498
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 17 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11", "3.10", "3.9"]
django: [42, 41, 32]
python-version: ["3.11", "3.10"]
django: [42]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
Expand Down
1 change: 1 addition & 0 deletions changes/64.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix docs build, drop support for Django < 4.2 and python < 3.10
5 changes: 0 additions & 5 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@
import os
import sys

# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
import sphinx_rtd_theme

# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
Expand Down Expand Up @@ -113,7 +109,6 @@

html_theme = "sphinx_rtd_theme"

html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
# documentation.
Expand Down
7 changes: 1 addition & 6 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,8 @@ classifiers =
Intended Audience :: Developers
Natural Language :: English
Framework :: Django
Framework :: Django :: 3.2
Framework :: Django :: 4.0
Framework :: Django :: 4.1
Framework :: Django :: 4.2
Programming Language :: Python :: 3
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11

Expand All @@ -35,7 +30,7 @@ install_requires =
setup_requires =
setuptools
packages = app_enabler
python_requires = >=3.8
python_requires = >=3.10
test_suite = pytest
zip_safe = False

Expand Down
5 changes: 1 addition & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,13 @@ envlist =
ruff
pypi-description
towncrier
py{311,310,39}-django{42,41,40,32}
py{311,310}-django{42}

[testenv]
alwayscopy = True
commands =
{env:COMMAND:python} -mpytest {posargs} {env:PYTEST_ARGS:""}
deps =
django32: Django~=3.2.0
django40: Django~=4.0.0
django41: Django~=4.1.0
django42: Django~=4.2.0
-r{toxinidir}/requirements-test.txt
passenv =
Expand Down

0 comments on commit 26fd498

Please sign in to comment.