Skip to content

Commit 6362d60

Browse files
authored
Bump the required group across 1 directory with 9 updates (#337)
2 parents d64b823 + 1084381 commit 6362d60

File tree

2 files changed

+15
-22
lines changed

2 files changed

+15
-22
lines changed

pyproject.toml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -43,30 +43,30 @@ dev-flake8 = [
4343
"pydoclint == 0.5.9",
4444
"pydocstyle == 6.3.0",
4545
]
46-
dev-formatting = ["black == 24.8.0", "isort == 5.13.2"]
46+
dev-formatting = ["black == 24.10.0", "isort == 5.13.2"]
4747
dev-mkdocs = [
4848
"Markdown == 3.7",
49-
"black == 24.8.0",
49+
"black == 24.10.0",
5050
"frequenz-repo-config[lib] == 0.10.0",
5151
"markdown-callouts == 0.4.0",
5252
"markdown-svgbob == 202406.1023",
5353
"mike == 2.1.3",
5454
"mkdocs-gen-files == 0.5.0",
55-
"mkdocs-include-markdown-plugin == 7.0.0",
55+
"mkdocs-include-markdown-plugin == 7.0.1",
5656
"mkdocs-literate-nav == 0.6.1",
57-
"mkdocs-macros-plugin == 1.2.0",
58-
"mkdocs-material == 9.5.39",
59-
"mkdocstrings[python] == 0.26.1",
60-
"mkdocstrings-python == 1.11.1",
57+
"mkdocs-macros-plugin == 1.3.7",
58+
"mkdocs-material == 9.5.44",
59+
"mkdocstrings[python] == 0.27.0",
60+
"mkdocstrings-python == 1.12.2",
6161
"pymdownx-superfence-filter-lines == 0.1.0",
6262
]
6363
dev-mypy = [
6464
# For checking the noxfile, docs/ script, and tests
6565
"frequenz-channels[dev-mkdocs,dev-noxfile,dev-pytest]",
66-
"mypy == 1.11.2",
66+
"mypy == 1.13.0",
6767
"types-Markdown == 3.7.0.20240822",
6868
]
69-
dev-noxfile = ["nox == 2024.4.15", "frequenz-repo-config[lib] == 0.10.0"]
69+
dev-noxfile = ["nox == 2024.10.9", "frequenz-repo-config[lib] == 0.10.0"]
7070
dev-pylint = [
7171
# For checking the noxfile, docs/ script, and tests
7272
"frequenz-channels[dev-mkdocs,dev-noxfile,dev-pytest]",
@@ -75,7 +75,7 @@ dev-pylint = [
7575
dev-pytest = [
7676
"async-solipsism == 0.7",
7777
"frequenz-repo-config[extra-lint-examples] == 0.10.0",
78-
"hypothesis == 6.112.2",
78+
"hypothesis == 6.119.3",
7979
"pytest == 8.3.3",
8080
"pytest-asyncio == 0.24.0",
8181
"pytest-mock == 3.14.0",

tests/test_timer.py

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -31,19 +31,12 @@ def event_loop() -> Iterator[async_solipsism.EventLoop]:
3131
loop.close()
3232

3333

34-
_max_timedelta_microseconds = (
35-
int(
36-
timedelta.max.total_seconds() * 1_000_000,
37-
)
38-
- 1
39-
)
34+
# We give some extra room (dividing by 10) to the max and min to avoid flaky errors
35+
# failing when getting too close to the limits, as these are not realistic scenarios and
36+
# weird things can happen.
37+
_max_timedelta_microseconds = int(timedelta.max.total_seconds() * 1_000_000 / 10)
4038

41-
_min_timedelta_microseconds = (
42-
int(
43-
timedelta.min.total_seconds() * 1_000_000,
44-
)
45-
+ 1
46-
)
39+
_min_timedelta_microseconds = int(timedelta.min.total_seconds() * 1_000_000 / 10)
4740

4841
_calculate_next_tick_time_args = {
4942
"now": st.integers(),

0 commit comments

Comments
 (0)