Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1278581 - nikola isn't happy with updated version of python-dateutil
Summary: nikola isn't happy with updated version of python-dateutil
Keywords:
Status: CLOSED DUPLICATE of bug 1268039
Alias: None
Product: Fedora
Classification: Fedora
Component: python-nikola
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Pete Travis
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-05 20:49 UTC by Adam Miller
Modified: 2016-01-12 04:17 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-01-12 04:17:52 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Adam Miller 2015-11-05 20:49:41 UTC
Description of problem:
python-dateutil got updated to a newer version than nikola is happy with.

Version-Release number of selected component (if applicable):
python-nikola-7.3.0-5.fc22.noarch

$ nikola3.4 
Traceback (most recent call last):
  File "/usr/lib/python3.4/site-packages/pkg_resources/__init__.py", line 651, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3.4/site-packages/pkg_resources/__init__.py", line 952, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3.4/site-packages/pkg_resources/__init__.py", line 844, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (python-dateutil 2.4.2 (/usr/lib/python3.4/site-packages), Requirement.parse('python-dateutil==2.4.0'), {'Nikola'})

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/nikola3.4", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python3.4/site-packages/pkg_resources/__init__.py", line 3084, in <module>
    @_call_aside
  File "/usr/lib/python3.4/site-packages/pkg_resources/__init__.py", line 3070, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3.4/site-packages/pkg_resources/__init__.py", line 3097, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3.4/site-packages/pkg_resources/__init__.py", line 653, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/lib/python3.4/site-packages/pkg_resources/__init__.py", line 666, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/lib/python3.4/site-packages/pkg_resources/__init__.py", line 839, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'python-dateutil==2.4.0' distribution was not found and is required by Nikola

$ nikola
Traceback (most recent call last):
  File "/usr/bin/nikola", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3084, in <module>
    @_call_aside
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3070, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3097, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 653, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 666, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 839, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'python-dateutil==2.4.0' distribution was not found and is required by Nikola

Comment 1 Mike McLean 2016-01-04 15:50:27 UTC
For reference:

Upstream commit that added a slew of exact version requirements:
https://github.com/getnikola/nikola/commit/141e6bb43cd4cd8482202b3d93ab94a68a3255e3

Upstream ticket that the above change was "fixing":
https://github.com/getnikola/nikola/issues/1320

Comment 2 Neal Gompa 2016-01-07 04:00:25 UTC
Couldn't we override this in our packaging of python-nikola with a patch?

Comment 3 Adam Miller 2016-01-11 18:01:35 UTC
Yes, this could likely be resolved with a relatively simple patch to the package.

Comment 4 Pete Travis 2016-01-12 04:17:52 UTC
I'm working on that now, sorry for the delay.

*** This bug has been marked as a duplicate of bug 1268039 ***


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