diff --git a/.github/workflows/pip-compile-dev.yml b/.github/workflows/pip-compile-dev.yml index 89ae8e77184..86564df9635 100644 --- a/.github/workflows/pip-compile-dev.yml +++ b/.github/workflows/pip-compile-dev.yml @@ -6,12 +6,6 @@ name: "Refresh dev dependencies" - cron: "0 0 * * 0" workflow_dispatch: inputs: - base-branch: - required: false - type: string - pr-branch: - required: false - type: string reset-branch: type: boolean default: false @@ -28,18 +22,53 @@ name: "Refresh dev dependencies" jobs: refresh: + strategy: + fail-fast: false + matrix: + include: + - base-branch: devel + pr-branch: pip-compile/devel/dev + nox-args: >- + -e 'pip-compile-3.11(formatters)' + 'pip-compile-3.11(typing)' + 'pip-compile-3.11(static)' + 'pip-compile-3.11(spelling)' + 'pip-compile-3.11(tag)' + - base-branch: stable-2.17 + pr-branch: pip-compile/stable-2.17/dev + nox-args: >- + -e 'pip-compile-3.10(formatters)' + 'pip-compile-3.10(typing)' + 'pip-compile-3.10(static)' + 'pip-compile-3.10(spelling)' + - base-branch: stable-2.16 + pr-branch: pip-compile/stable-2.16/dev + nox-args: >- + -e 'pip-compile-3.10(formatters)' + 'pip-compile-3.10(typing)' + 'pip-compile-3.10(static)' + 'pip-compile-3.10(spelling)' + - base-branch: stable-2.15 + pr-branch: pip-compile/stable-2.15/dev + nox-args: >- + -e 'pip-compile-3.10(formatters)' + 'pip-compile-3.10(typing)' + 'pip-compile-3.10(static)' + 'pip-compile-3.10(spelling)' + - base-branch: stable-2.14 + pr-branch: pip-compile/stable-2.14/dev + nox-args: >- + -e 'pip-compile-3.10(formatters)' + 'pip-compile-3.10(typing)' + 'pip-compile-3.10(static)' + 'pip-compile-3.10(spelling)' name: "Refresh dev dependencies" uses: ./.github/workflows/reusable-pip-compile.yml with: message: "ci: refresh dev dependencies" - base-branch: "${{ inputs.base-branch || 'devel' }}" - pr-branch: "${{ inputs.pr-branch || 'pip-compile/devel/dev' }}" - nox-args: >- - -e 'pip-compile-3.10(formatters)' - 'pip-compile-3.10(typing)' - 'pip-compile-3.10(static)' - 'pip-compile-3.10(spelling)' - 'pip-compile-3.10(tag)' + base-branch: "${{ matrix.base-branch }}" + pr-branch: "${{ matrix.pr-branch }}" + nox-args: "${{ matrix.nox-args }}" reset-branch: "${{ inputs.reset-branch || false }}" - labels: "${{ inputs.labels || 'backport-2.14,backport-2.15,backport-2.16,backport-2.17,tooling' }}" + labels: "${{ inputs.labels || 'no_backport,tooling' }}" secrets: inherit diff --git a/.github/workflows/pip-compile-docs.yml b/.github/workflows/pip-compile-docs.yml index 6c90c24e10c..a1f3c0cfbe9 100644 --- a/.github/workflows/pip-compile-docs.yml +++ b/.github/workflows/pip-compile-docs.yml @@ -34,7 +34,7 @@ jobs: message: "ci: refresh docs build dependencies" base-branch: "${{ inputs.base-branch || 'devel' }}" pr-branch: "${{ inputs.pr-branch || 'pip-compile/devel/docs' }}" - nox-args: "-e 'pip-compile-3.10(requirements)' 'pip-compile-3.10(requirements-relaxed)'" + nox-args: "-e 'pip-compile-3.11(requirements)' 'pip-compile-3.11(requirements-relaxed)'" reset-branch: "${{ inputs.reset-branch || false }}" labels: "${{ inputs.labels || 'doc builds,no_backport' }}" secrets: inherit diff --git a/.github/workflows/reusable-pip-compile.yml b/.github/workflows/reusable-pip-compile.yml index 0fcae147eec..b96bd0353a0 100644 --- a/.github/workflows/reusable-pip-compile.yml +++ b/.github/workflows/reusable-pip-compile.yml @@ -88,6 +88,7 @@ jobs: base_branch: "${{ inputs.base-branch }}" pr_branch: "${{ inputs.pr-branch }}" message: "${{ inputs.message }}" + pr_title: "[${{ inputs.base-branch }}] ${{ inputs.message }}" changed_files: "${{ inputs.changed-files }}" labels: "${{ inputs.labels }}" run: | @@ -105,7 +106,7 @@ jobs: then command=(gh pr create --base "${base_branch}" - --title "${message}" + --title "${pr_title}" --body "" --label dependency_update ) diff --git a/noxfile.py b/noxfile.py index e685f9349e7..e04088cf694 100644 --- a/noxfile.py +++ b/noxfile.py @@ -88,7 +88,7 @@ def lint(session: nox.Session): ) -@nox.session(name="pip-compile", python=["3.10"]) +@nox.session(name="pip-compile", python=["3.11"]) @nox.parametrize(["req"], requirements_files, requirements_files) def pip_compile(session: nox.Session, req: str): # .pip-tools.toml was introduced in v7