Bug 216306 - devel/rbtools: needs to depend on misc/py-tqdm
Summary: devel/rbtools: needs to depend on misc/py-tqdm
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Raphael Kubo da Costa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-20 01:17 UTC by Enji Cooper
Modified: 2017-01-20 11:47 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Enji Cooper freebsd_committer freebsd_triage 2017-01-20 01:17:07 UTC
rbt post requires the tqdm package for the progress bar functionality in rbt post:

$ rbt post ...
Traceback (most recent call last):
  File "/usr/local/bin/rbt", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3017, in <module>
    @_call_aside
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3003, in _call_aside
    f(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3030, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 659, in _build_master
    ws.require(__requires__)
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 967, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 853, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'tqdm' distribution was not found and is required by RBTools
$ sudo pkg install -y py27-tqdm
Updating FreeBSD repository catalogue...
FreeBSD repository is up-to-date.
All repositories are up-to-date.
Checking integrity... done (0 conflicting)
The following 1 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
        py27-tqdm: 4.10.0

Number of packages to be installed: 1
[1/1] Installing py27-tqdm-4.10.0...
[1/1] Extracting py27-tqdm-4.10.0: 100%
$ rbt post ...

Please log in to the Review Board server at [...].
Password:
Review request #54797 posted.

...
$
Comment 1 Enji Cooper freebsd_committer freebsd_triage 2017-01-20 01:17:50 UTC
I'll post a review on Phabricator soon, unless someone else beats me to it.
Comment 2 commit-hook freebsd_committer freebsd_triage 2017-01-20 11:43:59 UTC
A commit references this bug:

Author: rakuco
Date: Fri Jan 20 11:43:34 UTC 2017
New revision: 431947
URL: https://svnweb.freebsd.org/changeset/ports/431947

Log:
  Add a dependency on misc/py-tqdm.

  The dependency on tqdm was introduced in 0.7.7 but was not mentioned in the
  release announcement.

  PR:		216306

Changes:
  head/devel/rbtools/Makefile
Comment 3 commit-hook freebsd_committer freebsd_triage 2017-01-20 11:47:03 UTC
A commit references this bug:

Author: rakuco
Date: Fri Jan 20 11:46:50 UTC 2017
New revision: 431948
URL: https://svnweb.freebsd.org/changeset/ports/431948

Log:
  MFH: r431947

  Add a dependency on misc/py-tqdm.

  The dependency on tqdm was introduced in 0.7.7 but was not mentioned in the
  release announcement.

  PR:		216306

  Approved by:	ports-secteam (blanket approval)

Changes:
_U  branches/2017Q1/
  branches/2017Q1/devel/rbtools/Makefile
Comment 4 Raphael Kubo da Costa freebsd_committer freebsd_triage 2017-01-20 11:47:26 UTC
Fixed, thanks for the report!