Skip to content

Commit e4b8514

Browse files
dependabot[bot]gaborbernat
authored andcommitted
Bump actions/setup-python from 4 to 5 (#134)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Signed-off-by: Bernát Gábor <[email protected]>
1 parent 0072db2 commit e4b8514

File tree

6 files changed

+27
-25
lines changed

6 files changed

+27
-25
lines changed

.github/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
changelog:
2+
exclude:
3+
authors:
4+
- dependabot
5+
- pre-commit-ci

.github/workflows/check.yml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: check
22
on:
3+
workflow_dispatch:
34
push:
5+
branches: "main"
46
tags-ignore: ["**"]
57
pull_request:
68
schedule:
@@ -18,21 +20,21 @@ jobs:
1820
fail-fast: false
1921
matrix:
2022
py:
21-
- "3.12.0-beta.2"
23+
- "3.12"
2224
- "3.11"
2325
- "3.10"
24-
- 3.9
25-
- 3.8
26+
- "3.9"
27+
- "3.8"
2628
steps:
2729
- name: setup python for tox
28-
uses: actions/setup-python@v4
30+
uses: actions/setup-python@v5
2931
with:
30-
python-version: "3.11"
32+
python-version: "3.12"
3133
- name: install tox
3234
run: python -m pip install tox
3335
- uses: actions/checkout@v4
3436
- name: setup python for test ${{ matrix.py }}
35-
uses: actions/setup-python@v4
37+
uses: actions/setup-python@v5
3638
with:
3739
python-version: ${{ matrix.py }}
3840
- name: Pick environment to run
@@ -64,10 +66,10 @@ jobs:
6466
- pkg_check
6567
steps:
6668
- uses: actions/checkout@v4
67-
- name: setup Python 3.11
68-
uses: actions/setup-python@v4
69+
- name: setup Python 3.12
70+
uses: actions/setup-python@v5
6971
with:
70-
python-version: "3.11"
72+
python-version: "3.12"
7173
- name: install tox
7274
run: python -m pip install tox
7375
- name: run check for ${{ matrix.tox_env }}

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@ jobs:
1313
id-token: write
1414
steps:
1515
- name: Setup python to build package
16-
uses: actions/setup-python@v4
16+
uses: actions/setup-python@v5
17+
cache: "pip"
1718
with:
18-
python-version: "3.11"
19+
python-version: "3.12"
1920
- name: Install build
2021
run: python -m pip install build
2122
- uses: actions/checkout@v4

.pre-commit-config.yaml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,9 @@ repos:
1717
rev: "1.5.3"
1818
hooks:
1919
- id: pyproject-fmt
20-
additional_dependencies: ["tox>=4.8"]
21-
- repo: https://github.com/pre-commit/mirrors-prettier
22-
rev: "v4.0.0-alpha.3"
23-
hooks:
24-
- id: prettier
25-
args: ["--print-width=120", "--prose-wrap=always"]
20+
additional_dependencies: ["tox>=4.11.4"]
2621
- repo: https://github.com/astral-sh/ruff-pre-commit
27-
rev: "v0.1.6"
22+
rev: "v0.1.7"
2823
hooks:
2924
- id: ruff
3025
args: [--fix, --exit-non-zero-on-fix]

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[build-system]
22
build-backend = "hatchling.build"
33
requires = [
4-
"hatch-vcs>=0.3",
4+
"hatch-vcs>=0.4",
55
"hatchling>=1.18",
66
]
77

@@ -42,7 +42,7 @@ dependencies = [
4242
]
4343
optional-dependencies.test = [
4444
"covdefaults>=2.3",
45-
"pytest>=7.4",
45+
"pytest>=7.4.3",
4646
"pytest-cov>=4.1",
4747
]
4848
urls.Documentation = "https://github.com/tox-dev/sphinx-argparse-cli#sphinx-argparse-cli"

tox.ini

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ env_list =
88
py310
99
py39
1010
py38
11-
py37
1211
type
1312
pkg_check
1413
skip_missing_interpreters = true
@@ -36,7 +35,7 @@ description = run static analysis and style check using flake8
3635
base_python = python3.10
3736
skip_install = true
3837
deps =
39-
pre-commit>=3.3.3
38+
pre-commit>=3.5
4039
pass_env =
4140
HOMEPATH
4241
PROGRAMDATA
@@ -47,8 +46,8 @@ commands =
4746
[testenv:type]
4847
description = run type check on code base
4948
deps =
50-
mypy==1.5
51-
types-docutils>=0.20.0.2
49+
mypy==1.7.1
50+
types-docutils>=0.20.0.3
5251
set_env =
5352
{tty:MYPY_FORCE_COLOR = 1}
5453
commands =
@@ -60,7 +59,7 @@ description = check that the long description is valid
6059
base_python = python3.10
6160
skip_install = true
6261
deps =
63-
build[virtualenv]>=0.10
62+
build[virtualenv]>=1.0.3
6463
twine>=4.0.2
6564
change_dir = {toxinidir}
6665
commands =

0 commit comments

Comments
 (0)