Skip to content

Commit

Permalink
Semi-drop Python 3.6 and 3.7 (#140)
Browse files Browse the repository at this point in the history
  • Loading branch information
kytta committed Oct 4, 2023
2 parents 80fa518 + 91d9551 commit 1be1db7
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ jobs:
matrix:
# https://docs.djangoproject.com/faq/install/#what-python-version-can-i-use-with-django
include:
- django-version: '3.2'
python-version: '3.6'
- django-version: '3.2'
python-version: '3.7'
- django-version: '3.2'
python-version: '3.8'
- django-version: '3.2'
Expand Down
4 changes: 4 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
django-simple-menu changelog
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Unreleased changes
- Stop testing under Python 3.6, 3.7, and Django 4.0 (#138, #140)
- Migrate from setup.cfg to pyproject.toml (#138)

Version 2.1.2 - Released June 27th, 2023
- Correctly parse a deeper menu structure (#63, #133)
- Improved DX and CI
Expand Down
4 changes: 4 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ Quickstart

**Requirements:** Python 3.6+, Django 3.2+

**Note:** While this package does support Python 3.6 and 3.7 as well as
Django 4.0, we do not test the package under these versions and may miss some
bugs.

1. Install the ``django-simple-menu`` package.

2. Add ``simple_menu`` to your ``INSTALLED_APPS``.
Expand Down
18 changes: 7 additions & 11 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
[tox]
envlist =
requires =
tox>=4.2
env_list =
py3{11, 10, 9, 8}-dj42
py3{11, 10, 9, 8}-dj41
py3{10, 9, 8, 7, 6}-dj32
py3{10, 9, 8}-dj32
py3{12, 11, 10}-djmain
isolated_build = true

[testenv]
package = wheel
wheel_build_env = .pkg
deps =
covdefaults
coverage[toml]
Expand All @@ -17,23 +21,15 @@ deps =
pass_env =
FORCE_COLOR
NO_COLOR
setenv =
set_env =
DJANGO_SETTINGS_MODULE = simple_menu.test_settings
commands =
coverage run -m django test -v2 {posargs:simple_menu}
coverage report
coverage xml

[testenv:py36-dj32]
download = true
deps =
{[testenv]deps}
importlib_metadata

[gh-actions]
python =
3.6: py36
3.7: py37
3.8: py38
3.9: py39
3.10: py310
Expand Down

0 comments on commit 1be1db7

Please sign in to comment.