From d844f5db30814d786efa368f4d13c95b1389650f Mon Sep 17 00:00:00 2001 From: Finn Evers Date: Tue, 30 Dec 2025 16:27:20 +0100 Subject: [PATCH] extension_ci: Fix version bump not working (#45869) I changed the runner sizes to a smaller but more recent image yesterday and broke the version bumping in the process. This PR fixes this by force installing the needed package. Release Notes: - N/A --- .github/workflows/extension_bump.yml | 2 +- tooling/xtask/src/tasks/workflows/extension_bump.rs | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/extension_bump.yml b/.github/workflows/extension_bump.yml index 6d41aeecc173edc9b5b54db1e109bbd70f2a6436..0afbb3c619290cbd75e0692751454c0585ff47d3 100644 --- a/.github/workflows/extension_bump.yml +++ b/.github/workflows/extension_bump.yml @@ -79,7 +79,7 @@ jobs: with: clean: false - name: extension_bump::install_bump_2_version - run: pip install bump2version + run: pip install bump2version --break-system-packages shell: bash -euxo pipefail {0} - id: bump-version name: extension_bump::bump_version diff --git a/tooling/xtask/src/tasks/workflows/extension_bump.rs b/tooling/xtask/src/tasks/workflows/extension_bump.rs index 70ec4d7cb78bbf851d4b9dc3e60aa060fb93d76d..00fa36860b96928ff9c729056c9243c1dec00690 100644 --- a/tooling/xtask/src/tasks/workflows/extension_bump.rs +++ b/tooling/xtask/src/tasks/workflows/extension_bump.rs @@ -245,7 +245,10 @@ pub(crate) fn generate_token( } fn install_bump_2_version() -> Step { - named::run(runners::Platform::Linux, "pip install bump2version") + named::run( + runners::Platform::Linux, + "pip install bump2version --break-system-packages", + ) } fn bump_version(current_version: &JobOutput, bump_type: &WorkflowInput) -> (Step, StepOutput) {