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

Installing from source fails - wrong url? #953

Closed
alanfranz opened this issue Sep 6, 2016 · 8 comments
Closed

Installing from source fails - wrong url? #953

alanfranz opened this issue Sep 6, 2016 · 8 comments

Comments

@alanfranz
Copy link

I was trying an install from source following the instructions at:

https://virtualenv.pypa.io/en/stable/installation/

In order to fetch the latest version, which is 15.0.3 right now, I tried

curl -O https://pypi.python.org/packages/source/v/virtualenv/virtualenv-15.0.3.tar.gz

I tried 15.0 as well (it's not clear from the Xs in the doc... I'd expect virtualenv-X.Y.Z.tar.gz, while there're just two placeholder variables) but it doesn't work; the curl call returns an HTTP 404 and the body is something like

<Error><Code>NoSuchKey</Code><Message>The specified key does not exist.</Message><Key>source/v/virtualenv/virtualenv-15.0.3.tar.gz</Key><RequestId>C8068134D8A383F3</RequestId><HostId>zTEj1DIVdQTA1KIdaFnGcgN1La6F64Zgb8ARDKKUl9GXRIvWUZRQ3cG10IUCOpxJcSjqw0n6zqY=</HostId></Error>

of course I can pick the file from pypi; but I suggest you update the docs.

Thanks.

@Ivoz
Copy link

Ivoz commented Sep 7, 2016

@dstufft is there a correct alias for retrieving project distributions still? Or you always need to find the randomized link from the pypi page / /simple/virtualenv/ now?

@dstufft
Copy link
Member

dstufft commented Sep 7, 2016

curl -O https://files.pythonhosted.org/packages/source/v/virtualenv/virtualenv-15.0.3.tar.gz

@Ivoz
Copy link

Ivoz commented Sep 8, 2016

I never knew of files.pythonhosted.org; I thought the pythonhosted.org domain was being deprecated for use (e.g for documentation). Is there documentation of its use / availability / API somewhere I've missed?

@alanfranz
Copy link
Author

Any update from this? The doc is still wrong, and more than one year has passed. @Ivoz @dstufft ?

@alanfranz
Copy link
Author

Please note: I'm not saying that you should fix pypi. Maybe just removing the URL from the doc is fine.

alanfranz added a commit to alanfranz/virtualenv that referenced this issue Oct 27, 2017
See pypa#953 ; the URL in the documentation is wrong, since pypi doesn't offer a permalink to .tar.gz sources.

Replace with a link from github, which seems stable enough for our purposes.
@alanfranz
Copy link
Author

Hello @Ivoz @dstufft this is still an issue after TWO years; New job, new workstation, I'm trying to install virtualenv from source (because of multiple python versions on the system).

As I said, I don't think it's vital to fix that. But, at least fix the misleading docs :-)

Thanks!

gaborbernat pushed a commit to alanfranz/virtualenv that referenced this issue Oct 30, 2018
See pypa#953 ; the URL in the documentation is wrong, since pypi doesn't offer a permalink to .tar.gz sources.

Replace with a link from github, which seems stable enough for our purposes.
gaborbernat pushed a commit that referenced this issue Oct 30, 2018
See #953 ; the URL in the documentation is wrong, since pypi doesn't offer a permalink to .tar.gz sources.

Replace with a link from github, which seems stable enough for our purposes.
@stale
Copy link

stale bot commented Jan 14, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Just add a comment if you want to keep it open. Thank you for your contributions.

@stale stale bot added the wontfix label Jan 14, 2019
@alanfranz
Copy link
Author

As far as I can see, this was actually fixed.

@pypa pypa locked and limited conversation to collaborators Jan 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants