Bug 220934 - www/py-requests: broken after net/py-urllib3 update to 1.22
Summary: www/py-requests: broken after net/py-urllib3 update to 1.22
Status: Closed DUPLICATE of bug 220927
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Kubilay Kocak
URL:
Keywords: needs-patch
Depends on:
Blocks:
 
Reported: 2017-07-23 05:07 UTC by Jan Beich
Modified: 2017-07-23 05:16 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 Jan Beich freebsd_committer freebsd_triage 2017-07-23 05:07:11 UTC
While "requests" doesn't fail on import anything that uses egginfo fails. For example,

$ pkg install py27-acme
$ jws
Traceback (most recent call last):
  File "/usr/local/bin/jws", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3037, in <module>
    @_call_aside
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3021, in _call_aside
    f(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3050, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 657, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 670, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 855, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'urllib3<1.22,>=1.21.1' distribution was not found and is required by requests
Comment 1 Jan Beich freebsd_committer freebsd_triage 2017-07-23 05:16:44 UTC
Doh, I didn't try hard enough to try an existing bug.

*** This bug has been marked as a duplicate of bug 220927 ***