upgrade_ensurepip
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.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| upgrade_ensurepip-0.1.0.tar.gz | 14.6 kB | Without provenance | Details |
Release files / upgrade_ensurepip-0.1.0.tar.gz
| Download URL | upgrade_ensurepip-0.1.0.tar.gz |
|---|---|
| Size | 14.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ea49f116c28dd2a3839b8ba0efdaa80fe31e97ece996ee2dcd349af137bd1eb0
|
|
BLAKE2b-256 checksum How to use checksums |
63ee988f7c9a8f372680a58c5d0cc7da569f3a5a936420e36457c66bef90efdd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.0 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.2
|
Security for upgrade-ensurepip 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.