Skip to main content

upgrade_ensurepip

https://bitbucket.org/ruamel/upgrade_ensurepip/raw/default/_doc/_static/license.svg https://bitbucket.org/ruamel/upgrade_ensurepip/raw/default/_doc/_static/pypi.svg https://bitbucket.org/ruamel/oitnb/raw/default/_doc/_static/oitnb.svg https://bitbucket.org/ruamel/upgrade_ensurepip/raw/default/_doc/_static/ryd.svg

Once you find that /your/installed/version/bin/python3 -m venv /some/venv followed by /some/venv/bin/pip install some_package gives a message that there is an update for pip, this package can update the wheel files used by ensurepip to the latest versions available on pypi.

You can do this upgrade by running:

/your/installed/version/bin/python3 -m upgrade_ensurepip

A heck against the sha256 is made before saving the newly downloaded wheels to disc. After finding and downloading newer versiosn, the /your/installed/version/lib/pythonX.Y/ensurepip/__init__.py file is updated as it hard-codes the versions of the wheels used. Before changing, a backup of the original is made if such a backup does not yet exists.

Old wheels are preserved, so only backup file __init__.py.org located under /your/installed/version/lib/pythonX.Y/ensurepip/ needs to be copied back in case you encounter problems.

Metadata

Release files for upgrade-ensurepip 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for upgrade-ensurepip 0.1.1
File Size Uploaded
upgrade_ensurepip-0.1.1.tar.gz 14.6 kB Details

Release files / upgrade_ensurepip-0.1.1.tar.gz

Download URL upgrade_ensurepip-0.1.1.tar.gz
Size 14.6 kB
Tags Source
SHA-256 checksum
How to use checksums
7a3e722261c46db8c17d37dfdd6a31702ded4fe758bb46180efae50e98718e4e
BLAKE2b-256 checksum
How to use checksums
07d9d7d80106bd053dcee758d316d1f8d4eec23af08f7a457057fc9195f4c158
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.7.0

Release history Release notifications | RSS feed

0.2.1

2 release files

0.2.0

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

1 release file

This release

0.1.1 This release

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page