Activity for upgrade_ensurepip

  • Phil Elson Phil Elson created ticket #3

    pip executable not found

  • Anthon van der Neut Anthon van der Neut modified ticket #2

    Using custom index url

  • Anthon van der Neut Anthon van der Neut posted a comment on ticket #2

    I tested 0.2.1 on Python 3.6.10 using: /opt/python/3.6.10/bin/pip install upgrade_ensurepip /opt/python/3.6.10/bin/python -m upgrade_ensurepip --pip /opt/python/3.6.10/bin/python -m venv /opt/util/test5 so I think this is solved

  • Anthon van der Neut Anthon van der Neut committed [b483de]

    work around ensurepip expecting py2.py3 wheel

  • Anthon van der Neut Anthon van der Neut committed [817fa2]

    Added tag 0.2.1 for changeset b483de629031

  • Anthon van der Neut Anthon van der Neut modified ticket #2

    Using custom index url

  • Anthon van der Neut Anthon van der Neut posted a comment on ticket #2

    Thanks for pointing out the problem with checking for --pip before calling main. I'll fix that but I am not going to import argparse until I have more options/arguments to process than this one. Until https://bugs.python.org/issue40119 is fixed I'll need to rename the downloaded setuptools wheel

  • Phil Elson Phil Elson modified a comment on ticket #2

    Thanks for the update! I had two issues: To run update_enurepip neither the entry-point update_enurepip, nor the main from python -m update_ensurepip get access to the --pip argument you put on the if __name__ == __main__ block of upgrade_ensurepip/upgrade_ensurepip.py. I recomment a built-in tool like argparse for this, and exposing the arguments to both the main and the entrypoint. In addition I had the following issue after having upgraded and running python -m ensurepip: FileNotFoundError: [Errno...

  • Phil Elson Phil Elson posted a comment on ticket #2

    Thanks for the update! I had two issues: To run update_enurepip neither the entry-point update_enurepip, nor the main from python -m update_ensurepip get access to the --pip argument you put on the if name == main block of upgrade_ensurepip/upgrade_ensurepip.py. I recomment a built-in tool like argparse for this, and exposing the arguments to both the main and the entrypoint. In addition I had the following issue after having upgraded and running python -m ensurepip: FileNotFoundError: [Errno 2]...

  • Anthon van der Neut Anthon van der Neut modified ticket #2

    Using custom index url

  • Anthon van der Neut Anthon van der Neut modified a comment on ticket #2

    Thanks for the report, I looked at this, but decided not to go with the legacy interface (and a possible dependency on pypi-simple). Instead I added a --pip option that switches from using the JSON info to essentially doing: pip search pip | grep -E '^pip (' to retrieve the version number and when appropriate pip download --dest /your/pythons/wheel/dir --only-binary=:all: pip to download. I hope that gives enough flexibility to the packages and their info from a local (devpi?) repository. If it indeed...

  • Anthon van der Neut Anthon van der Neut modified ticket #1

    Python 3.8 compatibility

  • Anthon van der Neut Anthon van der Neut posted a comment on ticket #1

    This should be solved now. If you have an opportunity to confirm this, please close this issue.

  • Anthon van der Neut Anthon van der Neut posted a comment on ticket #2

    Thanks for the report, I looked at this, but decided not to go with the legacy interface (and a possible dependency on pypi-simple). Instead I added a --pip option that switches from using the JSON info to essentially doing: pip search pip | grep -E '^pip (' to retrieve the version number and when appropriate pip download --dest /your/pythons/wheel/dir --only-binary=:all: pip to download. I hope that gives enough flexibility to the packages and their info from a local (devpi?) repository.

  • Anthon van der Neut Anthon van der Neut committed [2da96a]

    added option to use pip for search/upgrade

  • Anthon van der Neut Anthon van der Neut committed [c82845]

    Added tag 0.2.0 for changeset 2da96a577609

  • Anthon van der Neut Anthon van der Neut committed [08b7d6]

    re-added

  • Anthon van der Neut Anthon van der Neut committed [225ff3]

    trying to make .rst newest by first removing

  • Anthon van der Neut Anthon van der Neut committed [c670c5]

    test

  • Anthon van der Neut Anthon van der Neut committed [2325c1]

    re-added

  • Anthon van der Neut Anthon van der Neut committed [15e723]

    trying to get SF to use correct README

  • Anthon van der Neut Anthon van der Neut committed [d5e70f]

    oitnb svg taken from oitnb

  • Anthon van der Neut Anthon van der Neut committed [0e6a90]

    README.rst updated

  • Anthon van der Neut Anthon van der Neut committed [a8b46e]

    typo

  • Phil Elson Phil Elson posted a comment on ticket #2

    Incidentally, it would also be great to make use of the simple index definition, rather than the json based pypi index definition. The former is refered to as the "legacy" interface: https://warehouse.readthedocs.io/api-reference/legacy/, but appears to be better covered by PEPs than the new JSON one. There is a client that you could benefit from at: https://pypi.org/project/pypi-simple/

  • Phil Elson Phil Elson created ticket #2

    Using custom index url

  • Anthon van der Neut Anthon van der Neut committed [9ca45d]

    update ryd svg

  • Anthon van der Neut Anthon van der Neut committed [2c20ec]

    Added tag 0.1.4 for changeset 9ca45da48653

  • Anthon van der Neut Anthon van der Neut committed [179d81]

    update setup.py for 3.8

  • Anthon van der Neut Anthon van der Neut committed [5558dd]

    Added tag 0.1.3 for changeset 179d8175a38c

  • Anthon van der Neut committed [b74ab7]

    initial version

  • Anthon van der Neut committed [97f5a1]

    added some documentation

  • Anthon van der Neut committed [d39f57]

    Added tag 0.1.1 for changeset d66152c37743

  • Anthon van der Neut committed [d66152]

    added __main__.py

  • Anthon van der Neut committed [d0169c]

    remove backup file

  • Anthon van der Neut committed [6c8647]

    version in pypi badge

  • Anthon van der Neut committed [a441d3]

    regenerate .rst

  • Anthon van der Neut committed [2e7aff]

    new version badge

1