Skip to content

Commit 09f0aee

Browse files
committed
Bump deploy/linter Python version.
1 parent c72931d commit 09f0aee

File tree

7 files changed

+12
-14
lines changed

7 files changed

+12
-14
lines changed

.github/workflows/docs_test_action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- '!tests/**'
3030
3131
- name: Install and Build 🔧
32-
uses: sphinx-toolbox/sphinx-action@sphinx-3.3.1
32+
uses: sphinx-toolbox/sphinx-action@sphinx-3.3.1-py39
3333
if: steps.changes.outputs.code == 'true'
3434
with:
3535
pre-build-command: python -m pip install tox

.github/workflows/flake8.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
if: steps.changes.outputs.code == 'true'
3636
uses: "actions/setup-python@v5"
3737
with:
38-
python-version: "3.8"
38+
python-version: "3.9"
3939

4040
- name: Install dependencies 🔧
4141
if: steps.changes.outputs.code == 'true'

.github/workflows/mypy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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: |

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ repos:
6666
hooks:
6767
- id: pyupgrade
6868
args:
69-
- --py36-plus
69+
- --py37-plus
7070
- --keep-runtime-typing
7171

7272
- repo: https://github.com/Lucas-C/pre-commit-hooks

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ license-key = "MIT"
149149
additional-files = [ "include domdf_python_tools/google-10000-english-no-swears.txt",]
150150

151151
[tool.mypy]
152-
python_version = "3.8"
152+
python_version = "3.9"
153153
namespace_packages = true
154154
check_untyped_defs = true
155155
warn_unused_ignores = true

repo_helper.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ username: "domdfcoding"
88
license: 'MIT'
99
short_desc: 'Helpful functions for Python 🐍 🛠️'
1010

11-
python_deploy_version: 3.8
12-
requires_python: 3.6
1311
min_coverage: 95
1412
tox_testenv_extras: all
1513
pre_commit_exclude: "^domdf_python_tools/compat/importlib_resources.py$"

tox.ini

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ test =
5757
pypy39
5858
pypy310
5959
qa = mypy, lint
60-
cov = py38, coverage
60+
cov = py39, coverage
6161

6262
[testenv:.package]
6363
setenv =
@@ -80,7 +80,7 @@ setenv =
8080
[testenv:docs]
8181
setenv = SHOW_TODOS = 1
8282
passenv = SPHINX_BUILDER
83-
basepython = python3.8
83+
basepython = python3.9
8484
changedir = {toxinidir}/doc-source
8585
extras = all
8686
deps = -r{toxinidir}/doc-source/requirements.txt
@@ -105,7 +105,7 @@ commands =
105105
check-wheel-contents dist/
106106

107107
[testenv:lint]
108-
basepython = python3.8
108+
basepython = python3.9
109109
changedir = {toxinidir}
110110
ignore_errors = True
111111
skip_install = False
@@ -135,15 +135,15 @@ deps =
135135
commands = python3 -m flake8_rst_docstrings_sphinx domdf_python_tools tests --allow-toolbox {posargs}
136136

137137
[testenv:perflint]
138-
basepython = python3.8
138+
basepython = python3.9
139139
changedir = {toxinidir}
140140
ignore_errors = True
141141
skip_install = True
142142
deps = perflint
143143
commands = python3 -m perflint domdf_python_tools {posargs}
144144

145145
[testenv:mypy]
146-
basepython = python3.8
146+
basepython = python3.9
147147
ignore_errors = True
148148
changedir = {toxinidir}
149149
extras = all
@@ -155,7 +155,7 @@ deps =
155155
commands = mypy domdf_python_tools tests {posargs}
156156

157157
[testenv:pyup]
158-
basepython = python3.8
158+
basepython = python3.9
159159
skip_install = True
160160
ignore_errors = True
161161
changedir = {toxinidir}
@@ -164,7 +164,7 @@ extras = all
164164
commands = pyup_dirs domdf_python_tools tests --py36-plus --recursive
165165

166166
[testenv:coverage]
167-
basepython = python3.8
167+
basepython = python3.9
168168
skip_install = True
169169
ignore_errors = True
170170
whitelist_externals = /bin/bash

0 commit comments

Comments
 (0)