Bug 237028 - devel/b2: The provided py-arrow is too new
Summary: devel/b2: The provided py-arrow is too new
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Bartek Rutkowski
Depends on: 241138
  Show dependency treegraph
Reported: 2019-04-04 21:32 UTC by Brendan Shanks
Modified: 2019-12-09 08:27 UTC (History)
1 user (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Brendan Shanks 2019-04-04 21:32:50 UTC
devel/b2 requires arrow<0.12.1, but 0.13.1 is now the current version in ports. Error occurs with both b2-2.7 and b2-3.6.

This version restriction was apparently to keep supporting Python 2.6, a pull request has been created but still not merged:

I haven't tested it yet, but this patch should fix the issue:

% b2
Traceback (most recent call last):
  File "/usr/local/bin/b2", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3191, in <module>
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3175, in _call_aside
    f(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3204, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 585, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 598, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 786, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'arrow<0.12.1,>=0.8.0' distribution was not found and is required by b2
Comment 1 Henry 2019-10-31 19:41:37 UTC
Fix in https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241138 

Just awaiting the maintainer...