Bug 1140413 - python3-dateutil should R python3-six
Summary: python3-dateutil should R python3-six
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-dateutil
Version: rawhide
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Jef Spaleta
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-10 22:56 UTC by Jerry James
Modified: 2014-09-23 04:22 UTC (History)
3 users (show)

Fixed In Version: python3-dateutil-2.2-2.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-09-23 04:22:07 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jerry James 2014-09-10 22:56:14 UTC
Description of problem:
I just diagnosed a build failure with sympy on python3.  Through a long chain of imports, it ultimately tries to import some python3-dateutil modules, but the import fails because python3-six is not in the build root.

$ cd /usr/lib/python3.4/site-packages/dateutil
$ grep six *.py
tz.py:from six import string_types, PY3
tz.py:        # sixteen bytes reserved for future use, followed by
tz.py:        # six four-byte values of type long, written in a
rrule.py:from six import advance_iterator, integer_types
parser.py:from six import text_type, binary_type, integer_types
relativedelta.py:from six import integer_types

python3-dateutil should have "Requires: python3-six" so these imports will succeed.

Version-Release number of selected component (if applicable):
python3-dateutil-2.2-1.fc22.noarch

How reproducible:
Always.

Steps to Reproduce:
1. Install python3-dateutil on a Rawhide machine that does not have python3-six installed.
2. Run python3
3. import dateutil.tz

Actual results:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3.4/site-packages/dateutil/tz.py", line 9, in <module>
    from six import string_types, PY3
ImportError: No module named 'six'

Expected results:
Successful import.

Additional info:
The python2 version, python-dateutil, does not have the same problem.

Comment 1 Fedora Update System 2014-09-16 22:17:53 UTC
python3-dateutil-2.2-2.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/python3-dateutil-2.2-2.fc21

Comment 2 Fedora Update System 2014-09-18 16:12:08 UTC
Package python3-dateutil-2.2-2.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 python3-dateutil-2.2-2.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-10903/python3-dateutil-2.2-2.fc21
then log in and leave karma (feedback).

Comment 3 Fedora Update System 2014-09-23 04:22:07 UTC
python3-dateutil-2.2-2.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.