Bug 1183341

Summary: Update barman Requires for python-dateutil
Product: [Fedora] Fedora Reporter: Pete Travis <me>
Component: barmanAssignee: Dale Macartney <dbmacartney>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dbmacartney, tomspur, zbyszek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://lists.fedoraproject.org/pipermail/devel/2014-December/205006.html
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-18 05:00:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1126521    

Description Pete Travis 2015-01-18 21:03:50 UTC
python-dateutil will be updated to version 2.x and there may be changes that affect this package.  

If barman will work with the newer python-dateutil, you can safely close this bug.  If barman really does require python-dateutil 1.5, please use Requires: python-dateutil15 for Fedora versions of the package until it can be updated.

Comment 1 Pete Travis 2015-01-20 06:57:34 UTC
At a glance, it looks like fairly routine usage of dateutil.parser.parse() followed by dateutil.tz(); neither of these interfaces have changed. Please verify, but I think we're good here.

Comment 2 Dale Macartney 2015-01-20 22:29:05 UTC
Thanks Pete, I'm about to push an update with a dependency for python-dateutil less than 2.0. (Sticking to upstream's release notes to avoid issues).

Comment 3 Pete Travis 2015-01-20 22:43:15 UTC
Worksforme.  I did see upstream's notes; the newer version of dateutil does work with py3 so you might want to send some signal their way.

For now, you'll probably want to explicitly Require: python-dateutil15, and do something like this to get that version of the modules:

import sys
sys.path.insert(0, '/usr/lib/python2.7/site-packages/python_dateutil-1.5-py2.7.egg/')
from dateutil import foo

...and probably inject the python version string instead of just using "py2.7". I plan to scratch up some notes and update these bugs with them soon.

Comment 4 Thomas Spura 2015-02-02 09:00:07 UTC
(In reply to Dale Macartney from comment #2)
> Thanks Pete, I'm about to push an update with a dependency for
> python-dateutil less than 2.0. (Sticking to upstream's release notes to
> avoid issues).

Please test barman with the python-dateutil15 package as suggested comment #0, instead of using "python-dateutil < 2.0".

Comment 5 Fedora Update System 2015-02-03 09:42:21 UTC
barman-1.3.3-5.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/barman-1.3.3-5.el6

Comment 6 Fedora Update System 2015-02-03 09:43:13 UTC
barman-1.3.3-5.el7 has been submitted as an update for Fedora EPEL 7.
https://admin.fedoraproject.org/updates/barman-1.3.3-5.el7

Comment 7 Fedora Update System 2015-02-03 09:47:05 UTC
barman-1.3.3-5.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/barman-1.3.3-5.fc20

Comment 8 Fedora Update System 2015-02-03 09:48:20 UTC
barman-1.3.3-5.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/barman-1.3.3-5.fc21

Comment 9 Fedora Update System 2015-02-03 19:31:23 UTC
Package barman-1.3.3-5.el7:
* should fix your issue,
* was pushed to the Fedora EPEL 7 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=epel-testing barman-1.3.3-5.el7'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-EPEL-2015-0611/barman-1.3.3-5.el7
then log in and leave karma (feedback).

Comment 10 Pete Travis 2015-02-03 23:13:58 UTC
I really don't think you wanted to do that.  This is an F22+ change only, and should not affect your EPEL packages or older Fedora branches.  There is no python-dateutil15 for EPEL7, anyway.  

Additionally, if you want to ensure barman will use python-dateutil15, you will need to add patches as outlined in comment #3.  Any system with python-dateutil installed will almost certainly pull in the 2.4 modules rather than the 1.5 egg.

Comment 11 Fedora Update System 2015-02-04 07:56:09 UTC
Package barman-1.3.3-5.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing barman-1.3.3-5.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-1614/barman-1.3.3-5.fc21
then log in and leave karma (feedback).

Comment 12 Pete Travis 2015-02-10 14:09:04 UTC
https://groups.google.com/forum/#!topic/pgbarman/R_NeTyRMWDI - barman upstream is saying python-dateutil-2.4 should be good, and they're going to include some unit tests to back it up so it is easier to see if future updates will affect the way they use it.

Comment 13 Fedora Update System 2015-02-18 04:53:29 UTC
barman-1.3.3-6.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/barman-1.3.3-6.fc21

Comment 14 Fedora Update System 2015-02-18 04:55:13 UTC
barman-1.3.3-6.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/barman-1.3.3-6.fc20

Comment 15 Fedora Update System 2015-02-18 04:58:27 UTC
barman-1.3.3-6.el7 has been submitted as an update for Fedora EPEL 7.
https://admin.fedoraproject.org/updates/barman-1.3.3-6.el7

Comment 16 Fedora Update System 2015-02-18 04:59:23 UTC
barman-1.3.3-6.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/barman-1.3.3-6.el6

Comment 17 Zbigniew Jędrzejewski-Szmek 2015-02-18 05:00:49 UTC
I pushed an update which undoes the Requires change, since it was not necessary and actually harmful on epel. Since no additional requirement on dateutil is necessary, closing this bug.