Skip to content

Vendor pip 26.2 - #6697

Open
matteius wants to merge 2 commits into
mainfrom
maintenance/vendor-pip-26.2
Open

Vendor pip 26.2#6697
matteius wants to merge 2 commits into
mainfrom
maintenance/vendor-pip-26.2

Conversation

@matteius

@matteius matteius commented Aug 3, 2026

Copy link
Copy Markdown
Member

Summary

  • vendor pip 26.2 and its updated bundled dependencies
  • rebase the Pipenv-specific circular-import, editable-extras, and wheel-name-casing patches
  • adapt Pipenv to pip 26.2 internal API changes for build environments, editable preparation, and resolver construction
  • update regression coverage for the pip 26.2 import and resolver behavior

Validation

  • vendoring update completed reproducibly
  • 803 unit tests passed, 10 skipped
  • focused install, editable VCS, resolver-protocol, path, and uninstall integration tests passed
  • isolated lock/install smoke against PyPI passed
  • pre-commit hooks passed on all files
  • package build and Twine checks passed
  • vendored pip runner reports pip 26.2

Release: https://pypi.org/project/pip/26.2/

Comment thread pipenv/patched/pip/_vendor/requests/auth.py Dismissed
Comment thread pipenv/patched/pip/_vendor/requests/auth.py Dismissed
Comment thread pipenv/patched/pip/_vendor/requests/auth.py Dismissed
Comment thread pipenv/patched/pip/_vendor/requests/auth.py Dismissed
from pipenv.patched.pip._internal.req.req_install import InstallRequirement


class NoOpBuildEnvironment(BuildEnvironment):
return sysconfig.get_path(name, scheme="venv", vars=vars)


class VenvBuildEnvironment(BuildEnvironment):
return {os.path.normcase(path) for path in system_sites}


class VirtualBuildEnvironment(BuildEnvironment):

@runtime_checkable
class SupportsRead(Protocol[_T_co]):
def read(self, length: int = ..., /) -> _T_co: ...

@runtime_checkable
class SupportsItems(Protocol[_KT_co, _VT_co]):
def items(self) -> Iterable[tuple[_KT_co, _VT_co]]: ...
password: bytes | str

@overload
def __init__(self, username: str, password: str) -> None: ...
@overload
def __init__(self, username: str, password: str) -> None: ...
@overload
def __init__(self, username: bytes, password: bytes) -> None: ...
num_401_calls: int | None

@overload
def __init__(self, username: str, password: str) -> None: ...
@overload
def __init__(self, username: str, password: str) -> None: ...
@overload
def __init__(self, username: bytes, password: bytes) -> None: ...
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

Successfully merging this pull request may close these issues.

2 participants