Opened 5 years ago

Closed 5 years ago

#342 closed defect (fixed)

python-dateutil requires python2-six, but this dependency is not listed in spec file

Reported by: Lewis Rosenthal Owned by:
Priority: trivial Milestone:
Component: spec files Version:
Severity: medium Keywords:
Cc:

Description

python-dateutil-2.6.0-1.oc00.noarch
python-2.7.6-24.oc00.i686

paython-dateutil makes use of six, as per parser.py:

from six import text_type, binary_type, integer_types

Unfortunately, as this cannot be automatically detected during RPM build, this dependency must be listed explicitly, or we end up with a non-working dateutil, and thus, anything which depends upon dateutil (yum-plugin-changelog, for example) fails.

Change History (7)

comment:1 by Silvan Scherrer, 5 years ago

To be honest this spec is a really strange spec. I had a quick look at the Fedora one and there all requires are around. I might take a look soon and update to latest.

comment:2 by Silvan Scherrer, 5 years ago

Priority: majortrivial
Severity: highestmedium
Summary: python-dateutil requires paython2-six, but this dependency is not listed in spec filepython-dateutil requires python2-six, but this dependency is not listed in spec file

comment:3 by Silvan Scherrer, 5 years ago

please try latest python-dateutil

comment:4 by Lewis Rosenthal, 5 years ago

On my test system, I uninstalled python-dateutil-2.6.0-1.oc00.noarch, which also uninstalled yum-plugin-changelog (for dependencies). After that, I uninstalled python2-six.

Next, using ANPM, I selected yum-plugin-changelog for installation, and YUM advised:

python2-dateutil-2.8.1-1.oc00.noarch requires tzdata

tzdata does not appear to be available in exp or rel, and I haven't built one (so not in the AN repos, either).

comment:5 by Silvan Scherrer, 5 years ago

Tzdata i forgot sorry. I will fix when time permits. Either on monday or end of next week.

comment:6 by Silvan Scherrer, 5 years ago

it's installable now. if you see more issues please report them at https://github.com/bitwiseworks/rpm-issues as it's way easier to trac them at github than in here. mail delivery is also better and immediately and we get messages in slack. so we really see it :)

comment:7 by Silvan Scherrer, 5 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.