Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 5 additions & 11 deletions .github/workflows/_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,18 +173,12 @@ jobs:
coverage combine
coverage report --show-missing
env:
# PYTHONWARNINGS is a comma-separated list of warning filters.
# 1. "error": Treat all warnings as errors by default.
# 2. "ignore...django-squash": Ignore a known internal warning from django-squash.
# 3. "ignore...USE_L10N": Ignore deprecation warning for compatibility with older Django versions.
# 4. "ignore...LegacyVersion": Ignore a deprecation warning from a dependency creating a LegacyVersion.
# 5. "ignore...pkg_resources": Ignore the deprecation of the pkg_resources API.
PYTHONWARNINGS: |
PYTHONWARNINGS: >-
ignore::django.utils.deprecation.RemovedInDjango50Warning:django.conf,
ignore:Django migrations writer file has changed and may not be compatible with django-squash,
ignore:Creating a LegacyVersion has been deprecated,
ignore:pkg_resources is deprecated as an API,
error
ignore:Django migrations writer file has changed and may not be compatible with django-squash
ignore:The USE_L10N setting is deprecated:
ignore:Creating a LegacyVersion has been deprecated
ignore:pkg_resources is deprecated as an API
- name: Upload coverage artifact
uses: actions/upload-artifact@v4
with:
Expand Down
5 changes: 2 additions & 3 deletions django_squash/db/migrations/writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@
from django_squash.db.migrations import operators, utils

SUPPORTED_DJANGO_WRITER = (
"39645482d4eb04b9dd21478dc4bdfeea02393913dd2161bf272f4896e8b3b343", # 5.0
"2aab183776c34e31969eebd5be4023d3aaa4da584540b91a5acafd716fa85582", # 4.1 / 4.2
"e90b1243a8ce48f06331db8f584b0bce26e2e3f0abdd177cc18ed37425a23515", # 3.2
"39645482d4eb04b9dd21478dc4bdfeea02393913dd2161bf272f4896e8b3b343", # 5.x
"2aab183776c34e31969eebd5be4023d3aaa4da584540b91a5acafd716fa85582", # 4.2
)


Expand Down
Loading