Hi, I have uploaded the NumPy 1.7.0 source distribution to pypi: http://pypi.python.org/pypi/numpy/1.7.0 I did it by uploading the file PKG-INFO from numpy-1.7.0.tar.gz. It said "Error processing form. Form Failure; reset form submission" about 3x times, but on the 4th try it went through. I reported the issue here: https://sourceforge.net/tracker/?func=detail&aid=3604194&group_id=66150&atid=513504 I then attached the numpy-1.7.0.tar.gz and numpy-1.7.0.zip source files. Now I am having trouble attaching the windows installers, just like they are here: http://pypi.python.org/pypi/numpy/1.6.2 but whenever I upload the file numpy-1.7.0-win32-superpack-python2.5.exe (and set it as "MS Windows installer"), it uploads and then I get a blank page with the text: """ Error processing form invalid distribution file """ That's it.... Not very useful. Do you know if the sources of pypi are somewhere online? (I didn't find them, only a similar package https://github.com/schmir/pypiserver, but that doesn't seem to be it.) Anyway, so I at least reported the bug here: http://sourceforge.net/tracker/?func=detail&aid=3604193&group_id=66150&atid=513504 Finally, should we try to upload the Windows installers to pypi at all? I am probably doing something wrong if I am hitting these pypi bugs. Many thanks, Ondrej
On Tue, Feb 12, 2013 at 5:49 AM, Ondřej Čertík <ondrej.certik@gmail.com> wrote:
Hi,
I have uploaded the NumPy 1.7.0 source distribution to pypi:
http://pypi.python.org/pypi/numpy/1.7.0
I did it by uploading the file PKG-INFO from numpy-1.7.0.tar.gz. It said "Error processing form. Form Failure; reset form submission" about 3x times, but on the 4th try it went through. I reported the issue here:
https://sourceforge.net/tracker/?func=detail&aid=3604194&group_id=66150&atid=513504
I then attached the numpy-1.7.0.tar.gz and numpy-1.7.0.zip source files.
Now I am having trouble attaching the windows installers, just like they are here:
http://pypi.python.org/pypi/numpy/1.6.2
but whenever I upload the file numpy-1.7.0-win32-superpack-python2.5.exe (and set it as "MS Windows installer"), it uploads and then I get a blank page with the text:
""" Error processing form
invalid distribution file """
PyPI does some validation on the files that are uploaded. .exe files must be created by bdist_wininst. https://bitbucket.org/loewis/pypi/src/fc588bcd668aba643e2e7f9bd6901a7a4296dd... I am guessing that the superpack installer is manually built through another mechanism.
That's it.... Not very useful. Do you know if the sources of pypi are somewhere online? (I didn't find them, only a similar package https://github.com/schmir/pypiserver, but that doesn't seem to be it.)
http://wiki.python.org/moin/CheeseShopDev You can get help with PyPI on Catalog-SIG: http://mail.python.org/mailman/listinfo/catalog-sig -- Robert Kern
Hi Robert, On Tue, Feb 12, 2013 at 2:40 AM, Robert Kern <robert.kern@gmail.com> wrote:
On Tue, Feb 12, 2013 at 5:49 AM, Ondřej Čertík <ondrej.certik@gmail.com> wrote:
Hi,
I have uploaded the NumPy 1.7.0 source distribution to pypi:
http://pypi.python.org/pypi/numpy/1.7.0
I did it by uploading the file PKG-INFO from numpy-1.7.0.tar.gz. It said "Error processing form. Form Failure; reset form submission" about 3x times, but on the 4th try it went through. I reported the issue here:
https://sourceforge.net/tracker/?func=detail&aid=3604194&group_id=66150&atid=513504
I then attached the numpy-1.7.0.tar.gz and numpy-1.7.0.zip source files.
Now I am having trouble attaching the windows installers, just like they are here:
http://pypi.python.org/pypi/numpy/1.6.2
but whenever I upload the file numpy-1.7.0-win32-superpack-python2.5.exe (and set it as "MS Windows installer"), it uploads and then I get a blank page with the text:
""" Error processing form
invalid distribution file """
PyPI does some validation on the files that are uploaded. .exe files must be created by bdist_wininst.
https://bitbucket.org/loewis/pypi/src/fc588bcd668aba643e2e7f9bd6901a7a4296dd...
I am guessing that the superpack installer is manually built through another mechanism.
Ha, I see --- thanks for pointing me to the source code. All is clear now.
That's it.... Not very useful. Do you know if the sources of pypi are somewhere online? (I didn't find them, only a similar package https://github.com/schmir/pypiserver, but that doesn't seem to be it.)
http://wiki.python.org/moin/CheeseShopDev
You can get help with PyPI on Catalog-SIG:
Thanks again. Ondrej
On Tue, Feb 12, 2013 at 5:49 AM, Ondřej Čertík <ondrej.certik@gmail.com> wrote:
Hi,
I have uploaded the NumPy 1.7.0 source distribution to pypi:
http://pypi.python.org/pypi/numpy/1.7.0
I did it by uploading the file PKG-INFO from numpy-1.7.0.tar.gz. It said "Error processing form. Form Failure; reset form submission" about 3x times, but on the 4th try it went through. I reported the issue here:
https://sourceforge.net/tracker/?func=detail&aid=3604194&group_id=66150&atid=513504
I then attached the numpy-1.7.0.tar.gz and numpy-1.7.0.zip source files.
Now I am having trouble attaching the windows installers, just like they are here:
Those installers are ones built through bdist_wininst. You should *not* upload superpack installers there, as most python tools will not know what to do with it. For example, easy_install will not work with those, even though it does with simple installers from bdist_wininst. So ideally, one should build simple (== bdist_wininst-generated) installers using the lowest common denominator for architecture (i.e. pure blas/lapack, not atlas), and the superpack installer on sourceforge. Incidentally, that's why the super pack installer uses a different filename, to avoid confusion. David
David, On Tue, Feb 12, 2013 at 6:46 AM, David Cournapeau <cournape@gmail.com> wrote:
On Tue, Feb 12, 2013 at 5:49 AM, Ondřej Čertík <ondrej.certik@gmail.com> wrote:
Hi,
I have uploaded the NumPy 1.7.0 source distribution to pypi:
http://pypi.python.org/pypi/numpy/1.7.0
I did it by uploading the file PKG-INFO from numpy-1.7.0.tar.gz. It said "Error processing form. Form Failure; reset form submission" about 3x times, but on the 4th try it went through. I reported the issue here:
https://sourceforge.net/tracker/?func=detail&aid=3604194&group_id=66150&atid=513504
I then attached the numpy-1.7.0.tar.gz and numpy-1.7.0.zip source files.
Now I am having trouble attaching the windows installers, just like they are here:
Those installers are ones built through bdist_wininst. You should *not* upload superpack installers there, as most python tools will not know what to do with it. For example, easy_install will not work with those, even though it does with simple installers from bdist_wininst.
So ideally, one should build simple (== bdist_wininst-generated) installers using the lowest common denominator for architecture (i.e. pure blas/lapack, not atlas), and the superpack installer on sourceforge. Incidentally, that's why the super pack installer uses a different filename, to avoid confusion.
I see. I looked into my scripts and it turns out that actually I do build the bdist_wininst versions as well, I just didn't know what they are for, so I ignored them. Now I can see that those will get uploaded to pypi, so I did that now and it works! http://pypi.python.org/pypi/numpy/1.7.0 I learned something new today, thanks for the explanation. So pypi should be done. Ondrej
On Wed, Feb 13, 2013 at 5:35 AM, Ondřej Čertík <ondrej.certik@gmail.com> wrote:
David,
On Tue, Feb 12, 2013 at 6:46 AM, David Cournapeau <cournape@gmail.com> wrote:
On Tue, Feb 12, 2013 at 5:49 AM, Ondřej Čertík <ondrej.certik@gmail.com> wrote:
Hi,
I have uploaded the NumPy 1.7.0 source distribution to pypi:
http://pypi.python.org/pypi/numpy/1.7.0
I did it by uploading the file PKG-INFO from numpy-1.7.0.tar.gz. It said "Error processing form. Form Failure; reset form submission" about 3x times, but on the 4th try it went through. I reported the issue here:
https://sourceforge.net/tracker/?func=detail&aid=3604194&group_id=66150&atid=513504
I then attached the numpy-1.7.0.tar.gz and numpy-1.7.0.zip source files.
Now I am having trouble attaching the windows installers, just like they are here:
Those installers are ones built through bdist_wininst. You should *not* upload superpack installers there, as most python tools will not know what to do with it. For example, easy_install will not work with those, even though it does with simple installers from bdist_wininst.
So ideally, one should build simple (== bdist_wininst-generated) installers using the lowest common denominator for architecture (i.e. pure blas/lapack, not atlas), and the superpack installer on sourceforge. Incidentally, that's why the super pack installer uses a different filename, to avoid confusion.
I see. I looked into my scripts and it turns out that actually I do build the bdist_wininst versions as well, I just didn't know what they are for, so I ignored them. Now I can see that those will get uploaded to pypi, so I did that now and it works!
http://pypi.python.org/pypi/numpy/1.7.0
I learned something new today, thanks for the explanation. So pypi should be done.
Great, thanks a lot for doing all this ! David
participants (3)
-
David Cournapeau
-
Ondřej Čertík
-
Robert Kern