File tree Expand file tree Collapse file tree 3 files changed +16
-11
lines changed Expand file tree Collapse file tree 3 files changed +16
-11
lines changed Original file line number Diff line number Diff line change @@ -165,7 +165,10 @@ jobs:
165
165
with :
166
166
path : ~/.cache/pre-commit
167
167
key : pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }}
168
- - run : pip install tox
168
+ - name : Install dependencies
169
+ run : |
170
+ python -m pip install --upgrade pip
171
+ pip install tox
169
172
- run : tox -e linting
170
173
171
174
deploy :
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ install_requires =
42
42
attrs>=19.2.0
43
43
iniconfig
44
44
packaging
45
- pluggy>=0.12,<1.0
45
+ pluggy>=0.12,<1.0.0a1
46
46
py>=1.8.2
47
47
toml
48
48
atomicwrites>=1.0; sys_platform=="win32"
@@ -52,8 +52,8 @@ python_requires = >=3.6
52
52
package_dir =
53
53
=src
54
54
setup_requires =
55
- setuptools>=40 .0
56
- setuptools-scm
55
+ setuptools>=>=42 .0
56
+ setuptools-scm>=3.4
57
57
zip_safe = no
58
58
59
59
[options.entry_points]
Original file line number Diff line number Diff line change 1
1
[tox]
2
2
isolated_build = True
3
- minversion = 3.5.3
3
+ minversion = 3.20.0
4
4
distshare = {homedir}/.tox/distshare
5
5
# make sure to update environment list in travis.yml and appveyor.yml
6
6
envlist =
@@ -16,6 +16,7 @@ envlist =
16
16
py37-freeze
17
17
docs
18
18
docs-checklinks
19
+ requires = pip >= 20.3.1
19
20
20
21
[testenv]
21
22
commands =
@@ -44,19 +45,20 @@ setenv =
44
45
extras = testing
45
46
deps =
46
47
doctesting: PyYAML
47
- numpy: numpy
48
- pexpect: pexpect
48
+ numpy: numpy>=1.19.4
49
+ pexpect: pexpect>=4.8.0
49
50
pluggymaster: git+https://github.com/pytest-dev/pluggy.git@master
50
- pygments
51
+ pygments>=2.7.2
51
52
unittestextras: twisted
52
53
unittestextras: asynctest
53
- xdist: pytest-xdist>=1.13
54
+ xdist: pytest-xdist>=2.1.0
55
+ xdist: -e .
54
56
{env:_PYTEST_TOX_EXTRA_DEP:}
55
57
56
58
[testenv:linting]
57
59
skip_install = True
58
60
basepython = python3
59
- deps = pre-commit>=1.11.0
61
+ deps = pre-commit>=2.9.3
60
62
commands = pre-commit run --all-files --show-diff-on-failure {posargs:}
61
63
62
64
[testenv:docs]
@@ -141,7 +143,7 @@ passenv = *
141
143
deps =
142
144
colorama
143
145
github3.py
144
- pre-commit>=1.11.0
146
+ pre-commit>=2.9.3
145
147
wheel
146
148
towncrier
147
149
commands = python scripts/release.py {posargs}
You can’t perform that action at this time.
0 commit comments