Skip to content

Commit

Permalink
Remove Python 3.10 from test matrix, update classifiers, deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobtylerwalls committed Aug 29, 2024
1 parent 22a3a0b commit 3e942c4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12"]
python-version: ["3.11", "3.12"]

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion arches_references/migrations/0001_initial.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ def remove_view_plugin(apps, schema_editor):
migrations.AddConstraint(
model_name="listitemvalue",
constraint=models.CheckConstraint(
check=models.Q(
condition=models.Q(
("language_id__isnull", False),
("valuetype", "image"),
_connector="OR",
Expand Down
2 changes: 1 addition & 1 deletion arches_references/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ class Meta:
),
),
models.CheckConstraint(
check=Q(language_id__isnull=False) | Q(valuetype="image"),
condition=Q(language_id__isnull=False) | Q(valuetype="image"),
name="only_images_nullable_language",
violation_error_message=_(
"Item values must be associated with a language."
Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,10 @@ classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Framework :: Django",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.1",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Intended Audience :: Information Technology",
Expand Down

0 comments on commit 3e942c4

Please sign in to comment.