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

GET_PIP_URLs for python 2.7, 3.4, and 3.5 are incorrect #1846

Closed
11 tasks
adamwallred opened this issue Mar 10, 2021 · 1 comment
Closed
11 tasks

GET_PIP_URLs for python 2.7, 3.4, and 3.5 are incorrect #1846

adamwallred opened this issue Mar 10, 2021 · 1 comment

Comments

@adamwallred
Copy link

Too many issues will kill our team's development velocity, drastically.
Make sure you have checked all steps below.

Prerequisite

  • Make sure your problem is not listed in the common build problems.
  • Make sure no duplicated issue has already been reported in the pyenv issues. You should look for closed issues, too.
  • Make sure you are not asking us to help solving your specific issue.
    • GitHub issues is opened mainly for development purposes. If you want to ask someone to help solving your problem, go to some community site like Gitter, StackOverflow, etc.
  • Make sure your problem is not derived from packaging (e.g. Homebrew).
    • Please refer to the package documentation for the installation issues, etc.
  • Make sure your problem is not derived from plugins.
    • This repository is maintaining pyenv and the default python-build plugin only. Please refrain from reporting issues of other plugins here.

Description

  • Platform information (e.g. Ubuntu Linux 16.04): CentOS 7 (and maybe others)
  • OS architecture (e.g. amd64): amd64
  • pyenv version: 1.2.23
  • Python version: 2.7, 3.4, 3.5
  • C Compiler information (e.g. gcc 7.3): N/A
  • Please attach verbose build log as gist

I think the fix for get-pip.py adding python 2.7, 3.4, and 3.5 GET_PIP_URLs (in #1793) points to invalid URLs:

Going to https://bootstrap.pypa.io/2.7/get-pip.py , one gets shown:

#!/usr/bin/env python
from __future__ import print_function
import sys
import textwrap

message = """
Hi there!

The URL you are using to fetch this script has changed, and this one will no
longer work. Please use get-pip.py from the following URL instead:

    https://bootstrap.pypa.io/pip/2.7/get-pip.py

Sorry if this change causes any inconvenience for you!

We don't have a good mechanism to make more gradual changes here, and this
renaming is a part of an effort to make it easier to us to update these
scripts, when there's a pip release. It's also essential for improving how we
handle the `get-pip.py` scripts, when pip drops support for a Python minor
version.

There are no more renames/URL changes planned, and we don't expect that a need
would arise to do this again in the near future.

Thanks for understanding!

- Pradyun, on behalf of the volunteers who maintain pip.
"""

print(message, file=sys.stderr)
sys.exit(1)

Setting GET_PIP_URL to https://bootstrap.pypa.io/pip/2.7/get-pip.py when running pyenv install 2.7.x appears to work.

@adamwallred
Copy link
Author

Apologies, it was fixed in #1844 . Closing.

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

No branches or pull requests

1 participant