Opened 8 years ago

Closed 5 years ago

#51917 closed defect (fixed)

py27-fabric @ 1.11.1 depends on py27-paramiko @ 2.0.1 but isn't compatible with that version

Reported by: hostep (Pieter Hoste) Owned by: stromnov (Andrey Stromnov)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: petrrr
Port: py-fabric

Description

Hi

This is mostly an informational ticket, I don't think a lot can be done about this.

So, a week ago py27-paramiko was updated from version 1.16.0 to 2.0.1 by Macports. But py27-fabric which depends on py27-paramiko isn't compatible yet with paramiko > 2.0.1

As you can see by this output:

➜ fab deploy
Traceback (most recent call last):
  File "/opt/local/bin/fab", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2927, in <module>
    @_call_aside
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2913, in _call_aside
    f(*args, **kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2940, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 637, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 650, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 829, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'paramiko<2.0,>=1.10' distribution was not found and is required by Fabric

I had to manually revert back to version 1.16.0 to get it working again.

The author of the Fabric package has announced he will get a new version out 'soon' which is compatible with paramiko 2.0: https://github.com/fabric/fabric/issues/1461#issuecomment-235191026

Not sure if you guys can do anything about this? I guess we'll have to wait until a new version of Fabric is being released and stick with version 1.16.0 of paramiko for now...

Thanks!

Change History (4)

comment:1 Changed 8 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to stromnov@…
Port: py-fabric added; py27-fabric removed

In the future, please Cc the port maintainers (port info --maintainers py27-fabric), if any.

comment:2 Changed 8 years ago by petrrr

Cc: petr@… added

Cc Me!

comment:4 Changed 5 years ago by kurthindenburg (Kurt Hindenburg)

Resolution: fixed
Status: newclosed

closing per comment #3

Note: See TracTickets for help on using tickets.