Commit ac7e50b
authored
fix(agent-integrations): bump AIX embedded Python version in patch upgrade task (#54702)
### What does this PR do?
Adds a new `_prepare_aix_update` step to `tasks/python_version.py` so the `python-version.update` task also bumps `PYTHON_VERSION` in `packaging/aix/lib/env.sh`. Also updates the `upgrade-python-patch-version` workflow's PR description to mention this file, and adds a unit test covering the new function.
### Motivation
PR #54696 (the automated Python patch bump) only updated the Omnibus and Bazel Python references. As flagged in [review feedback](#54696 (comment)), the AIX packaging path (`packaging/aix/lib/env.sh`, sourced by `packaging/aix/stages/02-python.sh`) has its own `PYTHON_VERSION` variable that was left out of sync, so AIX Agent builds continued embedding the old patch version.
### Describe how you validated your changes
Ran the existing unit test suite plus the new `TestAixUpdate` test via `dda inv invoke-unit-tests.run --tests python_version` — all 17 tests pass.
Co-authored-by: nicolas.schweitzer <nicolas.schweitzer@datadoghq.com>1 parent 76964f2 commit ac7e50b
3 files changed
Lines changed: 46 additions & 0 deletions
File tree
- .github/workflows
- tasks
- unit_tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| 79 | + | |
79 | 80 | | |
80 | 81 | | |
81 | 82 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| 92 | + | |
92 | 93 | | |
93 | 94 | | |
94 | 95 | | |
| |||
292 | 293 | | |
293 | 294 | | |
294 | 295 | | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
295 | 314 | | |
296 | 315 | | |
297 | 316 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
205 | 231 | | |
206 | 232 | | |
207 | 233 | | |
| |||
0 commit comments