Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MD5 check when installing older version from pypi #475

Closed
giampaolo opened this issue May 23, 2014 · 3 comments
Closed

MD5 check when installing older version from pypi #475

giampaolo opened this issue May 23, 2014 · 3 comments

Comments

@giampaolo
Copy link
Owner

From nbe...@gmail.com on February 11, 2014 15:48:19

Hello,

MD5 check when installing older version from pypi.

To reproduce the bug you have to install version 1.1.x (or any older version 
than the latest) with pip or buildout to have following strace:

Getting distribution for 'psutil==1.0.1'.
Error: md5 validation failed for psutil-1.0.1.tar.gz; possible download problem?


Regards

Nicolas

Original issue: http://code.google.com/p/psutil/issues/detail?id=475

@giampaolo
Copy link
Owner Author

From g.rodola on February 11, 2014 07:45:37

It's not clear to me what are the steps to reproduce the problem.
I tried using pip and everything seems to be OK:


giampaolo@UX32VD:~$ sudo pip install psutil==1.0.1
[sudo] password for giampaolo: 
Downloading/unpacking psutil==1.0.1
  Downloading psutil-1.0.1.tar.gz (156kB): 156kB downloaded
  Storing download in cache at 
./.pip/cache/https%3A%2F%2Fpypi.python.org%2Fpackages%2Fsource%2Fp%2Fpsutil%2Fpsutil-1.0.1.tar.gz

  Running setup.py (path:/tmp/pip_build_root/psutil/setup.py) egg_info for 
package psutil

Installing collected packages: psutil
  Found existing installation: psutil 2.0.0
    Uninstalling psutil:
      Successfully uninstalled psutil
  Running setup.py install for psutil
    building '_psutil_linux' extension
    x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 
-Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c 
psutil/_psutil_linux.c -o build/temp.linux-x86_64-2.7/psutil/_psutil_linux.o
    x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions 
-Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv 
-O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Werror=format-security 
build/temp.linux-x86_64-2.7/psutil/_psutil_linux.o -o 
build/lib.linux-x86_64-2.7/_psutil_linux.so
    building '_psutil_posix' extension
    x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 
-Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c 
psutil/_psutil_posix.c -o build/temp.linux-x86_64-2.7/psutil/_psutil_posix.o
    x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions 
-Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv 
-O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Werror=format-security 
build/temp.linux-x86_64-2.7/psutil/_psutil_posix.o -o 
build/lib.linux-x86_64-2.7/_psutil_posix.so

Successfully installed psutil
Cleaning up...

@giampaolo
Copy link
Owner Author

From nbe...@gmail.com on February 11, 2014 07:55:26

Hello,

I have just tried with a fresh python virtual env (see below).

Seems ok now, maybe related to pypi mirrors.

We can close the bug.

Sorry for the noise.

Regards

Nicolas



mkvirtualenv test
New python executable in test/bin/python
Installing setuptools, pip...done.

pip install psutil==1.0.1
Downloading/unpacking psutil==1.0.1
  Downloading psutil-1.0.1.tar.gz (156kB): 156kB downloaded
  Running setup.py (path:/home/nbessi/.virtualenvs/test/build/psutil/setup.py) 
egg_info for package psutil

Installing collected packages: psutil
  Running setup.py install for psutil
    building '_psutil_linux' extension
    x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 
-Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c 
psutil/_psutil_linux.c -o build/temp.linux-x86_64-2.7/psutil/_psutil_linux.o
    x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions 
-Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv 
-O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Werror=format-security 
build/temp.linux-x86_64-2.7/psutil/_psutil_linux.o -o 
build/lib.linux-x86_64-2.7/_psutil_linux.so
    building '_psutil_posix' extension
    x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 
-Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c 
psutil/_psutil_posix.c -o build/temp.linux-x86_64-2.7/psutil/_psutil_posix.o
    x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions 
-Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv 
-O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Werror=format-security 
build/temp.linux-x86_64-2.7/psutil/_psutil_posix.o -o 
build/lib.linux-x86_64-2.7/_psutil_posix.so

Successfully installed psutil

@giampaolo
Copy link
Owner Author

From g.rodola on February 11, 2014 07:59:02

Status: Invalid

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant