Skip to content

Commit 16bd3b1

Browse files
committed
drop support for CockroachDB 22.1.x
1 parent 84b6f45 commit 16bd3b1

File tree

3 files changed

+0
-15
lines changed

3 files changed

+0
-15
lines changed

.github/workflows/tests.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ jobs:
2929
fail-fast: false
3030
matrix:
3131
include:
32-
- crdb-version: v22.1.22
33-
use_psycopg2: psycopg2
3432
- crdb-version: v22.2.14
3533
- crdb-version: v22.2.14
3634
use_psycopg2: psycopg2

README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,3 @@ using back to Cockroach Labs. To disable this, set
144144
- [overlaps_left (&<), overlaps_right (&>), overlaps_above (&<|),
145145
overlaps_below (&>|)](https://github.com/cockroachdb/cockroach/issues/57098)
146146
- [strictly_above (|>>), strictly_below (<<|)](https://github.com/cockroachdb/cockroach/issues/57095)
147-
148-
## Known issues and limitations in CockroachDB 22.1.x and earlier
149-
150-
- `QuerySet.select_for_update(skip_locked=True)` isn't supported.

django_cockroachdb/features.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import operator
2-
31
from django.db.backends.postgresql.features import (
42
DatabaseFeatures as PostgresDatabaseFeatures,
53
)
@@ -13,9 +11,6 @@ class DatabaseFeatures(PostgresDatabaseFeatures):
1311
# https://github.com/cockroachdb/django-cockroachdb/issues/206
1412
can_clone_databases = False
1513

16-
# Not supported: https://github.com/cockroachdb/cockroach/issues/40476
17-
has_select_for_update_skip_locked = property(operator.attrgetter('is_cockroachdb_22_2'))
18-
1914
# Not supported: https://github.com/cockroachdb/cockroach/issues/31632
2015
can_defer_constraint_checks = False
2116

@@ -78,10 +73,6 @@ def introspected_field_types(self):
7873
'swedish_ci': 'sv-x-icu',
7974
}
8075

81-
@cached_property
82-
def is_cockroachdb_22_2(self):
83-
return self.connection.cockroachdb_version >= (22, 2)
84-
8576
@cached_property
8677
def django_test_expected_failures(self):
8778
expected_failures = super().django_test_expected_failures

0 commit comments

Comments
 (0)