Skip to content

Commit bd29e69

Browse files
committed
Don't require psutil on PyPy on Windows
1 parent f5b8170 commit bd29e69

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

.readthedocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ build:
1818
python: '3.9'
1919
jobs:
2020
post_create_environment:
21-
- pip install .[all]
21+
- pip install .

formate.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ known_third_party = [
4444
"importlib_metadata",
4545
"mistletoe",
4646
"mypy",
47+
"psutil",
4748
"pytest",
4849
"pytest_cov",
4950
"pytest_mypy_plugins",

repo_helper.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ short_desc: 'Additional utilities for click.'
1212
use_flit: true
1313
min_coverage: 90
1414
docs_fail_on_warning: true
15-
tox_testenv_extras: all
1615
mypy_version: "0.971"
1716
python_deploy_version: 3.6
1817

tests/requirements.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ domdf-python-tools[testing]>=2.0.1
77
importlib-metadata>=3.6.0
88
iniconfig!=1.1.0,>=1.0.1
99
mypy==0.971; platform_python_implementation == "CPython"
10+
psutil>=5.9.6; platform_python_implementation == "PyPy" and platform_system != "Windows"
11+
psutil>=5.9.6; platform_python_implementation != "PyPy" and platform_system == "Windows"
12+
psutil>=5.9.6; platform_python_implementation != "PyPy" and platform_system != "Windows"
1013
pytest>=6.0.0
1114
pytest-cov>=2.8.1
1215
pytest-mypy-plugins>=1.9.1; platform_python_implementation == "CPython"

tox.ini

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ setenv = SHOW_TODOS = 1
7979
passenv = SPHINX_BUILDER
8080
basepython = python3.8
8181
changedir = {toxinidir}/doc-source
82-
extras = all
8382
deps = -r{toxinidir}/doc-source/requirements.txt
8483
commands = sphinx-build -M {env:SPHINX_BUILDER:html} . ./build {posargs}
8584

@@ -142,7 +141,6 @@ commands = python3 -m perflint consolekit {posargs}
142141
basepython = python3.6
143142
ignore_errors = True
144143
changedir = {toxinidir}
145-
extras = all
146144
deps =
147145
mypy==0.971
148146
-r{toxinidir}/tests/requirements.txt
@@ -155,7 +153,6 @@ skip_install = True
155153
ignore_errors = True
156154
changedir = {toxinidir}
157155
deps = pyupgrade-directories
158-
extras = all
159156
commands = pyup_dirs consolekit tests --py36-plus --recursive
160157

161158
[testenv:coverage]

0 commit comments

Comments
 (0)