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

Version 3.4.5 seems to be packaged wrong and cannot be installed with the suggested command #198

Closed
ghost opened this issue May 3, 2014 · 9 comments

Comments

@ghost
Copy link

ghost commented May 3, 2014

Originally reported by: hhansen (Bitbucket: hhansen, GitHub: hhansen)


Trying to install version 3.4.5 using:

#!bash

curl https://bootstrap.pypa.io/ez_setup.py -o - | python

raises the following exception:

#!python

Traceback (most recent call last):
  File "<stdin>", line 332, in <module>
  File "<stdin>", line 329, in main
  File "<stdin>", line 46, in _install
  File "/usr/local/Cellar/python3/3.4.0/Frameworks/Python.framework/Versions/3.4/lib/python3.4/contextlib.py", line 59, in __enter__
    return next(self.gen)
  File "<stdin>", line 88, in archive_context
  File "/usr/local/Cellar/python3/3.4.0/Frameworks/Python.framework/Versions/3.4/lib/python3.4/zipfile.py", line 937, in __init__
    self._RealGetContents()
  File "/usr/local/Cellar/python3/3.4.0/Frameworks/Python.framework/Versions/3.4/lib/python3.4/zipfile.py", line 978, in _RealGetContents
    raise BadZipFile("File is not a zip file")
zipfile.BadZipFile: File is not a zip file

@ghost
Copy link
Author

ghost commented May 3, 2014

Original comment by hhansen (Bitbucket: hhansen, GitHub: hhansen):


From what I can see, setuptools-3.4.5.zip simply contains another file, setuptools-3.4.5.zip.cpgz, when unpacked, and the installer does not like this.

@ghost
Copy link
Author

ghost commented May 3, 2014

Original comment by jaraco (Bitbucket: jaraco, GitHub: jaraco):


Ugh. That's not good. It sounds like the bootstrap script at bootstrap.pypa.io isn't updating. 3.4.5 was never released, so the ez_setup.py should point to 3.5. For now, continue to use https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py.

@ghost
Copy link
Author

ghost commented May 3, 2014

Original comment by jaraco (Bitbucket: jaraco, GitHub: jaraco):


Donald, can you check the update script to make sure ez_setup.py is always updated to the 'bootstrap' bookmark in the repo? Alternatively, you could give me creds on the server (and the server name) and authorize my public key:

ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAgEAkJkUsd0LJ3e/a4ahxP5o54xcEt7uJ47GCze1j3YAGW8KCtEu3bwOcgtFlIInrA8NMwm2P95JFeZHH4Cok7LZgLr/0JggTwlBnwKJOFYFKJTxAb6E95VQzJi7ELanBtbVZODA1WYhpMl5vUPvKwrsLss7bKzz2CKwPI/8uBqiVJ6cDh6w25cqAcolMFa86x8jARrClTCraRxi6MtzUpbW1LY4OjYJzlEGeLyKM1eH74A/nx9EP+AQlnS8NLlAl/+axyg7DHKynNA68xbBGuoGy1PocKsRsvVUs0URV5ocX5XAItFGZfjsyYCEX8EiMO8k44N+NN0HsxYYjt28x/a6SGgDZfvHp5Wq4tO0rq3Qbxhd8rV9MAfKhgLojM4DTKcLfupp5Z5erJAcc3cL+3mqhP/klApqkPDNE5wu+tfqe6G91AuTi5wIU7EfBqVJwVOzxckBwPqx/OHw4J2cvPm+eZeane/cuh1JIX3G1yTJ8FDRGRpvU1M25zjl3BWxNCD6nKYsAlNioSnsOoC44UGA7JDz5WTEndz2Z0jovZBBGDsM5VTxQ0aqqMqQ3BDUwD5E1c4+u/uLE8IF2edeUzkGsKJIgR2r++VMDmYyRXLobi1zEUidtBvWATyUAOohjBwiAZE8AB/G+FRO6Bs6eyRyYXQw+KhlzQ0OZsH6K6e4v/s= Jason R. Coombs 2014-01

@ghost
Copy link
Author

ghost commented May 3, 2014

Original comment by dstufft (Bitbucket: dstufft, GitHub: dstufft):


I can take a look yea, you can add yourself to here -> https://github.com/pypa/pypa-salt/blob/master/pillars/users.sls to get credentials.

@ghost
Copy link
Author

ghost commented May 3, 2014

Original comment by dstufft (Bitbucket: dstufft, GitHub: dstufft):


Hmm, looks like it's on default, it shouldn't be though. I'll poke at it and see why.

@ghost
Copy link
Author

ghost commented May 3, 2014

Original comment by dstufft (Bitbucket: dstufft, GitHub: dstufft):


@jaraco Something seems wrong, when I go to the branch in bitbucket it tells me it can't find the branch, and it doesn't show up in hg branches?

@ghost
Copy link
Author

ghost commented May 3, 2014

Original comment by jaraco (Bitbucket: jaraco, GitHub: jaraco):


It's an hg bookmark and not an hg branch (because it's a lightweight name akin to a Git branch instead of a permanently named Mercurial branch). I'll try salt.

@ghost
Copy link
Author

ghost commented May 3, 2014

Original comment by dstufft (Bitbucket: dstufft, GitHub: dstufft):


Oh, I bet the hg.latest state doesn't support bookmarks... I've never used them, how do I checkout a bookmark?

@ghost
Copy link
Author

ghost commented May 3, 2014

Original comment by jaraco (Bitbucket: jaraco, GitHub: jaraco):


Looks like with a late version of Mercurial installed, all is well. Thanks for getting this straight.

@ghost ghost closed this as completed Mar 29, 2016
jaraco added a commit that referenced this issue Feb 6, 2023
This issue was closed.
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

0 participants