Skip to content
This repository was archived by the owner on Jan 12, 2025. It is now read-only.

Commit 7361d0a

Browse files
fix: added PEP668 fix to pipx-package feature
1 parent d42bebc commit 7361d0a

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/pipx-package/devcontainer-feature.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "Pipx package",
33
"id": "pipx-package",
4-
"version": "1.1.5",
4+
"version": "1.1.6",
55
"description": "Installs a pipx package.",
66
"documentationURL": "http://github.com/devcontainers-contrib/features/tree/main/src/pipx-package",
77
"installsAfter": [

src/pipx-package/install.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ INJECTIONS=${INJECTIONS:-""}
77
INCLUDEDEPS=${INCLUDEDEPS:-"false"}
88
INTERPRETER=${INTERPRETER:-"python3"}
99

10+
# PEP 668 compatibility
11+
export PIP_BREAK_SYSTEM_PACKAGES=1
12+
1013
# Clean up
1114
rm -rf /var/lib/apt/lists/*
1215

0 commit comments

Comments
 (0)