Skip to content

Commit

Permalink
BEHAVIOR: default to Python 3.9 in workflows (#53)
Browse files Browse the repository at this point in the history
* DX: switch to Python 3.9 for dev environment
  • Loading branch information
redeboer authored Jan 17, 2024
1 parent 9b56d73 commit e8b8621
Show file tree
Hide file tree
Showing 13 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
required: false
type: boolean
python-version:
default: "3.8"
default: "3.9"
required: false
type: string
specific-pip-packages:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docnb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
required: false
type: string
python-version:
default: "3.8"
default: "3.9"
required: false
type: string
specific-pip-packages:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linkcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
required: false
type: string
python-version:
default: "3.8"
default: "3.9"
required: false
type: string

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ on:
workflow_call:
inputs:
python-version:
default: "3.8"
default: "3.9"
required: false
type: string
secrets:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.8"
python-version: "3.9"
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
required: false
type: string
coverage-python-version:
default: "3.8"
default: "3.9"
required: false
type: string
coverage-target:
Expand Down
2 changes: 1 addition & 1 deletion .gitpod.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
tasks:
- init: pyenv local 3.8
- init: pyenv local 3.9
- init: pip install -e .[dev]

github:
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ repos:
- id: black

- repo: https://github.com/ComPWA/policy
rev: 0.2.0
rev: 0.2.2
hooks:
- id: check-dev-files
args:
Expand Down
4 changes: 2 additions & 2 deletions create-pytest-matrix/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: >-
inputs:
coverage-python-version:
default: "3.8"
default: "3.9"
description: Python version on which to run the test coverage job.
required: false
coverage-target:
Expand Down Expand Up @@ -34,7 +34,7 @@ runs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: "3.8"
python-version: "3.9"
- run: pip install toml
shell: bash
- id: set-matrix
Expand Down
4 changes: 2 additions & 2 deletions create-python-version-matrix/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: >-
inputs:
coverage-python-version:
default: "3.8"
default: "3.9"
description: Python version on which to run the test coverage job.
required: false
coverage-target:
Expand All @@ -30,7 +30,7 @@ runs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: "3.8"
python-version: "3.9"
- run: pip install toml
shell: bash
- id: set-matrix
Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: compwa-actions
channels:
- defaults
dependencies:
- python==3.8.*
- python==3.9.*
- pip
- pip:
- -e .[dev]
Expand Down
2 changes: 1 addition & 1 deletion get-pre-commit-taplo-version/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ runs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: "3.8"
python-version: "3.9"
- run: python3 -m pip install PyYAML
shell: bash
- id: taplo
Expand Down
2 changes: 1 addition & 1 deletion get-skipped-pre-commit-hooks/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ runs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: "3.8"
python-version: "3.9"
- run: python3 -m pip install PyYAML
shell: bash
- id: set-hooks
Expand Down

0 comments on commit e8b8621

Please sign in to comment.