Skip to content

Commit

Permalink
Don't require psutil on PyPy on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
domdfcoding committed Nov 21, 2023
1 parent f5b8170 commit bd29e69
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ build:
python: '3.9'
jobs:
post_create_environment:
- pip install .[all]
- pip install .
1 change: 1 addition & 0 deletions formate.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ known_third_party = [
"importlib_metadata",
"mistletoe",
"mypy",
"psutil",
"pytest",
"pytest_cov",
"pytest_mypy_plugins",
Expand Down
1 change: 0 additions & 1 deletion repo_helper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ short_desc: 'Additional utilities for click.'
use_flit: true
min_coverage: 90
docs_fail_on_warning: true
tox_testenv_extras: all
mypy_version: "0.971"
python_deploy_version: 3.6

Expand Down
3 changes: 3 additions & 0 deletions tests/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ domdf-python-tools[testing]>=2.0.1
importlib-metadata>=3.6.0
iniconfig!=1.1.0,>=1.0.1
mypy==0.971; platform_python_implementation == "CPython"
psutil>=5.9.6; platform_python_implementation == "PyPy" and platform_system != "Windows"
psutil>=5.9.6; platform_python_implementation != "PyPy" and platform_system == "Windows"
psutil>=5.9.6; platform_python_implementation != "PyPy" and platform_system != "Windows"
pytest>=6.0.0
pytest-cov>=2.8.1
pytest-mypy-plugins>=1.9.1; platform_python_implementation == "CPython"
Expand Down
3 changes: 0 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ setenv = SHOW_TODOS = 1
passenv = SPHINX_BUILDER
basepython = python3.8
changedir = {toxinidir}/doc-source
extras = all
deps = -r{toxinidir}/doc-source/requirements.txt
commands = sphinx-build -M {env:SPHINX_BUILDER:html} . ./build {posargs}

Expand Down Expand Up @@ -142,7 +141,6 @@ commands = python3 -m perflint consolekit {posargs}
basepython = python3.6
ignore_errors = True
changedir = {toxinidir}
extras = all
deps =
mypy==0.971
-r{toxinidir}/tests/requirements.txt
Expand All @@ -155,7 +153,6 @@ skip_install = True
ignore_errors = True
changedir = {toxinidir}
deps = pyupgrade-directories
extras = all
commands = pyup_dirs consolekit tests --py36-plus --recursive

[testenv:coverage]
Expand Down

0 comments on commit bd29e69

Please sign in to comment.