Commit 82f20c68 authored by François Ferry's avatar François Ferry
Browse files

feat(migration): add a migration script to warn about incompatibility of cwtags.

This is needed because a lot of people can waste a lot of time resolving
this issue: !208
in cwtags ; because of a monkeypatch.

see: cwtags!1
related: #367

--HG--
branch : 3.32
parent 80342be27608
Pipeline #76293 passed with stages
in 89 minutes and 30 seconds
from pkg_resources import VersionConflict
try:
from cwtags import __pkginfo__
except ImportError:
pass
else:
if __pkginfo__.numversion < (1, 2, 3):
raise VersionConflict(
"This version ({}) of cwtags is incompatible with CubicWeb >= 3.32. "
"Please, upgrade your version of cwtags to >= 1.2.3 before running "
"this migration.".format(__pkginfo__.version)
)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment