Skip to content

Commit

Permalink
add djangocms 4.1 support. try to fix workflow issue
Browse files Browse the repository at this point in the history
  • Loading branch information
FreemanPancake committed May 28, 2024
1 parent 30e84fc commit b27cf16
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion djangocms_page_sitemap/compat.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from cms import __version__ as CMS_VERSION
from packaging.version import Version

CMS_41 = Version('4.1') <= Version(CMS_VERSION)
CMS_41 = Version("4.1") <= Version(CMS_VERSION)


if CMS_41:
Expand Down
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ envlist =
ruff
pypi-description
towncrier
py{38, 39, 310, 311}-django{32,42}-cms{40,41}
py{38, 39, 310, 311}-django{32,42}-cms{40}
py{38, 39, 310, 311}-django{42}-cms{41}

[testenv]
commands = {env:COMMAND:python} cms_helper.py djangocms_page_sitemap test {posargs}
Expand Down

0 comments on commit b27cf16

Please sign in to comment.