Skip to content

Disable user-site packages in pip environment#195

Merged
FeodorFitsner merged 1 commit intomainfrom
fix-pip-nousersite
Feb 28, 2026
Merged

Disable user-site packages in pip environment#195
FeodorFitsner merged 1 commit intomainfrom
fix-pip-nousersite

Conversation

@FeodorFitsner
Copy link
Contributor

Set PYTHONNOUSERSITE=1 in pipEnv to prevent importing user-site packages (e.g. ~/.local/.../site-packages) that could shadow the bundled pip in the build Python. This change was added in src/serious_python/bin/package_command.dart alongside the existing PYTHONPATH handling.

Set PYTHONNOUSERSITE=1 in pipEnv to prevent importing user-site packages (e.g. ~/.local/.../site-packages) that could shadow the bundled pip in the build Python. This change was added in src/serious_python/bin/package_command.dart alongside the existing PYTHONPATH handling.
@FeodorFitsner FeodorFitsner merged commit 00cfbe8 into main Feb 28, 2026
21 of 22 checks passed
@FeodorFitsner FeodorFitsner deleted the fix-pip-nousersite branch February 28, 2026 17:47
@FeodorFitsner FeodorFitsner restored the fix-pip-nousersite branch February 28, 2026 17:47
FeodorFitsner added a commit that referenced this pull request Mar 1, 2026
Release update: bump serious_python and platform packages to 0.9.11 across repository. Add 0.9.11 changelog entries (Disable user-site packages in pip environment, #195). Update Android build.gradle and Darwin podspec versions, and update example pubspec.lock files to align dependency versions and Dart SDK constraints and reference path packages at 0.9.11.
FeodorFitsner added a commit that referenced this pull request Mar 1, 2026
Release update: bump serious_python and platform packages to 0.9.11 across repository. Add 0.9.11 changelog entries (Disable user-site packages in pip environment, #195). Update Android build.gradle and Darwin podspec versions, and update example pubspec.lock files to align dependency versions and Dart SDK constraints and reference path packages at 0.9.11.
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