Bug 1411141 - bodhi-client should depend on python2-click instead of python-click
Summary: bodhi-client should depend on python2-click instead of python-click
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: bodhi
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Randy Barlow
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-01-08 19:10 UTC by Kevin Fenzi
Modified: 2017-01-09 00:59 UTC (History)
2 users (show)

Fixed In Version: bodhi-2.3.3-2.fc26
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-01-09 00:59:41 UTC
Type: Bug


Attachments (Terms of Use)

Description Kevin Fenzi 2017-01-08 19:10:23 UTC
% fedpkg update

Traceback (most recent call last):
  File "/usr/bin/bodhi", line 11, in <module>
    load_entry_point('bodhi-client==2.3.3', 'console_scripts', 'bodhi')()
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 561, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2631, in load_entry_point
    return ep.load()
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2291, in load
    return self.resolve()
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2297, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/lib/python2.7/site-packages/bodhi/client/__init__.py", line 21, in <module>
    import click
ImportError: No module named click
Could not execute update: Could not generate update request: invalid literal for int() with base 10: ''

python-click is provided only by python3-click.

Comment 1 Randy Barlow 2017-01-08 23:29:45 UTC
I will update bodhi to explicitly depend on python2-click, but I've also filed a bug against python-click since python3-click should not be providing python-click:

https://bugzilla.redhat.com/show_bug.cgi?id=1411169


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