From Fedora Project Wiki
Line 52: Line 52:


== Scope ==
== Scope ==
* Proposal owners:
* Proposal owners: drop Python2 subpackage from python-django, upgrade python-django to Django-2.0 and package Django-1.11.x for Python2 only.
<!-- What work do the feature owners have to accomplish to complete the feature in time for release?  Is it a large change affecting many parts of the distribution or is it a very isolated change? What are those changes?-->
<!-- What work do the feature owners have to accomplish to complete the feature in time for release?  Is it a large change affecting many parts of the distribution or is it a very isolated change? What are those changes?-->


Line 63: Line 63:
<!-- Please check the list of Fedora release deliverables and list all the differences the feature brings -->
<!-- Please check the list of Fedora release deliverables and list all the differences the feature brings -->


* Policies and guidelines: N/A (not a System Wide Change) <!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
* Policies and guidelines:
** Python packaging guidelines
** Documentation should be provided
<!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
<!-- Do the packaging guidelines or other documents need to be updated for this feature?  If so, does it need to happen before or after the implementation is done?  If a FPC ticket exists, add a link here. -->
<!-- Do the packaging guidelines or other documents need to be updated for this feature?  If so, does it need to happen before or after the implementation is done?  If a FPC ticket exists, add a link here. -->



Revision as of 13:52, 6 December 2017


Change Proposal Name Django-2.0

Summary

This change is about upgrading python-django to version 2.0. The latest Django release drops support for Python 2, but still a few Django apps do not support Python 3.

Owner

  • Name: Matthias Runge
  • Email: <mrunge@matthias-runge.de>
  • Release notes owner:

Current status

  • Targeted release: Fedora 28
  • Last updated: 2017-12-06
  • Tracker bug: <will be assigned by the Wrangler>

Detailed Description

The latest Django release 2.0 finally drops support for Python 2.7. Not all dependent applications can keep up with Djangos pace. This change describes a way how to enable both, keeping 2.7 compatibility and also leveraging the latest version.

Benefit to Fedora

Fedora will be able to provide both: latest and current release and also a fallback for applications, which do not support Python3 yet.


Scope

  • Proposal owners: drop Python2 subpackage from python-django, upgrade python-django to Django-2.0 and package Django-1.11.x for Python2 only.
  • Other developers: Other developers, whose applications do work with Python3 and Django 2.0 will need to change the requirement to python3-django.
  • Policies and guidelines:
    • Python packaging guidelines
    • Documentation should be provided
  • Trademark approval: N/A (not needed for this Change)

Upgrade/compatibility impact

N/A (not a System Wide Change)

How To Test

You should be able to install two web-apps, one requiring python2-django and one requiring python3-django. (TODO: provide actual package names)

  1. dnf install (package 1)
  2. see python2-django is installed as dependency
  3. run that package
  4. dnf install (package 2)
  5. verify python3-django is installed as dependency
  6. package 1 still works
  7. package 2 works as well
  8. dnf remove package 1
  9. package 2 still works

User Experience

N/A (not a System Wide Change)

Dependencies

N/A (not a System Wide Change)

Contingency Plan

  • Contingency mechanism: (What to do? Who will do it?) N/A (not a System Wide Change)
  • Contingency deadline: N/A (not a System Wide Change)
  • Blocks release? N/A (not a System Wide Change), Yes/No
  • Blocks product? product

Documentation

N/A (not a System Wide Change)

Release Notes