Skip to content

Commit

Permalink
Update noxfile and pip-compile sessions to fix failing workflows (#2260)
Browse files Browse the repository at this point in the history
* update python version syntax in pip-compile session

* change pip-compile names in workflows
  • Loading branch information
oraNod authored Dec 11, 2024
1 parent 2e09b53 commit 48e4438
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 27 deletions.
41 changes: 17 additions & 24 deletions .github/workflows/pip-compile-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,39 +22,32 @@ jobs:
- 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)'
-e 'pip-compile(formatters)'
'pip-compile(typing)'
'pip-compile(static)'
'pip-compile(spelling)'
'pip-compile(tag)'
- base-branch: stable-2.18
pr-branch: pip-compile/stable-2.18/dev
nox-args: >-
-e 'pip-compile-3.11(formatters)'
'pip-compile-3.11(typing)'
'pip-compile-3.11(static)'
'pip-compile-3.11(spelling)'
-e 'pip-compile(formatters)'
'pip-compile(typing)'
'pip-compile(static)'
'pip-compile(spelling)'
- 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)'
-e 'pip-compile(formatters)'
'pip-compile(typing)'
'pip-compile(static)'
'pip-compile(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)'
-e 'pip-compile(formatters)'
'pip-compile(typing)'
'pip-compile(static)'
'pip-compile(spelling)'
name: "Refresh dev dependencies"
uses: ./.github/workflows/reusable-pip-compile.yml
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pip-compile-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ jobs:
pr-branch: "${{ inputs.pr-branch || 'pip-compile/devel/docs' }}"
nox-args: >-
-e
'pip-compile-3.11(requirements)'
'pip-compile-3.11(requirements-relaxed)'
'pip-compile(requirements)'
'pip-compile(requirements-relaxed)'
reset-branch: "${{ inputs.reset-branch || false }}"
labels: "${{ inputs.labels || 'doc builds,no_backport' }}"
secrets: inherit
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def lint(session: nox.Session):
)


@nox.session(name="pip-compile", python=["3.11"])
@nox.session(name="pip-compile", python="3.11")
@nox.parametrize(["req"], requirements_files, requirements_files)
def pip_compile(session: nox.Session, req: str):
"""
Expand Down

0 comments on commit 48e4438

Please sign in to comment.