Skip to content

Commit b1516a3

Browse files
committed
Bump dependencies. (#2108)
1 parent 9003cac commit b1516a3

File tree

3 files changed

+14
-15
lines changed

3 files changed

+14
-15
lines changed

pyproject.toml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -60,19 +60,19 @@ documentation = [
6060
"sphinx-rtd-theme>=1.1.1"
6161
]
6262
development = [
63-
"build>=1.0.3",
64-
"codespell>=2.2.2",
65-
"coverage>=7.4.0",
66-
"mypy>=1.6.0",
67-
"pylint>=3.0.0",
68-
"pytest>=7.3.1",
69-
"pytest-asyncio>=0.20.3",
63+
"build>=1.1.1",
64+
"codespell>=2.2.6",
65+
"coverage>=7.4.3",
66+
"mypy>=1.9.0",
67+
"pylint>=3.1.0",
68+
"pytest>=8.1.0",
69+
"pytest-asyncio>=0.23.5.post1",
7070
"pytest-cov>=4.1.0",
7171
"pytest-profiling>=1.7.0",
72-
"pytest-timeout>=2.2.0",
73-
"pytest-xdist>=3.3.1",
74-
"ruff>=0.2.0",
75-
"twine>=4.0.2",
72+
"pytest-timeout>=2.3.1",
73+
"pytest-xdist>=3.5.0",
74+
"ruff>=0.3.3",
75+
"twine>=5.0.0",
7676
"types-Pygments",
7777
"types-pyserial"
7878
]

test/conftest.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@
2424

2525
def pytest_configure():
2626
"""Configure pytest."""
27-
pytest.IS_DARWIN = platform.system().lower() == "darwin"
28-
pytest.IS_WINDOWS = platform.system().lower() == "windows"
2927

3028

3129
# -----------------------------------------------------------------------#
@@ -93,7 +91,7 @@ def prepare_commparams_client(use_port, use_host, use_comm_type):
9391
"""Prepare CommParamsClass object."""
9492
if use_host == NULLMODEM_HOST and use_comm_type == CommType.SERIAL:
9593
use_host = f"{NULLMODEM_HOST}:{use_port}"
96-
timeout = 10 if not pytest.IS_WINDOWS else 2
94+
timeout = 10 if platform.system().lower() != "windows" else 2
9795
return CommParams(
9896
comm_name="test comm",
9997
comm_type=use_comm_type,

test/transport/test_comm.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
"""Test transport."""
22
import asyncio
3+
import platform
34
import time
45
from unittest import mock
56

@@ -13,7 +14,7 @@
1314
from pymodbus.transport.serialtransport import SerialTransport
1415

1516

16-
FACTOR = 1.2 if not pytest.IS_WINDOWS else 4.2
17+
FACTOR = 1.2 if platform.system().lower() != "windows" else 4.2
1718

1819

1920
class TestTransportComm:

0 commit comments

Comments
 (0)