Skip to content

Commit

Permalink
chore: remove python3 specific step #0000
Browse files Browse the repository at this point in the history
The step was necessary in devcontainers because repo-ansible requires
python dependencies to run. Since repo-ansible provides docker
containers instead for common usage the python+debian workaround is no
longer necessary.
  • Loading branch information
mhitza committed Jan 8, 2025
1 parent ff07d6d commit 7b8b7f5
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions templates/.devcontainer/postCreate.sh.j2
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
#!/usr/bin/env bash
# {{ repo_managed }}

# Workaround for recent Python versions which prevent global pip package installation without an explicit flag
# or removal of a certain file.
sudo rm /usr/lib/python3.*/EXTERNALLY-MANAGED || true

# This is a workaround on an issue with the devcontainer reported on Windows where followup git config commands would
# fail. #9067
git config --global --add safe.directory /app
Expand Down

0 comments on commit 7b8b7f5

Please sign in to comment.