jazzband / django-formtools

A set of high-level abstractions for Django forms
https://django-formtools.readthedocs.io
BSD 3-Clause "New" or "Revised" License
814 stars 136 forks source link

Django 3.0 compatibility #142

Closed rixx closed 4 years ago

rixx commented 5 years ago

Django will remove the vendored django.utils.six in the upcoming 3.0 release. six is in use in django-formtools for normalization of string types and iteration.

Since I see that the next version of django-formtools will drop support for Django versions 1.10 and below, and will add support for 2.1, the smoothest experience for everybody concerned would probably be to depend on six directly for a bit?

juancferrer commented 4 years ago

Any updates on this? I'm trying to upgrade my project to use Django 3.0 and it seems that formtools/utils.py is importing django.utils.six which is now deprecated.

juancferrer commented 4 years ago

I see the source installed from pypi is still using the django version of six, but the latest code on github doesn't. I guess there hasn't been a new pypi release with these latest changes?

juancferrer commented 4 years ago

I just added this to my requirements.txt and my project is back to normal, using django 3.0

-e git+git://github.com/jazzband/django-formtools@db1f4f4049d913a3774a0edcf5107203b8a15e91#egg=formtools

Maybe there can be a new PyPi release, so we don't have to have this in requirements.txt ?

loop0 commented 4 years ago

It would be awesome to have a new release in order to use it in django 3

hramezani commented 4 years ago

Soon we can have new PyPi releases compatible with Django 3.0. The new version is created already.

loop0 commented 4 years ago

What is keeping us from releasing it to pypi?

claudep commented 4 years ago

A releaser!

timgraham commented 4 years ago

django-formtools 2.2 (with Django 3.0 compatibility) is now on PyPI.