Export to GitHub

pysftp - issue #11

pip install of pysftp will not install the latest version (0.2.2) using pip version 1.5.X+


Posted on Feb 6, 2014 by Grumpy Giraffe

What steps will reproduce the problem? 1. install pip v.1.5+ 2. install pysftp with pip a. pip install pysftp b. resultant version is 0.2.0 3. downgrading pip to version 1.3.1 would allow it to install pysftp-0.2.2

What is the expected output? What do you see instead? Expected: pysftp-0.2.2 installs

Actual: pysftp-0.2.0 installs

WORKAROUND: Install using the "--allow-unverified pysftp" option. i.e. "pip install --allow-unverified pysftp pysftp" will actually install pysftp-0.2.2 as this allows use of the unverified source (http://pysftp.googlecode.com/files/pysftp-0.2.2.tar.gz)

It seems like simply adding the source to pypi would eradicate this issue.

What version of the product are you using? On what operating system? N/A

Please provide any additional information below. Here is the verbose output from pip that tipped me off as to why it wasn't fetching the latest version... sudo pip2.7 -v -v -v install pysftp Downloading/unpacking pysftp Getting page https://pypi.python.org/simple/pysftp/ URLs to search for versions for pysftp: * https://pypi.python.org/simple/pysftp/ Analyzing links from page https://pypi.python.org/simple/pysftp/ Found link https://pypi.python.org/packages/source/p/pysftp/pysftp-0.2.0.tar.gz#md5=6be19bf0b57b51953cb8bc5e81992f7b (from https://pypi.python.org/simple/pysftp/), version: 0.2.0 Skipping link http://code.google.com/p/pysftp/ (from https://pypi.python.org/simple/pysftp/); not a file Not searching http://code.google.com/p/pysftp/ (from https://pypi.python.org/simple/pysftp/) for files because external urls are disallowed. Not searching http://code.google.com/p/pysftp/ (from https://pypi.python.org/simple/pysftp/) for files because external urls are disallowed. Not searching http://code.google.com/p/pysftp/ (from https://pypi.python.org/simple/pysftp/) for files because external urls are disallowed. Not searching http://code.google.com/p/pysftp/ (from https://pypi.python.org/simple/pysftp/) for files because external urls are disallowed. Downloading pysftp-0.2.0.tar.gz

Comment #1

Posted on May 10, 2014 by Grumpy Monkey

https://pypi.python.org/pypi/pysftp/0.2.3

Now hosted on PyPi

Comment #2

Posted on May 28, 2014 by Grumpy Monkey

pysftp >= 0.2.3 is now hosted on pypi. Current version is 0.2.7

Status: Fixed

Labels:
Type-Defect Priority-Medium