Bug 1305627

Summary: python3-nikola - Nikola3.4 won't run due to incompatible library version for python-dateutil
Product: [Fedora] Fedora Reporter: David Yaffe <dyaffe>
Component: python-nikolaAssignee: Pete Travis <me>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 23CC: admiller, jamatos, me
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-09 14:10:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description David Yaffe 2016-02-08 18:49:19 UTC
Stupid bugzilla, y u no have python3-nikola?

Description of problem:
Nikola3.4 (python3-nikola) will not run due to missing version dependency in Fedora 23. Nikola3.4 requires python-dateutil==2.4.1, however python-dateutil==2.4.2 is in the repository.

Version-Release number of selected component (if applicable):
python3-nikola-7.3.1-3.fc23.noarch

How reproducible:
Everytime.

Steps to Reproduce:
1. dnf -y upgrade
2. dnf -y install python3-nikola
3. nikola3 init mysite
4. crash!

Actual results:
[david@example ~]$ nikola3.4 init testsite
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.1'), {'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.1' distribution was not found and is required by Nikola


Expected results:
$ nikola3.4 init --demo my_first_site
Creating Nikola Site
====================

This is Nikola.  We will now ask you a few easy questions about your new site.
If you do not want to answer and want to go with the defaults instead, simply restart with the `-q` parameter.
--- Questions about the site ---
Site title [My Nikola Site]: My First Nikola Site
...a couple more questions...

That's it, Nikola is now configured.  Make sure to edit conf.py to your liking.
If you are looking for themes and addons, check out https://themes.getnikola.com/ and https://plugins.getnikola.com/.
Have fun!
INFO: init: A new site with example data has been created at my_first_site.
INFO: init: See README.txt in that folder for more information.

Additional info:

Comment 1 Pete Travis 2016-02-09 14:10:14 UTC
There's no bugzilla component for python3-nikola because it is built as a subpackage of python-nikola from the same sources.

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