Skip to content

Commit

Permalink
Explore python, django-cms and django-filer version compatibility and…
Browse files Browse the repository at this point in the history
… test suite failures
  • Loading branch information
Aiky30 committed Sep 19, 2024
1 parent 107900f commit fe8c7fe
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 7 deletions.
12 changes: 11 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,21 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [ 3.8, 3.9, '3.10' ]
python-version: [ 3.8, 3.9, '3.10' '3.11', '3.12']
requirements-file: [
dj32_cms40.txt,
dj42_cms40.txt,
dj42_cms41.txt,
]
exclude:
# CMS 4.0 does not support python 3.11+
- requirements-file: "dj32_cms40.txt"
python-version: ["3.11", "3.12"]
- requirements-file: "dj42_cms40.txt"
python-version: ["3.11", "3.12"]
# 3.8 is not required by django-cms 4.1+
- requirements-file: "dj42_cms41.txt"
python-version: ["3.8"]

steps:
- uses: actions/checkout@v3
Expand Down
1 change: 1 addition & 0 deletions test_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
'FILE_UPLOAD_TEMP_DIR': mkdtemp(),
'FILER_CANONICAL_URL': 'test-path/',
'DEFAULT_AUTO_FIELD': 'django.db.models.AutoField',
'CMS_CONFIRM_VERSION4': True,
}


Expand Down
6 changes: 6 additions & 0 deletions tests/requirements/dj32_cms40.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
-r ./requirements_base.txt

Django>=3.2,<4.0
django-filer==2.2.3

# Unreleased django-cms 4.0 compatible packages
https://github.com/django-cms/django-cms/tarball/release/4.0.1.x#egg=django-cms
https://github.com/django-cms/djangocms-versioning/tarball/support/django-cms-4.0.x#egg=djangocms-versioning
https://github.com/django-cms/djangocms-moderation/tarball/master#egg=djangocms-moderation
8 changes: 7 additions & 1 deletion tests/requirements/dj42_cms40.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
-r ./requirements_base.txt

Django>=4.2,<5.0
Django>=4.2,<5.0
django-filer==2.2.3

# Unreleased django-cms 4.0 compatible packages
https://github.com/django-cms/django-cms/tarball/release/4.0.1.x#egg=django-cms
https://github.com/django-cms/djangocms-versioning/tarball/support/django-cms-4.0.x#egg=djangocms-versioning
https://github.com/django-cms/djangocms-moderation/tarball/master#egg=djangocms-moderation
9 changes: 9 additions & 0 deletions tests/requirements/dj42_cms41.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
-r ./requirements_base.txt

Django>=4.2,<5.0
django-cms==4.1.2
djangocms-versioning
django-filer

# Unreleased django-cms 4.0 compatible packages
https://github.com/django-cms/djangocms-moderation/tarball/master#egg=djangocms-moderation
5 changes: 0 additions & 5 deletions tests/requirements/requirements_base.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
coverage
django-app-helper
django-classy-tags
django-filer==2.2.3
django-sekizai
djangocms-audio
djangocms-file
Expand All @@ -13,7 +12,3 @@ isort
mock


# Unreleased django-cms 4.0 compatible packages
https://github.com/django-cms/django-cms/tarball/release/4.0.1.x#egg=django-cms
https://github.com/django-cms/djangocms-versioning/tarball/support/django-cms-4.0.x#egg=djangocms-versioning
https://github.com/django-cms/djangocms-moderation/tarball/master#egg=djangocms-moderation

0 comments on commit fe8c7fe

Please sign in to comment.