django-fluent / django-fluent-contents

A widget engine to display various content on Django pages
http://django-fluent.org/
Apache License 2.0
149 stars 39 forks source link

Django 2.0 support #91

Closed seroy closed 6 years ago

seroy commented 6 years ago

Requirements must be updated:

  1. django-polymorphic from master
  2. django-fluent-utils with PR #5
seroy commented 6 years ago

It's strange that test test_render_timeout fall on python 2.7.14, locally on python 2.7.12 all tests pass:

GLOB sdist-make: /home/roma/workspace/opensource/django-fluent-contents/setup.py
py27-django17 inst-nodeps: /home/roma/workspace/opensource/django-fluent-contents/.tox/dist/django-fluent-contents-1.2.2.zip
py27-django17 installed: Django==1.7.11,django-fluent-contents==1.2.2,django-fluent-utils==1.4.1,django-parler==1.9.1,django-polymorphic==1.2,django-tag-parser==3.1,django-template-analyzer==1.6.1,django-wysiwyg==0.8.0,docutils==0.14,future==0.16.0,html5lib==1.0b10,Markdown==2.6.11,micawber==0.3.4,Pillow==5.0.0,Pygments==2.2.0,six==1.11.0,textile==3.0.0,webencodings==0.5.1
py27-django17 runtests: PYTHONHASHSEED='2775758795'
py27-django17 runtests: commands[0] | python --version
Python 2.7.12
py27-django17 runtests: commands[1] | python runtests.py
Using Python version 2.7.1 from /home/roma/workspace/opensource/django-fluent-contents/.tox/py27-django17/bin/python
Using Django version 1.7.11 from /home/roma/workspace/opensource/django-fluent-contents/.tox/py27-django17/local/lib/python2.7/site-packages/django
.....................
----------------------------------------------------------------------
Ran 21 tests in 0.415s

OK
Creating test database for alias 'default'...
Destroying test database for alias 'default'...
py27-django18 inst-nodeps: /home/roma/workspace/opensource/django-fluent-contents/.tox/dist/django-fluent-contents-1.2.2.zip
py27-django18 installed: Django==1.8.18,django-fluent-contents==1.2.2,django-fluent-utils==1.4.1,django-parler==1.9.1,django-polymorphic==1.3,django-tag-parser==3.1,django-template-analyzer==1.6.1,django-wysiwyg==0.8.0,docutils==0.14,future==0.16.0,html5lib==1.0b10,Markdown==2.6.11,micawber==0.3.4,Pillow==5.0.0,Pygments==2.2.0,six==1.11.0,textile==3.0.0,webencodings==0.5.1
py27-django18 runtests: PYTHONHASHSEED='2775758795'
py27-django18 runtests: commands[0] | python --version
Python 2.7.12
py27-django18 runtests: commands[1] | python runtests.py
Using Python version 2.7.1 from /home/roma/workspace/opensource/django-fluent-contents/.tox/py27-django18/bin/python
Using Django version 1.8.18 from /home/roma/workspace/opensource/django-fluent-contents/.tox/py27-django18/local/lib/python2.7/site-packages/django
............../home/roma/workspace/opensource/django-fluent-contents/fluent_contents/admin/contentitems.py:139: RemovedInDjango19Warning: ModelAdmin.declared_fieldsets is deprecated and will be removed in Django 1.9.
  if not self.extra_fieldsets or getattr(self, 'declared_fieldsets', None):

.......
----------------------------------------------------------------------
Ran 21 tests in 1.710s

OK
Creating test database for alias 'default'...
Destroying test database for alias 'default'...
py27-django19 inst-nodeps: /home/roma/workspace/opensource/django-fluent-contents/.tox/dist/django-fluent-contents-1.2.2.zip
py27-django19 installed: Django==1.9.13,django-fluent-contents==1.2.2,django-fluent-utils==1.4.1,django-parler==1.9.1,django-polymorphic==1.3,django-tag-parser==3.1,django-template-analyzer==1.6.1,django-wysiwyg==0.8.0,docutils==0.14,future==0.16.0,html5lib==1.0b10,Markdown==2.6.11,micawber==0.3.4,Pillow==5.0.0,Pygments==2.2.0,six==1.11.0,textile==3.0.0,webencodings==0.5.1
py27-django19 runtests: PYTHONHASHSEED='2775758795'
py27-django19 runtests: commands[0] | python --version
Python 2.7.12
py27-django19 runtests: commands[1] | python runtests.py
Using Python version 2.7.1 from /home/roma/workspace/opensource/django-fluent-contents/.tox/py27-django19/bin/python
Using Django version 1.9.13 from /home/roma/workspace/opensource/django-fluent-contents/.tox/py27-django19/local/lib/python2.7/site-packages/django
.....................
----------------------------------------------------------------------
Ran 21 tests in 0.711s

OK
Creating test database for alias 'default'...
Destroying test database for alias 'default'...
py27-django110 inst-nodeps: /home/roma/workspace/opensource/django-fluent-contents/.tox/dist/django-fluent-contents-1.2.2.zip
py27-django110 installed: Django==1.10.8,django-fluent-contents==1.2.2,django-fluent-utils==1.4.1,django-parler==1.9.1,django-polymorphic==1.3,django-tag-parser==3.1,django-template-analyzer==1.6.1,django-wysiwyg==0.8.0,docutils==0.14,future==0.16.0,html5lib==1.0b10,Markdown==2.6.11,micawber==0.3.4,Pillow==5.0.0,Pygments==2.2.0,six==1.11.0,textile==3.0.0,webencodings==0.5.1
py27-django110 runtests: PYTHONHASHSEED='2775758795'
py27-django110 runtests: commands[0] | python --version
Python 2.7.12
py27-django110 runtests: commands[1] | python runtests.py
Using Python version 2.7.1 from /home/roma/workspace/opensource/django-fluent-contents/.tox/py27-django110/bin/python
Using Django version 1.10.8 from /home/roma/workspace/opensource/django-fluent-contents/.tox/py27-django110/local/lib/python2.7/site-packages/django
.....................
----------------------------------------------------------------------
Ran 21 tests in 0.408s

OK
Creating test database for alias 'default'...
Destroying test database for alias 'default'...
py27-django111 inst-nodeps: /home/roma/workspace/opensource/django-fluent-contents/.tox/dist/django-fluent-contents-1.2.2.zip
py27-django111 installed: Django==1.11.9,django-fluent-contents==1.2.2,django-fluent-utils==1.4.1,django-parler==1.9.1,django-polymorphic==1.3,django-tag-parser==3.1,django-template-analyzer==1.6.1,django-wysiwyg==0.8.0,docutils==0.14,future==0.16.0,html5lib==1.0b10,Markdown==2.6.11,micawber==0.3.4,Pillow==5.0.0,Pygments==2.2.0,pytz==2017.3,six==1.11.0,textile==3.0.0,webencodings==0.5.1
py27-django111 runtests: PYTHONHASHSEED='2775758795'
py27-django111 runtests: commands[0] | python --version
Python 2.7.12
py27-django111 runtests: commands[1] | python runtests.py
Using Python version 2.7.1 from /home/roma/workspace/opensource/django-fluent-contents/.tox/py27-django111/bin/python
Using Django version 1.11.9 from /home/roma/workspace/opensource/django-fluent-contents/.tox/py27-django111/local/lib/python2.7/site-packages/django
.....................
----------------------------------------------------------------------
Ran 21 tests in 0.478s

OK
___________________________________ summary ____________________________________
  py27-django17: commands succeeded
  py27-django18: commands succeeded
  py27-django19: commands succeeded
  py27-django110: commands succeeded
  py27-django111: commands succeeded
vdboor commented 6 years ago

Wow.. what a coincidence.. I've just released django-fluent-contents 2.0 yesterday, with almost the same changes. Thanks for taking care too!