Django-1.5 for F19

Stephen Gallagher sgallagh at redhat.com
Wed Apr 10 11:53:28 UTC 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu 04 Apr 2013 11:04:44 AM EDT, Matthias Runge wrote:
> Hi,
> 
> recently, we introduced python-django14 for F19, to provide a 
> compatibility package for those packages not working with
> Django-1.5 and requiring an older Django-1.4.
> 
> If you know, your django-package does not work with Django-1.5 or
> are in doubt, please change in your spec-file
> 
> Requires: python-django to Requires: python-django14
> 
> In a week, I will upgrade python-django to Django-1.5.1, in the
> mean time, I'll file bugs against packages including patches.

Actually, I just realized that this is NOT going to provide a clean
upgrade path. If you change the Requires: to python-django14, it means
that when upgrading an app, yum is going to attempt to install
python-django14 on systems that already have python-django, which will
result in an implicit conflict.

There are two things that should probably be done to solve this:
1) All applications should change Requires: python-django to
Requires: python-django >= 1.4
Conflicts: python-django >= 1.5

Since the python-django14 package Provides: python-django = 1.4.5,
this will cleanly move upgrades along to the python-django14 package
if needed.


2) The python-django14 package should add:
Obsoletes: python-django < 1.5
Conflicts: python-django >= 1.5

This way, anyone who is currently running python-django = 1.4.x will
continue along the 1.4.x upgrade path until they explicitly switch to
1.5. Also, since the packages are not mutually-compatible, they really
need to have the explicit Conflicts.

It should be safe to use Obsoletes < $current_version because we will
only ever be supporting in Fedora the two versions supported by
upstream. It gets a little hazy with EPEL, but given that upstream has
abandoned the older releases, they should probably get retired eventually.

Adding Toshio to the CC list explicitly to check my logic :)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlFlUrgACgkQeiVVYja6o6PshgCePEKhRM7kmkeGbyYIVDLDImIW
NnIAoKbAi7RZ8FFl3EpYyneFc+8yxci0
=sjyA
-----END PGP SIGNATURE-----


More information about the devel mailing list