Skip to content

Vendor pip 26.0.1#6519

Merged
matteius merged 24 commits intomainfrom
vendor-pip-26.0.1
Mar 13, 2026
Merged

Vendor pip 26.0.1#6519
matteius merged 24 commits intomainfrom
vendor-pip-26.0.1

Conversation

@matteius
Copy link
Copy Markdown
Member

@matteius matteius commented Mar 9, 2026

This PR vendors pip 26.0.1 into pipenv.

Changes

  • Updates vendored pip from the previous version to 26.0.1
  • Updates patches to work with the new pip codebase:
    • pip_finder_ignore_compatability.patch - Fixed path references for selection_prefs.py
    • pip_prerelease_handling.patch - Updated to work with new release_control mechanism
    • circular_import.patch - Updated line counts and context

Testing

  • Vendoring patches apply cleanly
  • Tests pass

Pull Request opened by Augment Code with guidance from the PR author

matteius added 24 commits March 9, 2026 07:51
Use dataclasses.field(default=...) instead of direct default value assignment
to avoid conflict between __slots__ and class variables in frozen dataclass.
…slots__

The combination of @DataClass(frozen=True), __slots__, and default values
causes a ValueError because default values create class variables that
conflict with __slots__. Using slots=True parameter in the dataclass
decorator handles this correctly in Python 3.10+.
Update patch line numbers and context to match pip 26.0.1 source.
Use slots=True dataclass parameter instead of manual __slots__.
@matteius matteius merged commit 588cc9e into main Mar 13, 2026
1 check passed
@matteius matteius deleted the vendor-pip-26.0.1 branch March 13, 2026 05:32
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.

1 participant