Skip to content

Commit 4dd3bdf

Browse files
authored
drop older versions (#456)
* drop older versions * bump django and pytest minimal version * bump django and pytest minimal version * rename nose style setup test * remove case to check * Update requirements/test.txt
1 parent 18aaa25 commit 4dd3bdf

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

.github/workflows/test.yaml

+4-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ jobs:
1313
runs-on: blacksmith-4vcpu-ubuntu-2204
1414
strategy:
1515
matrix:
16-
python-version: [ "3.8", "3.9", "3.10", "3.11", "pypy3.9" ]
17-
django: [ "32", "41", "42", "50" ]
16+
python-version: [ "3.8", "3.9", "3.10", "3.11", "3.12", "pypy3.9" ]
17+
django: [ "32", "42", "50" ]
1818
exclude:
1919
- python-version: "3.11"
2020
django: "32"
@@ -24,6 +24,8 @@ jobs:
2424
django: "50"
2525
- python-version: "pypy3.9"
2626
django: "50"
27+
- python-version: "3.12"
28+
django: "32"
2729

2830
services:
2931
postgres:

requirements/test-django.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Django>=2.2,<5.1
1+
Django>=3.2,<6.0
22
psycopg>=3.1.8

t/unit/backends/test_cache.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def __init__(self, data):
1717

1818
class test_CacheBackend:
1919

20-
def setup(self):
20+
def setup_method(self):
2121
self.b = CacheBackend(app=self.app)
2222

2323
def test_mark_as_done(self):

tox.ini

+6-8
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[tox]
22
envlist =
3-
py311-django{41,42,50}
4-
py310-django{42,41,40,50,32}
5-
py39-django{42,41,40,32}
6-
py38-django{42,41,40,32}
7-
py37-django{32}
8-
pypy39-django{42,41,40,32}
3+
py312-django{42,50}
4+
py311-django{42,50}
5+
py310-django{42,50,32}
6+
py39-django{42,32}
7+
py38-django{42,32}
8+
pypy39-django{42,32}
99

1010
flake8
1111
apicheck
@@ -15,8 +15,6 @@ envlist =
1515

1616
[travis:env]
1717
DJANGO =
18-
4.1: django41
19-
4.0: django40
2018
3.2: django32
2119
4.2: django42
2220
5.0: django50

0 commit comments

Comments
 (0)