Skip to content

Commit 70cbb51

Browse files
committed
update for Django 6.0
1 parent 4e3175c commit 70cbb51

File tree

6 files changed

+5
-8
lines changed

6 files changed

+5
-8
lines changed

.github/workflows/linters.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Set up Python
1818
uses: actions/setup-python@v4
1919
with:
20-
python-version: '3.10'
20+
python-version: '3.12'
2121
- run: python -m pip install flake8
2222
- name: flake8
2323
uses: liskin/gh-problem-matcher-wrap@v2
@@ -33,7 +33,7 @@ jobs:
3333
- name: Set up Python
3434
uses: actions/setup-python@v4
3535
with:
36-
python-version: '3.10'
36+
python-version: '3.12'
3737
- run: python -m pip install isort
3838
- name: isort
3939
uses: liskin/gh-problem-matcher-wrap@v2

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
- uses: actions/checkout@v4
5555
- uses: actions/setup-python@v4
5656
with:
57-
python-version: '3.10'
57+
python-version: '3.12'
5858
- name: Install system packages for Django's Python test dependencies
5959
run: |
6060
sudo apt-get update

django-test-suite/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ VERSION=$1
77

88
# clone django into the repo.
99
rm -rf _django_repo
10-
git clone --depth 1 --single-branch --branch cockroach-5.2.x https://github.com/timgraham/django _django_repo
10+
git clone --depth 1 --single-branch --branch cockroach-6.0.x https://github.com/timgraham/django _django_repo
1111

1212
# install the django requirements.
1313
cd _django_repo/tests/

django_cockroachdb/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = '5.2a0'
1+
__version__ = '6.0a0'
22

33
# Check Django compatibility before other imports which may fail if the
44
# wrong version of Django is installed.

django_cockroachdb/features.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,6 @@ def django_test_expected_failures(self):
161161
'bulk_create.tests.BulkCreateTests.test_bulk_insert_nullable_fields',
162162
'many_to_one.tests.ManyToOneTests.test_add_remove_set_by_pk_raises',
163163
'many_to_one.tests.ManyToOneTests.test_fk_to_smallautofield',
164-
'many_to_one.tests.ManyToOneTests.test_get_prefetch_queryset_reverse_warning',
165164
'many_to_one.tests.ManyToOneTests.test_get_prefetch_querysets_reverse_invalid_querysets_length',
166165
'migrations.test_operations.OperationTests.test_smallfield_autofield_foreignfield_growth',
167166
'migrations.test_operations.OperationTests.test_smallfield_bigautofield_foreignfield_growth',

setup.cfg

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ classifiers =
1616
Operating System :: OS Independent
1717
Programming Language :: Python
1818
Programming Language :: Python :: 3
19-
Programming Language :: Python :: 3.10
20-
Programming Language :: Python :: 3.11
2119
Programming Language :: Python :: 3.12
2220
project_urls =
2321
Source = https://github.com/cockroachdb/django-cockroachdb

0 commit comments

Comments
 (0)