Skip to content

🐛 fix(api): restore virtualenv public interface - #3548

Merged
gaborbernat merged 1 commit into
pypa:mainfrom
gaborbernat:fix/restore-simplint-exports
Nov 13, 2026
Merged

gaborbernat merged 1 commit into
pypa:mainfrom
gaborbernat:fix/restore-simplint-exports

Conversation

@gaborbernat

@gaborbernat gaborbernat commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

The simplint adoption (#3531, #3543) changed virtualenv's public Python interface: some importable names disappeared, annotations narrowed, and definitions moved to new modules. This restores the earlier interface for integrations that import or inspect these objects.

Public definitions again live in their original packages. Wheel regeneration uses the same package module, and narrow inline lint exceptions preserve these existing APIs. run_cmd again returns a plain tuple. The __all__ lists retain their original entries; the added TypeData, PathLockBase, and ProcessCallFailedError exports have source importers.

@gaborbernat
gaborbernat force-pushed the fix/restore-simplint-exports branch 4 times, most recently from a0f2e10 to e15c358 Compare November 13, 2026 01:49
@gaborbernat gaborbernat changed the title 🐛 fix(api): restore exports after simplint update 🐛 fix(api): restore virtualenv public interface Nov 13, 2026
The simplint migration moved public definitions into new modules, renamed
importable names, and narrowed public annotations. Reexports preserved
imports but changed the module identity of public objects.

Restore the original definition locations, signatures, exports, and plain
tuple return from run_cmd. Keep wheel generation aligned with the restored
package module so later upgrades retain the same interface.
@gaborbernat
gaborbernat force-pushed the fix/restore-simplint-exports branch from e15c358 to 9d0d7e0 Compare November 13, 2026 01:53
@gaborbernat
gaborbernat merged commit 1015476 into pypa:main Nov 13, 2026
163 of 165 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant