Commit dc694be
authored
(fleet) remove ensurepip from embedded Python (#52526)
## Summary
This PR removes the `ensurepip` module from the embedded Python during the omnibus finalize step.
`ensurepip` is the module Python uses to bootstrap `pip` into an environment that doesn't have it. The shipped package already includes a fully installed `pip`, so `ensurepip` is unused at runtime and can be dropped from the artifact.
## Size impact
Reduces the on-disk package size by **~1.8 MB**.
It is removed in `omnibus/config/software/datadog-agent-finalize.rb` alongside the other embedded-Python size reductions, using a version-independent glob so it keeps working across Python upgrades.
Co-authored-by: arthur.bellal <arthur.bellal@datadoghq.com>1 parent d9c4bad commit dc694be
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
147 | 150 | | |
148 | 151 | | |
149 | 152 | | |
| |||
0 commit comments