Skip to content

Commit 9195d29

Browse files
author
Michael Howitz
authored
Update to new meta/config to fix lint tests. (#216)
1 parent 93cd471 commit 9195d29

File tree

3 files changed

+16
-16
lines changed

3 files changed

+16
-16
lines changed

.github/workflows/tests.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,21 +21,21 @@ jobs:
2121
- windows
2222
config:
2323
# [Python version, tox env]
24-
- ["3.8", "lint"]
24+
- ["3.9", "lint"]
2525
- ["2.7", "py27"]
2626
- ["3.5", "py35"]
2727
- ["3.6", "py36"]
2828
- ["3.7", "py37"]
2929
- ["3.8", "py38"]
3030
- ["3.9", "py39"]
31-
- ["3.10.0-rc.2", "py310"]
32-
- ["3.8", "docs"]
33-
- ["3.8", "coverage"]
34-
- ["3.8", "py38-datetime"]
31+
- ["3.10", "py310"]
32+
- ["3.9", "docs"]
33+
- ["3.9", "coverage"]
34+
- ["3.9", "py39-datetime"]
3535
exclude:
36-
- { os: windows, config: ["3.8", "lint"] }
37-
- { os: windows, config: ["3.8", "docs"] }
38-
- { os: windows, config: ["3.8", "coverage"] }
36+
- { os: windows, config: ["3.9", "lint"] }
37+
- { os: windows, config: ["3.9", "docs"] }
38+
- { os: windows, config: ["3.9", "coverage"] }
3939

4040
runs-on: ${{ matrix.os }}-latest
4141
name: ${{ matrix.os }}-${{ matrix.config[1] }}

.meta.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,20 @@
22
# https://github.com/zopefoundation/meta/tree/master/config/pure-python
33
[meta]
44
template = "pure-python"
5-
commit-id = "3329f708f7922fcee2608b4057a3976ee4ed6d72"
5+
commit-id = "3ffdf08eda5163647c93d7e25faca354d176ae77"
66

77
[python]
88
with-pypy = false
99
with-legacy-python = true
1010
with-docs = true
1111
with-sphinx-doctests = true
1212
with-windows = true
13-
with-future-python = true
13+
with-future-python = false
1414

1515
[tox]
1616
use-flake8 = true
1717
additional-envlist = [
18-
"py38-datetime",
18+
"py39-datetime",
1919
"combined-coverage",
2020
]
2121
testenv-deps = [
@@ -51,7 +51,7 @@ testenv-additional = [
5151
" coverage combine",
5252
" coverage html",
5353
" coverage report -m --fail-under=100",
54-
"depends = py27,py35,py36,py38-datetime,py37,py38,py39,coverage",
54+
"depends = py27,py35,py36,py39-datetime,py37,py38,py39,coverage",
5555
]
5656
coverage-basepython = "python3.8"
5757
coverage-command = "pytest --cov=src --cov=tests --cov-report= {posargs}"
@@ -83,5 +83,5 @@ additional-ignores = [
8383

8484
[github-actions]
8585
additional-config = [
86-
"- [\"3.8\", \"py38-datetime\"]",
86+
"- [\"3.9\", \"py39-datetime\"]",
8787
]

tox.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ envlist =
1313
py310
1414
docs
1515
coverage
16-
py38-datetime
16+
py39-datetime
1717
combined-coverage
1818

1919
[testenv]
@@ -51,15 +51,15 @@ commands =
5151
coverage combine
5252
coverage html
5353
coverage report -m --fail-under=100
54-
depends = py27,py35,py36,py38-datetime,py37,py38,py39,coverage
54+
depends = py27,py35,py36,py39-datetime,py37,py38,py39,coverage
5555

5656
[testenv:lint]
5757
basepython = python3
5858
skip_install = true
5959
deps =
6060
flake8
6161
check-manifest
62-
check-python-versions
62+
check-python-versions >= 0.19.1
6363
wheel
6464
commands =
6565
flake8 src setup.py

0 commit comments

Comments
 (0)