Re: python-dateutil update

2015-01-19 Thread Stephen Gallagher



On Sun, 2015-01-18 at 14:35 -0700, Pete Travis wrote:
 On 12/08/2014 09:47 AM, Zbigniew Jędrzejewski-Szmek wrote:
  On Mon, Dec 08, 2014 at 09:10:59AM -0700, Pete Travis wrote:
  On Dec 8, 2014 8:51 AM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl
  wrote:
 
  On Sun, Dec 07, 2014 at 04:45:12PM -0700, Pete Travis wrote:
  python-dateutil is old[0].  Fedora is carrying version 1.5, and
 upstream
  is up to 2.3 .  If you're receiving this mail directly, you are a
  maintainer of  a package that depends on python-dateutil, and we need
  your help.
  It seems that calibre is fine with the new version. I wanted to update
  pyton-dateutil to check if calibre works, and it seems that I
  installed python-dateutil-2.3 with pip --user couple of months ago and
  calibre didn't seem to mind. There's some dateutil usage in the
 installer,
  which I didn't test but which we probably don't care about.
  https://github.com/dateutil/dateutil/blob/master/NEWS also doesn't seem
  scary.
 
  So I think it's fine it python-dateutil is updated as a calibre dep.
 
  Zbyszek
 
  Great, thanks for responding.   I'm a *light* calibre user, but I'd be
  happy to help test with a newer dateutil when it becomes available if
  that's the direction you are going.
  You can just install the python-dateutil-2.* package and test away ;)
 
  Looking at the list and your annoucement mail again, I wonder if it
  might be better to bump python-dateutil to 2.2 again as soon as the
  updated python-dateutil15 is available, and simply modify packages
  which either explicitly depend on dateutil  2 or exhibit problems to
  depend on python-dateutil15. Proven packagers can do that trivially if
  necessary. Otherwise this could drag on for months.
 
  fedocal and python-django-tastypie are the only packages which
  explicitly require python-dateutil  2. If you wish, I can volunteer
  file bugs to change the dependency for F21 and rawhide for those two
  packages and do it myself after a week if the maintainers don't
  respond or are fine with the change (got to use those provenpackager
  privs for something :)).
 
  Zbyszek
 
 Okay, I finally have things in motion here python-dateutil15 in
 rawhide is usable as described and an update for F21 will be available
 soon. Provenpackage at will :)
 
 

Please, *DO NOT* push incompatible updates to Fedora 21. This is not
acceptable. Python-dateutil 2.x is incompatible with nearly all packages
that use 1.5. Treat this like you would a SOName bump in a C package.

I see that you have built python-dateutil 2.x and python-dateutil15 for
Rawhide and F21 already and have made them Conflicts: each other. This
is seriously wrong. Please follow Fedora's Python Eggs Guidelines[1] for
how to create parallel-installable versions so that they can live on the
system simultaneously.

Once the packages are parallel-installable, before they go to stable
(too late, for Rawhide...) you need to set a flag day for packages that
previously required python-dateutils 1.5 to change their Requires:

If they must continue to use 1.5, then they need to
Requires: python-dateutil = 1.5
and then follow the directions up there to ensure that their built
Egg-Info requires.txt explicitly lists this as well. This will cause
Python to pull in the correct version if both are installed.

If they can work on 2.0, then they can just leave it as Requires:
python-dateutil and whichever one is on the system will be used.


Also, please do not file dozens of bugs without following the Mass Bug
Filing process[2]. It makes life difficult for everyone.

[1]
https://fedoraproject.org/wiki/Packaging:Python_Eggs#Multiple_Versions
[2] https://fedoraproject.org/wiki/Mass_bug_filing


signature.asc
Description: This is a digitally signed message part
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: python-dateutil update

2015-01-19 Thread Pierre-Yves Chibon
On Mon, Jan 19, 2015 at 08:27:07AM -0500, Stephen Gallagher wrote:
 
 
 
 On Sun, 2015-01-18 at 14:35 -0700, Pete Travis wrote:
  On 12/08/2014 09:47 AM, Zbigniew Jędrzejewski-Szmek wrote:
   On Mon, Dec 08, 2014 at 09:10:59AM -0700, Pete Travis wrote:
   On Dec 8, 2014 8:51 AM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl
   wrote:
  
   On Sun, Dec 07, 2014 at 04:45:12PM -0700, Pete Travis wrote:
   python-dateutil is old[0].  Fedora is carrying version 1.5, and
  upstream
   is up to 2.3 .  If you're receiving this mail directly, you are a
   maintainer of  a package that depends on python-dateutil, and we need
   your help.
   It seems that calibre is fine with the new version. I wanted to update
   pyton-dateutil to check if calibre works, and it seems that I
   installed python-dateutil-2.3 with pip --user couple of months ago and
   calibre didn't seem to mind. There's some dateutil usage in the
  installer,
   which I didn't test but which we probably don't care about.
   https://github.com/dateutil/dateutil/blob/master/NEWS also doesn't seem
   scary.
  
   So I think it's fine it python-dateutil is updated as a calibre dep.
  
   Zbyszek
  
   Great, thanks for responding.   I'm a *light* calibre user, but I'd be
   happy to help test with a newer dateutil when it becomes available if
   that's the direction you are going.
   You can just install the python-dateutil-2.* package and test away ;)
  
   Looking at the list and your annoucement mail again, I wonder if it
   might be better to bump python-dateutil to 2.2 again as soon as the
   updated python-dateutil15 is available, and simply modify packages
   which either explicitly depend on dateutil  2 or exhibit problems to
   depend on python-dateutil15. Proven packagers can do that trivially if
   necessary. Otherwise this could drag on for months.
  
   fedocal and python-django-tastypie are the only packages which
   explicitly require python-dateutil  2. If you wish, I can volunteer
   file bugs to change the dependency for F21 and rawhide for those two
   packages and do it myself after a week if the maintainers don't
   respond or are fine with the change (got to use those provenpackager
   privs for something :)).
  
   Zbyszek
  
  Okay, I finally have things in motion here python-dateutil15 in
  rawhide is usable as described and an update for F21 will be available
  soon. Provenpackage at will :)
  
  
 
 Please, *DO NOT* push incompatible updates to Fedora 21. This is not
 acceptable. Python-dateutil 2.x is incompatible with nearly all packages
 that use 1.5. Treat this like you would a SOName bump in a C package.

That's not quite true.
dateutil was py2 only up to 1.5, then they released 2.0 announcing it would be
py3 only which they later changed back so that the 2.2+ (maybe even 2.1)
versions are both compatible with py2 and py3.
So the latest version of python-dateutil are pretty much compatible with all
packages that use/used 1.5. I have not checked completely but for all
the programs which I have that relies on dateutil the API didn't change.

So, while it should be handled carefully, I do not consider it to be
'incompatible with nearly all packages that use 1.5'.


Pierre


pgpVLsUUWDTHP.pgp
Description: PGP signature
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: python-dateutil update

2015-01-18 Thread Pete Travis

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 12/08/2014 09:47 AM, Zbigniew Jędrzejewski-Szmek wrote:
 On Mon, Dec 08, 2014 at 09:10:59AM -0700, Pete Travis wrote:
 On Dec 8, 2014 8:51 AM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl
 wrote:

 On Sun, Dec 07, 2014 at 04:45:12PM -0700, Pete Travis wrote:
 python-dateutil is old[0].  Fedora is carrying version 1.5, and
upstream
 is up to 2.3 .  If you're receiving this mail directly, you are a
 maintainer of  a package that depends on python-dateutil, and we need
 your help.
 It seems that calibre is fine with the new version. I wanted to update
 pyton-dateutil to check if calibre works, and it seems that I
 installed python-dateutil-2.3 with pip --user couple of months ago and
 calibre didn't seem to mind. There's some dateutil usage in the
installer,
 which I didn't test but which we probably don't care about.
 https://github.com/dateutil/dateutil/blob/master/NEWS also doesn't seem
 scary.

 So I think it's fine it python-dateutil is updated as a calibre dep.

 Zbyszek

 Great, thanks for responding.   I'm a *light* calibre user, but I'd be
 happy to help test with a newer dateutil when it becomes available if
 that's the direction you are going.
 You can just install the python-dateutil-2.* package and test away ;)

 Looking at the list and your annoucement mail again, I wonder if it
 might be better to bump python-dateutil to 2.2 again as soon as the
 updated python-dateutil15 is available, and simply modify packages
 which either explicitly depend on dateutil  2 or exhibit problems to
 depend on python-dateutil15. Proven packagers can do that trivially if
 necessary. Otherwise this could drag on for months.

 fedocal and python-django-tastypie are the only packages which
 explicitly require python-dateutil  2. If you wish, I can volunteer
 file bugs to change the dependency for F21 and rawhide for those two
 packages and do it myself after a week if the maintainers don't
 respond or are fine with the change (got to use those provenpackager
 privs for something :)).

 Zbyszek

Okay, I finally have things in motion here python-dateutil15 in
rawhide is usable as described and an update for F21 will be available
soon. Provenpackage at will :)

- -- 
- -- Pete
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQEcBAEBAgAGBQJUvCcGAAoJEL1wZM0+jj2ZqPIH/i5SSAHgnNOWhAqK8A8jEN/7
2Q2cwirG25CjWCu6doLX5W7Y+/jBHFaEB90WfS0HtiZEiJI6WQc8g+uz46Piyro2
NsXdQMNn7Em62apcHj3qJFYTinUVhYYR/eamYo09pEo7JPoXEhGAc0UW3i1QkTCv
OM8x0j/lk6Dcj/xFJq0prdYDZqcQtQQsjX5A+LIWuYBaDF/yUpEhWcWa4Y9I5RaZ
AQiuYaxxXVEdmVwHM/frSffn66qTP9zW/rypIYxQXEZiEXyApOKm8whN8C9a5q+M
Shr5IDyNiDvELwLXUCncqMKFN43DP9YfqPiI8RG7c2nIf7hl8sZCeldlwPPPI5c=
=1ujy
-END PGP SIGNATURE-

-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: python-dateutil update

2014-12-08 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Dec 08, 2014 at 09:10:59AM -0700, Pete Travis wrote:
 On Dec 8, 2014 8:51 AM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl
 wrote:
 
  On Sun, Dec 07, 2014 at 04:45:12PM -0700, Pete Travis wrote:
   python-dateutil is old[0].  Fedora is carrying version 1.5, and upstream
   is up to 2.3 .  If you're receiving this mail directly, you are a
   maintainer of  a package that depends on python-dateutil, and we need
   your help.
  It seems that calibre is fine with the new version. I wanted to update
  pyton-dateutil to check if calibre works, and it seems that I
  installed python-dateutil-2.3 with pip --user couple of months ago and
  calibre didn't seem to mind. There's some dateutil usage in the installer,
  which I didn't test but which we probably don't care about.
  https://github.com/dateutil/dateutil/blob/master/NEWS also doesn't seem
  scary.
 
  So I think it's fine it python-dateutil is updated as a calibre dep.
 
  Zbyszek
 
 Great, thanks for responding.   I'm a *light* calibre user, but I'd be
 happy to help test with a newer dateutil when it becomes available if
 that's the direction you are going.
You can just install the python-dateutil-2.* package and test away ;)

Looking at the list and your annoucement mail again, I wonder if it
might be better to bump python-dateutil to 2.2 again as soon as the
updated python-dateutil15 is available, and simply modify packages
which either explicitly depend on dateutil  2 or exhibit problems to
depend on python-dateutil15. Proven packagers can do that trivially if
necessary. Otherwise this could drag on for months.

fedocal and python-django-tastypie are the only packages which
explicitly require python-dateutil  2. If you wish, I can volunteer
file bugs to change the dependency for F21 and rawhide for those two
packages and do it myself after a week if the maintainers don't
respond or are fine with the change (got to use those provenpackager
privs for something :)).

Zbyszek
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: python-dateutil update

2014-12-08 Thread Pierre-Yves Chibon
On Mon, 2014-12-08 at 17:47 +0100, Zbigniew Jędrzejewski-Szmek wrote:
 fedocal and python-django-tastypie are the only packages which
 explicitly require python-dateutil  2. If you wish, I can volunteer
 file bugs to change the dependency for F21 and rawhide for those two
 packages and do it myself after a week if the maintainers don't
 respond or are fine with the change (got to use those provenpackager
 privs for something :)).

You can take fedocal out of this list.

The problem was that one release of python-dateutils was not py2
compatible (thus the 1.5 compat package and the discussion in bug report
listed previously). This is now back and fedocal runs now happily with
the latest python-dateutils.

Pierre
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

python-dateutil update

2014-12-07 Thread Pete Travis

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi all,

python-dateutil is old[0].  Fedora is carrying version 1.5, and upstream
is up to 2.3 .  If you're receiving this mail directly, you are a
maintainer of  a package that depends on python-dateutil, and we need
your help.

There are some changes that might cause breakage for you if the package
was updated.  Luckily, there is a python-dateutil15 package that could
continue to provide the same code. The maintainer of python-dateutil15
has agreed to carry the one patch that makes it different from
python-dateutil.

After this update to python-dateutil15, maintainers of dependent
packages[1] can simply submit an update with the new requires for
business as usual.  python-dateutil can then be updated to the current
version, and packages needing *that* can move forward.

I intend to file a bug against python-dateutil15 for the patch, a
tracking bug that's blocked by tickets filed against individual affected
packages and dependent on the python-dateutil15 change, and the tracking
bug will block the cited python-dateutil ticket.  It should be
relatively easy to see when each step is complete, and a relatively
painless change for the maintainers involved.  Please reply here with
any concerns about this process that might not have occurred to me.

[0] https://bugzilla.redhat.com/show_bug.cgi?id=1126521
[1] https://immanetize.fedorapeople.org/python-dateutil.requires

- -- 
- -- Pete Travis
 - Fedora Docs Project Leader
 - 'randomuser' on freenode
 - immanet...@fedoraproject.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQEcBAEBAgAGBQJUhOZ4AAoJEL1wZM0+jj2Z4jUH/A7d3onPkvwUNKUo5uCDXBJb
WIXOKtCZbK3LrBK7VSUk7px4cfOjcFumRCs+ZSXSq4URIRd8pxCFbcXWTpfk1fq3
uoxeZDXiK9Ab9P+2ksPDlPODuDxjoj77Pa79YNnoxUTL2tvdz2YcrlIqOrgJa2+h
uopMO8BF9qE6t8KXfhiGkP2w/EF6rfqrUaL0F7xvVzyDfkA/akS0LPcRyfQ0fOi6
Tbfr9Qoj54dpJWLjlBXky0RLodMXl2oFOnotdhmqAF9RRIbotYG03NXH9CeQn3SU
wdQm/RdXgQQyoTbghwq8k0yGWsPrhm4AyeC++XTKUtBFZwEEGxVj+2kAnpvJ24Q=
=7BTl
-END PGP SIGNATURE-

-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct