google-code-export / psutil

Automatically exported from code.google.com/p/psutil
Other
0 stars 0 forks source link

MD5 check when installing older version from pypi #475

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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 reported on code.google.com by nbe...@gmail.com on 11 Feb 2014 at 2:48

GoogleCodeExporter commented 9 years ago
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...

Original comment by g.rodola on 11 Feb 2014 at 3:45

GoogleCodeExporter commented 9 years ago
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

Original comment by nbe...@gmail.com on 11 Feb 2014 at 3:55

GoogleCodeExporter commented 9 years ago

Original comment by g.rodola on 11 Feb 2014 at 3:59