Skip to content

Commit

Permalink
build: use Python 3.12 in tooling
Browse files Browse the repository at this point in the history
Signed-off-by: Felix Kaechele <[email protected]>
  • Loading branch information
kaechele committed Dec 29, 2023
1 parent 31ec630 commit eb978a1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
python-version: "3.12"
- uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: luarocks
Expand All @@ -41,7 +41,7 @@ jobs:
matrix:
python-version:
- "3.11"
# - "3.12" # 3.12 is blocked for now due to https://github.com/aio-libs/aiohttp/issues/7739
- "3.12"
os:
- ubuntu-latest
- windows-latest
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ jobs:
with:
fetch-depth: 0

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"

# Run semantic release:
# - Update CHANGELOG.md
# - Update version in code
Expand Down
3 changes: 0 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
exclude: "CHANGELOG.md|.copier-answers.yml"
default_stages: [commit]

default_language_version:
python: "3.11" # 3.12 is blocked for now due to https://github.com/aio-libs/aiohttp/issues/7739

ci:
autofix_commit_msg: "chore(pre-commit.ci): auto fixes"
autoupdate_commit_msg: "chore(pre-commit.ci): pre-commit autoupdate"
Expand Down

0 comments on commit eb978a1

Please sign in to comment.