Skip to content

Commit 1be1db7

Browse files
authored
Semi-drop Python 3.6 and 3.7 (#140)
2 parents 80fa518 + 91d9551 commit 1be1db7

File tree

4 files changed

+15
-15
lines changed

4 files changed

+15
-15
lines changed

.github/workflows/test.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,6 @@ jobs:
1919
matrix:
2020
# https://docs.djangoproject.com/faq/install/#what-python-version-can-i-use-with-django
2121
include:
22-
- django-version: '3.2'
23-
python-version: '3.6'
24-
- django-version: '3.2'
25-
python-version: '3.7'
2622
- django-version: '3.2'
2723
python-version: '3.8'
2824
- django-version: '3.2'

CHANGES

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
django-simple-menu changelog
22
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
33

4+
Unreleased changes
5+
- Stop testing under Python 3.6, 3.7, and Django 4.0 (#138, #140)
6+
- Migrate from setup.cfg to pyproject.toml (#138)
7+
48
Version 2.1.2 - Released June 27th, 2023
59
- Correctly parse a deeper menu structure (#63, #133)
610
- Improved DX and CI

README.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ Quickstart
4545

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

48+
**Note:** While this package does support Python 3.6 and 3.7 as well as
49+
Django 4.0, we do not test the package under these versions and may miss some
50+
bugs.
51+
4852
1. Install the ``django-simple-menu`` package.
4953

5054
2. Add ``simple_menu`` to your ``INSTALLED_APPS``.

tox.ini

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
[tox]
2-
envlist =
2+
requires =
3+
tox>=4.2
4+
env_list =
35
py3{11, 10, 9, 8}-dj42
46
py3{11, 10, 9, 8}-dj41
5-
py3{10, 9, 8, 7, 6}-dj32
7+
py3{10, 9, 8}-dj32
68
py3{12, 11, 10}-djmain
79
isolated_build = true
810

911
[testenv]
12+
package = wheel
13+
wheel_build_env = .pkg
1014
deps =
1115
covdefaults
1216
coverage[toml]
@@ -17,23 +21,15 @@ deps =
1721
pass_env =
1822
FORCE_COLOR
1923
NO_COLOR
20-
setenv =
24+
set_env =
2125
DJANGO_SETTINGS_MODULE = simple_menu.test_settings
2226
commands =
2327
coverage run -m django test -v2 {posargs:simple_menu}
2428
coverage report
2529
coverage xml
2630

27-
[testenv:py36-dj32]
28-
download = true
29-
deps =
30-
{[testenv]deps}
31-
importlib_metadata
32-
3331
[gh-actions]
3432
python =
35-
3.6: py36
36-
3.7: py37
3733
3.8: py38
3834
3.9: py39
3935
3.10: py310

0 commit comments

Comments
 (0)