Bug 1517415 - python3-twine missing dependency on python3-tqdm
Summary: python3-twine missing dependency on python3-tqdm
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-twine
Version: 27
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jeremy Cline
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1520765 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-11-25 02:17 UTC by Toshio Ernie Kuratomi
Modified: 2017-12-12 11:19 UTC (History)
4 users (show)

Fixed In Version: python-twine-1.9.1-3.fc27
Clone Of:
Environment:
Last Closed: 2017-12-12 11:19:06 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Toshio Ernie Kuratomi 2017-11-25 02:17:51 UTC
Description of problem:

The python3-twine package requires the python2-tqdm package.  It should be requiring the python3-tqdm package instead.  The missing requirement leads to twine-3 crashing if something else has not installed python3-tqdm.

Version-Release number of selected component (if applicable):

python3-twine-1.9.1-2.fc27.noarch

How reproducible:

Everytime

Steps to Reproduce:
1. dnf erase python3-tqdm -y
2. dnf install -y python3-twine
3. twine-3 --help 

Actual results:

Traceback (most recent call last):
  File "/usr/bin/twine-3", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3038, in <module>
    @_call_aside
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3022, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3051, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 657, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 971, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 857, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'tqdm>=4.11' distribution was not found and is required by twine


Expected results:

[pts/0@roan /srv/pytest-env-info/release]$ twine-3 --help                                       [master]  (18:15:06)
usage: twine [-h] [--version] {register,upload}

positional arguments:
  {register,upload}

optional arguments:
  -h, --help         show this help message and exit
  --version          show program's version number and exit

Additional info:

$ rpm -q --requires python3-twine |grep tqdm           [master]  (18:15:50)
python2-tqdm >= 4.14


Should be python3-tqdm instead of python2-tqdm.

Comment 1 Fedora Update System 2017-11-29 19:15:14 UTC
python-twine-1.9.1-3.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-d3f49dedb3

Comment 2 Jeremy Cline 2017-11-29 19:16:22 UTC
This was already fixed in Rawhide, but I missed F27. Thanks for the bug report!

Comment 3 Fedora Update System 2017-12-02 19:53:09 UTC
python-twine-1.9.1-3.fc27 has been pushed to the Fedora 27 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-2017-d3f49dedb3

Comment 4 Jeremy Cline 2017-12-05 16:59:18 UTC
*** Bug 1520765 has been marked as a duplicate of this bug. ***

Comment 5 Fedora Update System 2017-12-12 11:19:06 UTC
python-twine-1.9.1-3.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.


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