question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Compatibility with django-reversion 2.0

See original GitHub issue

It seems the new version of django-reversion (since 2.0) breaks django-cms while calling migrate:

lib/python3.4/site-packages/cms/utils/reversion_hacks.py", line 18, in <module>
    from reversion.models import Revision, Version, post_revision_commit  # NOQA  # nopyflakes
ImportError: cannot import name 'post_revision_commit'

According to their release notes, this signal got removed.

My first idea was to suggest adding version pinning to setup.py until compatibility is achieved, but it seems django-reversion isn’t a hard dependency at all. Though, having the user deal with this problem also isn’t nice.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

4reactions
czpythoncommented, Sep 2, 2016

Closing as a won’t fix for the core of djangoCMS. Instead, we’ll release a third party app which will re-introduce revision support

2reactions
czpythoncommented, Jun 21, 2016

Hello, We’re aware of the issue, unfortunately it caught us at an unfortunate time as we’re doing multiple refactors of the codebase in preparation for 3.4 and 3.5 and so are currently maxed out. That said, any PR that fixes this is welcome and will be given priority.

Read more comments on GitHub >

github_iconTop Results From Across the Web

FAQ: Installation | Django documentation
Since newer versions of Python are often faster, have more features, and are better supported, the latest version of Python 3 is recommended....
Read more >
Download Django
The last version to support Python 2.7 is Django 1.11 LTS. See the FAQ for the Python versions supported by each version of...
Read more >
Django 2.1 release notes
Python compatibility ​​ Django 2.1 supports Python 3.5, 3.6, and 3.7. Django 2.0 is the last version to support Python 3.4. We highly...
Read more >
Django 2.2 release notes
Python compatibility ​​ Django 2.2 supports Python 3.5, 3.6, 3.7, 3.8 (as of 2.2. 8), and 3.9 (as of 2.2. 17). We highly...
Read more >
Release notes - Django documentation
For those upgrading to a new version of Django, you will need to check all the backwards-incompatible changes and deprecated features for each...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found