-
Notifications
You must be signed in to change notification settings - Fork 788
Update #543
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
Update #543
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
|
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Versions are bumped independently as can be seen in this projects git history. Please leave version changes for a separate commit.
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I only made one commit on one file.
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. PRs are squashed - so no matter how many commits a PR has, they are squashed to one onto master. I recommend leaving the version bump out as it is missing other associated components.
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yes. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| __version__ = "2.47.0" | ||
| __version__ = "2.48.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I recon this is not needed - if
pythonis available,pipusually is. Unless I'm unaware of a recent change?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are correct for all recent and standard Python distributions!
The assumption that "if python is available, pip usually is" holds true because:
ensurepip: Since Python 3.4, the standard library includes the ensurepip module, which is responsible for bootstrapping (installing) the pip package manager into the Python environment. This happens automatically during the installation process for official distributions.
Official Installers: Official Python installers for Windows and macOS, and most Linux package managers, ensure that pip is configured and ready to use immediately.
When You Might Not Have pip
There are a few historical or specific corner cases where pip might be missing:
Older Python Versions: If someone is using an old, unsupported version of Python (pre-3.4).
Custom/Minimal Builds: In highly restricted or customized environments (like some embedded systems or specific Linux distributions) where Python was compiled from source with the explicit option to exclude standard components, or where the system maintains a very minimal Python environment.
Virtual Environments (Rarely): In older versions of the venv module, you might have had to specify that you wanted pip included, but today, it's included by default when you create a new virtual environment.
In summary, your recollection is accurate: unless dealing with a very old version or a non-standard build, you can safely assume pip is present!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not to be rude, but I was asking you, not some AI assistant. Ignoring that, lets look at some of your reasonings that you provided.
You just modified the file that said support starts at 3.6 did you not? So this is not a concern.
If someone is using a custom build, they will know how to adjust the command to work for them
As you said, "but today, it's included by default when you create a new virtual environment"