Re: Django 2.0 released, and what it means to you

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/05/2017 04:27 PM, Miro Hrončok wrote:
Django 2.0 was released quite recently. While it is mostly compatible with earlier versions, the SIGNIFICANT change is, to drop support for Python 2.

Maybe a Fedora Change coordinating this would be nice?

Hi,
Another option is to create a new "python2-django" package containing the latest Django 1.x code (which is still supported upstream as LTS). That would mean dependent packages would have until April 2020 to drop Python 2.
If that would help, let me know and I'll package it.

See python2-ipython package for how we did it there.

My opinion here is to drop python2-django from Fedora and don't package python2-django. Removing Python 2 packages slowly before 2020 is a good thing. It will remind packagers that we are serious about this and it could give us some experience with this kind of stuff, that can be reused once python2 will be removed.

Note that python2-ipython is useful when testing stuff that needs
to support legacy Python interactively.

When someone needs to support Django stuff on Python 2, they can still use virtualenvs and pip (and hopefully also pipenv soon), which is the recommended way for development anyway.

This IMHO boils to one question: Are there **apps** packaged in Fedora that require Django on Python 2? And if so, can they be switched to Python 3?

If there are some Django Python 2 apps that would need this, we can package python2-django (in a way as a compat package for those).

Those are packages that require python(2)-django and are themselves not prefixed with python(2)-django:

cobbler-web
fts-monitoring
gramps-webapp
graphite-web
kobo-admin
kobo-django
kobo-hub
pony
pulp-server

I suggest we go trough them and see. At least the kobo thing is probably being ported to 3 by Lumír (CC'ed)
Kobo is currently tested with Django 1.6 and 1.8. The codebase is ported to Python 3 but it needs to be modified to support Django >= 1.11. There are some issues but I don't know Django well enough to fix them.

I am not a maintainer nor a user of Kobo but I think that Kobo will need python2-django in Fedora.

Even if we and up having python2-django, I suggest we remove all the unneeded python2-django-wahtnots anyway and only keep the ones used by the apps.

_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux