Bug 249545 - sysutils/py-ansible-lint@py37 run fails
Summary: sysutils/py-ansible-lint@py37 run fails
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Matthew Seaman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-23 10:05 UTC by Vikash Badal
Modified: 2020-09-26 11:22 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (matthew)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vikash Badal 2020-09-23 10:05:51 UTC
py37-ansible-lint-4.3.5 run fails:

vikashb@serenity:~%                                                                % ansible-lint-3.7 -v -T
Traceback (most recent call last):
  File "/usr/local/bin/ansible-lint-3.7", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3251, in <module>
    @_call_aside
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3235, in _call_aside
    f(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3264, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 583, in _build_master
    ws.require(__requires__)
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 900, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 786, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'typing-extensions' distribution was not found and is required by ansible-lint


installing  devel/py-typing-extensions yields:


vikashb@serenity:~%                                                                % ansible-lint-3.7 -v -T
Traceback (most recent call last):
  File "/usr/local/bin/ansible-lint-3.7", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3251, in <module>
    @_call_aside
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3235, in _call_aside
    f(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3264, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 583, in _build_master
    ws.require(__requires__)
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 900, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 786, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'rich' distribution was not found and is required by ansible-lint



cannot find a port for rich, stuck at this point
Comment 1 Matthew Seaman freebsd_committer freebsd_triage 2020-09-24 21:03:40 UTC
Thanks for the report.  I'll fix this over the weekend.
Comment 2 commit-hook freebsd_committer freebsd_triage 2020-09-26 11:22:00 UTC
A commit references this bug:

Author: matthew
Date: Sat Sep 26 11:21:28 UTC 2020
New revision: 550167
URL: https://svnweb.freebsd.org/changeset/ports/550167

Log:
  Add missing run time dependencies

  PR:		249545
  Submitted by:	vikashb@where-ever.za.net

Changes:
  head/sysutils/py-ansible-lint/Makefile
Comment 3 Matthew Seaman freebsd_committer freebsd_triage 2020-09-26 11:22:50 UTC
Committed, thanks!