Skip to content

Commit 9d2fae6

Browse files
committed
Don't test Python 3.7 on Github
1 parent dc91d03 commit 9d2fae6

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

.github/workflows/actions.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ jobs:
1313
id: create_matrix
1414
with:
1515
matrix: |
16-
python-version {3.7}, tox-env {py37-django111,py37-django22,py37-django30,py37-django31,py37-django32}
1716
python-version {3.8}, tox-env {py38-django111,py38-django22,py38-django30,py38-django31,py38-django32,py38-django40,py38-django41,py38-django42}
1817
python-version {3.9}, tox-env {py39-django111,py39-django22,py39-django30,py39-django31,py39-django32,py39-django40,py39-django41,py39-django42}
1918
python-version {3.10}, tox-env {py310-django32,py310-django40,py310-django41,py310-django42}

test/tests/test_sql_fields.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,6 @@ def test_prefixlen_lte_lookup_sql(self):
243243
def test_query_filter_f_expression(self):
244244
self.model.objects.filter(field=F('field'))
245245

246-
@skipIf(VERSION < (1, 11), 'Subquery added in Django 1.11. https://docs.djangoproject.com/en/1.11/ref/models/expressions/#subquery-expressions')
247246
def test_query_filter_subquery(self):
248247
from django.db.models import OuterRef, Subquery
249248
self.model.objects.annotate(
@@ -598,7 +597,6 @@ def test_iregex_lookup(self):
598597
def test_query_filter_f_expression(self):
599598
self.model.objects.filter(field=F('field'))
600599

601-
@skipIf(VERSION < (1, 11), 'Subquery added in Django 1.11. https://docs.djangoproject.com/en/1.11/ref/models/expressions/#subquery-expressions')
602600
def test_query_filter_subquery(self):
603601
from django.db.models import OuterRef, Subquery
604602
self.model.objects.annotate(
@@ -678,7 +676,6 @@ def test_save_single_item(self):
678676
def test_save_multiple_items(self):
679677
InetArrayTestModel(field=['10.1.1.1', '10.1.1.2']).save()
680678

681-
@skipIf(VERSION < (1, 10), 'ArrayField does not return correct types in Django < 1.10. https://code.djangoproject.com/ticket/25143')
682679
def test_retrieves_ipv4_ipinterface_type(self):
683680
instance = InetArrayTestModel(field=['10.1.1.1/24'])
684681
instance.save()
@@ -697,7 +694,6 @@ def test_save_single_item(self):
697694
def test_save_multiple_items(self):
698695
CidrArrayTestModel(field=['10.1.1.0/24', '10.1.2.0/24']).save()
699696

700-
@skipIf(VERSION < (1, 10), 'ArrayField does not return correct types in Django < 1.10. https://code.djangoproject.com/ticket/25143')
701697
def test_retrieves_ipv4_ipnetwork_type(self):
702698
instance = CidrArrayTestModel(field=['10.1.1.0/24'])
703699
instance.save()
@@ -716,7 +712,6 @@ def test_save_single_item(self):
716712
def test_save_multiple_items(self):
717713
MACArrayTestModel(field=['00:aa:2b:c3:dd:44', '00:aa:2b:c3:dd:45']).save()
718714

719-
@skipIf(VERSION < (1, 10), 'ArrayField does not return correct types in Django < 1.10. https://code.djangoproject.com/ticket/25143')
720715
def test_retrieves_eui_type(self):
721716
instance = MACArrayTestModel(field=['00:aa:2b:c3:dd:44'])
722717
instance.save()
@@ -735,7 +730,6 @@ def test_save_single_item(self):
735730
def test_save_multiple_items(self):
736731
MAC8ArrayTestModel(field=['00:aa:2b:c3:dd:44:55:ff', '00:aa:2b:c3:dd:45:7e:6b']).save()
737732

738-
@skipIf(VERSION < (1, 10), 'ArrayField does not return correct types in Django < 1.10. https://code.djangoproject.com/ticket/25143')
739733
def test_retrieves_eui_type(self):
740734
instance = MAC8ArrayTestModel(field=['00:aa:2b:c3:dd:44:55:67'])
741735
instance.save()
@@ -745,7 +739,6 @@ def test_retrieves_eui_type(self):
745739

746740

747741
class TestAggregate(TestCase):
748-
@skipIf(VERSION < (1, 9), 'Postgres aggregates not supported in Django < 1.9')
749742
def test_aggregate_inet(self):
750743
from django.contrib.postgres.aggregates import ArrayAgg
751744
inet = IPv4Interface('10.20.30.20/32')
@@ -759,7 +752,6 @@ def test_aggregate_inet(self):
759752
AggregateTestChildModel.objects.create(parent=parent, network=network, inet=inet)
760753
self.assertEqual(inet_qs[0].agg_inet, [inet])
761754

762-
@skipIf(VERSION < (1, 9), 'Postgres aggregates not supported in Django < 1.9')
763755
def test_aggregate_network(self):
764756
from django.contrib.postgres.aggregates import ArrayAgg
765757
inet = IPv4Interface('10.20.30.20/32')

0 commit comments

Comments
 (0)