Skip to content

Commit 08aa6f5

Browse files
authored
Merge branch 'django42' into add-comments-support
2 parents 852d67d + 2885672 commit 08aa6f5

File tree

4 files changed

+41
-15
lines changed

4 files changed

+41
-15
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ jobs:
3535

3636
steps:
3737
- name: Checkout repository
38-
uses: actions/checkout@v2
38+
uses: actions/checkout@v3
3939

4040
# Initializes the CodeQL tools for scanning.
4141
- name: Initialize CodeQL
42-
uses: github/codeql-action/init@v1
42+
uses: github/codeql-action/init@v2
4343
with:
4444
languages: ${{ matrix.language }}
4545
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -50,7 +50,7 @@ jobs:
5050
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5151
# If this step fails, then you should remove it and run the build manually (see below)
5252
- name: Autobuild
53-
uses: github/codeql-action/autobuild@v1
53+
uses: github/codeql-action/autobuild@v2
5454

5555
# ℹ️ Command-line programs to run using the OS shell.
5656
# 📚 https://git.io/JvXDl
@@ -64,4 +64,4 @@ jobs:
6464
# make release
6565

6666
- name: Perform CodeQL Analysis
67-
uses: github/codeql-action/analyze@v1
67+
uses: github/codeql-action/analyze@v2

azure-pipelines.yml

Lines changed: 25 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ jobs:
2424

2525
strategy:
2626
matrix:
27+
Python3.11 - Django 4.2:
28+
python.version: '3.11'
29+
tox.env: 'py311-django42'
2730
Python3.10 - Django 4.2:
2831
python.version: '3.10'
2932
tox.env: 'py310-django42'
@@ -34,6 +37,9 @@ jobs:
3437
python.version: '3.8'
3538
tox.env: 'py38-django42'
3639

40+
Python3.11 - Django 4.1:
41+
python.version: '3.11'
42+
tox.env: 'py311-django41'
3743
Python3.10 - Django 4.1:
3844
python.version: '3.10'
3945
tox.env: 'py310-django41'
@@ -44,6 +50,9 @@ jobs:
4450
python.version: '3.8'
4551
tox.env: 'py38-django41'
4652

53+
Python3.11 - Django 4.0:
54+
python.version: '3.11'
55+
tox.env: 'py311-django40'
4756
Python3.10 - Django 4.0:
4857
python.version: '3.10'
4958
tox.env: 'py310-django40'
@@ -54,6 +63,9 @@ jobs:
5463
python.version: '3.8'
5564
tox.env: 'py38-django40'
5665

66+
Python3.11 - Django 3.2:
67+
python.version: '3.11'
68+
tox.env: 'py311-django32'
5769
Python 3.9 - Django 3.2:
5870
python.version: '3.9'
5971
tox.env: 'py39-django32'
@@ -63,9 +75,7 @@ jobs:
6375
Python 3.7 - Django 3.2:
6476
python.version: '3.7'
6577
tox.env: 'py37-django32'
66-
Python 3.6 - Django 3.2:
67-
python.version: '3.6'
68-
tox.env: 'py36-django32'
78+
6979

7080
steps:
7181
- task: CredScan@2
@@ -121,6 +131,9 @@ jobs:
121131

122132
strategy:
123133
matrix:
134+
Python3.11 - Django 4.2:
135+
python.version: '3.11'
136+
tox.env: 'py311-django42'
124137
Python3.10 - Django 4.2:
125138
python.version: '3.10'
126139
tox.env: 'py310-django42'
@@ -131,6 +144,9 @@ jobs:
131144
python.version: '3.8'
132145
tox.env: 'py38-django42'
133146

147+
Python3.11 - Django 4.1:
148+
python.version: '3.11'
149+
tox.env: 'py311-django41'
134150
Python3.10 - Django 4.1:
135151
python.version: '3.10'
136152
tox.env: 'py310-django41'
@@ -141,6 +157,9 @@ jobs:
141157
python.version: '3.8'
142158
tox.env: 'py38-django41'
143159

160+
Python3.11 - Django 4.0:
161+
python.version: '3.11'
162+
tox.env: 'py311-django40'
144163
Python3.10 - Django 4.0:
145164
python.version: '3.10'
146165
tox.env: 'py310-django40'
@@ -151,6 +170,9 @@ jobs:
151170
python.version: '3.8'
152171
tox.env: 'py38-django40'
153172

173+
Python3.11 - Django 3.2:
174+
python.version: '3.11'
175+
tox.env: 'py311-django32'
154176
Python 3.9 - Django 3.2:
155177
python.version: '3.9'
156178
tox.env: 'py39-django32'
@@ -160,9 +182,6 @@ jobs:
160182
Python 3.7 - Django 3.2:
161183
python.version: '3.7'
162184
tox.env: 'py37-django32'
163-
Python 3.6 - Django 3.2:
164-
python.version: '3.6'
165-
tox.env: 'py36-django32'
166185

167186
steps:
168187
- task: UsePythonVersion@0

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
setup(
2929
name='mssql-django',
30-
version='1.2',
30+
version='1.3',
3131
description='Django backend for Microsoft SQL Server',
3232
long_description=long_description,
3333
long_description_content_type='text/markdown',

testapp/settings.py

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,6 @@
117117
'ordering.tests.OrderingTests.test_orders_nulls_first_on_filtered_subquery',
118118
'get_or_create.tests.UpdateOrCreateTransactionTests.test_creation_in_transaction',
119119
'indexes.tests.PartialIndexTests.test_multiple_conditions',
120-
'introspection.tests.IntrospectionTests.test_get_constraints',
121120
'migrations.test_executor.ExecutorTests.test_alter_id_type_with_fk',
122121
'migrations.test_operations.OperationTests.test_add_constraint_percent_escaping',
123122
'migrations.test_operations.OperationTests.test_alter_field_pk',
@@ -142,7 +141,6 @@
142141
'ordering.tests.OrderingTests.test_deprecated_values_annotate',
143142
'queries.test_qs_combinators.QuerySetSetOperationTests.test_limits',
144143
'backends.tests.BackendTestCase.test_unicode_password',
145-
'introspection.tests.IntrospectionTests.test_get_table_description_types',
146144
'migrations.test_commands.MigrateTests.test_migrate_syncdb_app_label',
147145
'migrations.test_commands.MigrateTests.test_migrate_syncdb_deferred_sql_executed_with_schemaeditor',
148146
'migrations.test_operations.OperationTests.test_alter_field_pk_fk',
@@ -211,7 +209,6 @@
211209
'lookup.tests.LookupTests.test_in_ignore_none',
212210
'lookup.tests.LookupTests.test_in_ignore_none_with_unhashable_items',
213211
'queries.test_qs_combinators.QuerySetSetOperationTests.test_exists_union',
214-
'introspection.tests.IntrospectionTests.test_get_constraints_unique_indexes_orders',
215212
'schema.tests.SchemaTests.test_ci_cs_db_collation',
216213
'select_for_update.tests.SelectForUpdateTests.test_unsuported_no_key_raises_error',
217214

@@ -291,7 +288,17 @@
291288
'model_fields.test_jsonfield.TestQuerying.test_has_key_number',
292289

293290
# Django 4.2
294-
'get_or_create.tests.UpdateOrCreateTests.test_update_only_defaults_and_pre_save_fields_when_local_fields'
291+
'get_or_create.tests.UpdateOrCreateTests.test_update_only_defaults_and_pre_save_fields_when_local_fields',
292+
'aggregation.test_filter_argument.FilteredAggregateTests.test_filtered_aggregate_empty_condition',
293+
'aggregation.test_filter_argument.FilteredAggregateTests.test_filtered_aggregate_ref_multiple_subquery_annotation',
294+
'aggregation.test_filter_argument.FilteredAggregateTests.test_filtered_aggregate_ref_subquery_annotation',
295+
"aggregation.tests.AggregateAnnotationPruningTests.test_referenced_group_by_annotation_kept",
296+
'aggregation.tests.AggregateTestCase.test_group_by_nested_expression_with_params',
297+
'expressions.tests.BasicExpressionsTests.test_aggregate_subquery_annotation',
298+
'queries.test_qs_combinators.QuerySetSetOperationTests.test_union_order_with_null_first_last',
299+
'queries.test_qs_combinators.QuerySetSetOperationTests.test_union_with_select_related_and_order',
300+
'expressions_window.tests.WindowFunctionTests.test_limited_filter',
301+
'schema.tests.SchemaTests.test_remove_ignored_unique_constraint_not_create_fk_index',
295302
]
296303

297304
REGEX_TESTS = [

0 commit comments

Comments
 (0)