-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Django 2.1 #2
Comments
Thanks for the input, DCP indeed lacks django 2+ support. I'm kinda stuck for now since my big test project for DCP is python2-only, and hence can't run django2+. But I'll have a look asap at upgrading DCP support for Django 2+ even only with minimal testing. |
I've updated DCP, along with my big test project, to support up to Django2.2.1 |
Works very nicely. Note there isnt a CHANGELOG entry for 0.5. Also setup.py is missing |
I'd be quite interested by a PR on setup.py niceties indeed, thanks, I have little experience in python packaging :) |
Sounds like a good plan. Any chance you can fix #3 ? If so, I'll add green CI also. |
Ok, I'm looking at it asap. |
I've fixed tests, updated changelog, normalized fixer names, and made tox go through "setup.py test". Could you please review the new setup.py, since making it work with pytest was not straighforward at all ? CI should work with latest 0.6 |
0.6 is good enough for my openSUSE packaging, however there are a few minor additions needed for Travis CI and better packaging in the future. PR on the way.. |
Thanks for the PR, I'll have an additional look asap at how the patcher behaves when django-contrib-comments isn't installed, since it's now an "extra". (leaving ticket open as a reminder) |
A good idea. A way to test this is to have a 'nocomments' factor in tox which doesn't install django-contrib-comments. I expect the tests in the current test project will fail, but fail in a sort-of sensible manner. A second test project which doesnt use comments would be needed to properly test how the patcher behaves without django-contrib-comments installed. |
Alright, I've updated tox and fixer tests to check that it well returns a meaningful error when importing a missing "module alias" liek django.contrib.comments ; it works fine. Thansk a lot for your contributions ! |
I am experiencing this failure on Django 2.2, but I believe it first occurs in Django 2.1
I have built this for openSUSE , but only enabled Python 2/Django 1.11 as the Python 3 builds need both Django 2.1 and 2.2 support.
https://build.opensuse.org/package/show/home:jayvdb:django/python-django-compat-patcher
See also upstream issue at arteria/django-compat#66
The text was updated successfully, but these errors were encountered: