The following error occurs after upgrading to py27-fabric-1.12.0,1 Traceback (most recent call last): File "/usr/local/bin/fab", line 6, in <module> from pkg_resources import load_entry_point File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2991, in <module> @_call_aside File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2977, in _call_aside f(*args, **kwargs) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3004, in _initialize_master_working_set working_set = WorkingSet._build_master() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 664, in _build_master return cls._build_from_requirements(__requires__) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 677, in _build_from_requirements dists = ws.resolve(reqs, Environment()) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 856, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'paramiko<2.0,>=1.10' distribution was not found and is required by Fabric
*** This bug has been marked as a duplicate of bug 211589 ***
Not a duplicate, bug 211589 was for the update, this is for the regression after the fact. Assign last committer for resolution
Created attachment 176312 [details] fabric.diff
(In reply to Li-Wen Hsu from comment #3) I think the fastest way to solve this is adding security/py-paramiko1 and change the dependency of devel/py-fabric . How do you think of this?
I think that it is definitely the fastest solution. I don't have any better suggestions myself.
Another possibility is run the test suite with >= 2.0.0 to see if it passes to prove function. If so, patch the dependency to >= 2.0.0 only and submit a PR/issue upstream for them to not lock it to major versions, but instead latest versions all the time to get in front of potential issues
(In reply to Kubilay Kocak from comment #6) After some research, I found this might be risky: http://bitprophet.org/blog/2016/04/23/paramiko-2.0-is-coming/ https://github.com/fabric/fabric/issues/1461 So I suggest adding security/py-paramiko1 for now.
Let's do it!
A commit references this bug: Author: lwhsu Date: Tue Nov 8 05:46:17 UTC 2016 New revision: 425685 URL: https://svnweb.freebsd.org/changeset/ports/425685 Log: Add security/py-paramiko1, for ports that require paramiko 1.x PR: 213893 Changes: head/security/Makefile head/security/py-paramiko1/ head/security/py-paramiko1/Makefile head/security/py-paramiko1/distinfo
A commit references this bug: Author: lwhsu Date: Tue Nov 8 05:48:03 UTC 2016 New revision: 425687 URL: https://svnweb.freebsd.org/changeset/ports/425687 Log: - Use security/py-paramiko1 PR: 213893 Changes: head/devel/py-fabric/Makefile