Skip to content

Commit cede631

Browse files
committed
Bump Python version for linters etc. and Windows version
1 parent 7d93d4a commit cede631

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

.github/workflows/mypy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020

2121
strategy:
2222
matrix:
23-
os: ['ubuntu-22.04', 'windows-2019']
23+
os: ['ubuntu-22.04', 'windows-2022']
2424
fail-fast: false
2525

2626
steps:
@@ -40,7 +40,7 @@ jobs:
4040
if: steps.changes.outputs.code == 'true'
4141
uses: "actions/setup-python@v5"
4242
with:
43-
python-version: "3.8"
43+
python-version: "3.9"
4444

4545
- name: Install dependencies 🔧
4646
run: |

.github/workflows/python_ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ permissions:
1818

1919
jobs:
2020
tests:
21-
name: "windows-2019 / Python ${{ matrix.config.python-version }}"
22-
runs-on: "windows-2019"
21+
name: "windows-2022 / Python ${{ matrix.config.python-version }}"
22+
runs-on: "windows-2022"
2323
continue-on-error: ${{ matrix.config.experimental }}
2424
env:
2525
USING_COVERAGE: '3.7,3.8,3.9,3.10,3.11,3.12,3.13,pypy-3.7,pypy-3.8,pypy-3.9'

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ platforms = [ "Windows", "macOS", "Linux",]
158158
license-key = "MIT"
159159

160160
[tool.mypy]
161-
python_version = "3.8"
161+
python_version = "3.9"
162162
namespace_packages = true
163163
check_untyped_defs = true
164164
warn_unused_ignores = true

repo_helper.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ use_flit: true
1313
min_coverage: 90
1414
docs_fail_on_warning: true
1515
mypy_version: "0.971"
16-
python_deploy_version: 3.8
1716

1817
conda_extras:
1918
- none

tox.ini

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ test =
5454
pypy38-click{7.1,8.0,8.1}
5555
pypy39-click{7.1,8.0,8.1}
5656
qa = mypy, lint
57-
cov = py38-click7.1, coverage
57+
cov = py39-click7.1, coverage
5858

5959
[testenv:.package]
6060
setenv =
@@ -77,7 +77,7 @@ setenv =
7777
[testenv:docs]
7878
setenv = SHOW_TODOS = 1
7979
passenv = SPHINX_BUILDER
80-
basepython = python3.8
80+
basepython = python3.9
8181
changedir = {toxinidir}/doc-source
8282
deps = -r{toxinidir}/doc-source/requirements.txt
8383
commands = sphinx-build -M {env:SPHINX_BUILDER:html} . ./build {posargs}
@@ -101,7 +101,7 @@ commands =
101101
check-wheel-contents dist/
102102

103103
[testenv:lint]
104-
basepython = python3.8
104+
basepython = python3.9
105105
changedir = {toxinidir}
106106
ignore_errors = True
107107
skip_install = False
@@ -121,6 +121,7 @@ deps =
121121
flake8-sphinx-links>=0.0.4
122122
flake8-strftime>=0.1.1
123123
flake8-typing-imports>=1.10.0
124+
git+https://github.com/domdfcoding/restructuredtext-lint.git@fix-deprecations
124125
git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git
125126
git+https://github.com/domdfcoding/flake8-rst-docstrings.git
126127
git+https://github.com/python-formate/flake8-unused-arguments.git@magic-methods
@@ -131,15 +132,15 @@ deps =
131132
commands = python3 -m flake8_rst_docstrings_sphinx consolekit tests --allow-toolbox {posargs}
132133

133134
[testenv:perflint]
134-
basepython = python3.8
135+
basepython = python3.9
135136
changedir = {toxinidir}
136137
ignore_errors = True
137138
skip_install = True
138139
deps = perflint
139140
commands = python3 -m perflint consolekit {posargs}
140141

141142
[testenv:mypy]
142-
basepython = python3.8
143+
basepython = python3.9
143144
ignore_errors = True
144145
changedir = {toxinidir}
145146
deps =
@@ -148,15 +149,15 @@ deps =
148149
commands = mypy consolekit tests {posargs}
149150

150151
[testenv:pyup]
151-
basepython = python3.8
152+
basepython = python3.9
152153
skip_install = True
153154
ignore_errors = True
154155
changedir = {toxinidir}
155156
deps = pyupgrade-directories
156157
commands = pyup_dirs consolekit tests --py36-plus --recursive
157158

158159
[testenv:coverage]
159-
basepython = python3.8
160+
basepython = python3.9
160161
skip_install = True
161162
ignore_errors = True
162163
whitelist_externals = /bin/bash

0 commit comments

Comments
 (0)