Discussion:
[Fab-user] Upgrade Fabric to 1.10.2 does not work
Kaushal Shriyan
2015-06-25 19:25:48 UTC
Permalink
Hi,

I tried the below steps

MacBook-Pro-3:~ kaushal$ sudo pip install --upgrade Fabric
The directory '/Users/kaushal/Library/Caches/pip/http' or its parent
directory is not owned by the current user and the cache has been disabled.
Please check the permissions and owner of that directory. If executing pip
with sudo, you may want sudo's -H flag.
The directory '/Users/kaushal/Library/Caches/pip/http' or its parent
directory is not owned by the current user and the cache has been disabled.
Please check the permissions and owner of that directory. If executing pip
with sudo, you may want sudo's -H flag.
Requirement already up-to-date: Fabric in
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages
Requirement already up-to-date: paramiko>=1.10 in
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages
(from Fabric)
Requirement already up-to-date: ecdsa>=0.11 in
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages
(from paramiko>=1.10->Fabric)
Requirement already up-to-date: pycrypto!=2.4,>=2.1 in
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages
(from paramiko>=1.10->Fabric)
MacBook-Pro-3:~ kaushal$ fab -V
Fabric 1.10.1
Paramiko 1.15.2
MacBook-Pro-3:~ kaushal$

I am not able to see Fab version 1.10.2 as per
http://www.fabfile.org/changelog.html. Any clue?

Regards,

Kaushal
Jeff Forcier
2015-06-25 22:35:31 UTC
Permalink
I can't replicate this on my end, in a fresh virtualenv I can:

* Directly "pip install fabric==1.10.2"
* Downgrade via "pip install fabric==1.10.1"
* Upgrade via "pip install --upgrade fabric"

In each case, "fab -V" displays the expected version.

I'm on pip 6.x here but I doubt pip version matters too much.

So it's probably something specific to your local environment :( Only
thing I can think of is perhaps it's to do with your use of global
sudo + pip, though that should only be problematic if you mixed sudo
and non-sudo installations, and typically you'd see an explicit error
saying "didn't have permission to touch <files>".

Best,
Jeff


On Thu, Jun 25, 2015 at 12:25 PM, Kaushal Shriyan
Post by Kaushal Shriyan
Hi,
I tried the below steps
MacBook-Pro-3:~ kaushal$ sudo pip install --upgrade Fabric
The directory '/Users/kaushal/Library/Caches/pip/http' or its parent
directory is not owned by the current user and the cache has been disabled.
Please check the permissions and owner of that directory. If executing pip
with sudo, you may want sudo's -H flag.
The directory '/Users/kaushal/Library/Caches/pip/http' or its parent
directory is not owned by the current user and the cache has been disabled.
Please check the permissions and owner of that directory. If executing pip
with sudo, you may want sudo's -H flag.
Requirement already up-to-date: Fabric in
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages
Requirement already up-to-date: paramiko>=1.10 in
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages
(from Fabric)
Requirement already up-to-date: ecdsa>=0.11 in
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages
(from paramiko>=1.10->Fabric)
Requirement already up-to-date: pycrypto!=2.4,>=2.1 in
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages
(from paramiko>=1.10->Fabric)
MacBook-Pro-3:~ kaushal$ fab -V
Fabric 1.10.1
Paramiko 1.15.2
MacBook-Pro-3:~ kaushal$
I am not able to see Fab version 1.10.2 as per
http://www.fabfile.org/changelog.html. Any clue?
Regards,
Kaushal
_______________________________________________
Fab-user mailing list
https://lists.nongnu.org/mailman/listinfo/fab-user
--
Jeff Forcier
Unix sysadmin; Python/Ruby engineer
http://bitprophet.org
Loading...