Bug 1640405

Summary: vdirsyncer broken on Fedora 29
Product: [Fedora] Fedora Reporter: W. Michael Petullo <mike>
Component: vdirsyncerAssignee: Miro Hrončok <mhroncok>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 29CC: amahdal, andreas.kriegl, dan.cermak, fedora, frh+fedora, gnikandrov+fedora, jszinger, mhroncok, michele, redhat-bugzilla, timothee.floure
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: vdirsyncer-0.16.7-1.fc30 vdirsyncer-0.16.7-1.fc29 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-01-22 17:42:17 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:
Embargoed:

Description W. Michael Petullo 2018-10-18 02:02:56 UTC
Description of problem:
Running vdirsyncer fails Python backtrace which follows. This seems in common with the problem reported here:

https://bugs.archlinux.org/task/58987

Version-Release number of selected component (if applicable):
vdirsyncer-0.16.3-4.fc29.noarch
python3-click-log-0.3.2-3.fc29.noarch

How reproducible:
Every time

Steps to Reproduce:
1. Configure vdirsyncer
2. Run with "vdirsyncer -v WARNING sync"

Additional info:

Backtrace:

Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 578, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 895, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 786, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (click-log 0.3.2 (/usr/lib/python3.7/site-packages), Requirement.parse('click-log<0.3.0,>=0.2.0'), {'vdirsyncer'})

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/vdirsyncer", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3112, in <module>
    @_call_aside
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3096, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3125, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 580, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 593, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 781, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'click-log<0.3.0,>=0.2.0' distribution was not found and is required by vdirsyncer

Comment 1 James Szinger 2018-10-23 17:02:16 UTC
*** Bug 1642129 has been marked as a duplicate of this bug. ***

Comment 2 James Szinger 2018-11-08 18:09:12 UTC
This looks to be fixed upstream in vdirsyncer 0.16.7.  Please update.

Comment 3 Timothée Floure 2018-11-15 07:34:29 UTC
I opened a PR [0] against rpms/vdirsyncer fixing this issue. You can also add me as co-maintainer of this package :-)

[0] https://src.fedoraproject.org/rpms/vdirsyncer/pull-request/1#request_diff

Comment 4 Kevin R. Page 2018-12-21 20:33:46 UTC
Confirming this bug prevents vdirsyncer from working in any form or configuration on Fedora 29.

Can the patch in comment #3 be applied, please, so the package is usable again? Suggest adding the EasyFix and Patch keywords to the bug.

Comment 5 Miro Hrončok 2019-01-15 08:38:17 UTC
Stepping in as a provenpackager.

Comment 6 Miro Hrončok 2019-01-15 09:15:26 UTC
*** Bug 1663924 has been marked as a duplicate of this bug. ***

Comment 7 Fedora Update System 2019-01-15 09:18:59 UTC
vdirsyncer-0.16.7-1.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-b55a404540

Comment 8 Fedora Update System 2019-01-16 03:31:05 UTC
vdirsyncer-0.16.7-1.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-b55a404540

Comment 9 Fedora Update System 2019-01-22 17:42:17 UTC
vdirsyncer-0.16.7-1.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.