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: 2020-07-19 22:21 UTC (History)
3 users (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...
Comment 2 Chris Gordon 2020-07-19 16:47:56 UTC
Any updates?

Upstream is at version 2.0.2 now.  My current work around is to create a venv and install b2 via pip.  I would much prefer do manage via ports/pkg.

Is there something specific I could do to help move this forward?
Comment 3 James Pole 2020-07-19 22:21:33 UTC
I have given up on this port and have migrated to rclone instead which has support for Backblaze and seems to be well maintained. If this port is to be no longer maintained, I suggest this port be removed so people can look elsewhere for well-maintained tools to access Backblaze.