Skip to content

Commit 26b08ef

Browse files
committed
chore(deps): combine and fix up dependabot bumps (black 26, mypy 2, pytest 9)
Combines dependabot PRs #218, #219, #222: - black 25.* -> 26.* (#218) - mypy 1.19.* -> 2.1.* (#219) - pytest 8.4.* -> 9.1.* (#222) black 26, mypy 2, and pytest 9 all dropped Python 3.9 (require >=3.10). Pinned via environment markers so the 3.9 CI job installs the last 3.9-compatible versions while 3.10+ gets the upgraded majors. Applied black 26 reformatting (docstring blank-line rule); verified black 25 agrees with the reformatted tree. Verified: ruff, black, mypy 2.1.0, and 289 unit tests pass. Signed-off-by: David Leong <116610336+leongdl@users.noreply.github.com>
1 parent c3b5cd1 commit 26b08ef

6 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/scripts/get_latest_changelog.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
3030
```
3131
"""
32+
3233
import re
3334

3435
h2 = r"^##\s.*$"

hatch_version_hook.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
from hatchling.builders.hooks.plugin.interface import BuildHookInterface
88
from typing import Any, Optional
99

10-
1110
_logger = logging.Logger(__name__, logging.INFO)
1211
_stdout_handler = logging.StreamHandler(sys.stdout)
1312
_stdout_handler.addFilter(lambda record: record.levelno <= logging.INFO)

requirements-testing.txt

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
coverage[toml] == 7.*
2-
pytest == 8.4.*
2+
pytest == 9.1.*; python_version >= "3.10"
3+
pytest == 8.4.*; python_version < "3.10"
34
pytest-cov == 7.1.*
45
pytest-timeout == 2.4.*
56
pytest-xdist == 3.8.*
67
types-PyYAML == 6.*
7-
black == 25.*
8-
mypy == 1.19.*
8+
black == 26.*; python_version >= "3.10"
9+
black == 25.*; python_version < "3.10"
10+
mypy == 2.1.*; python_version >= "3.10"
11+
mypy == 1.19.*; python_version < "3.10"
912
ruff == 0.15.*

src/openjd/__main__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,4 @@
22

33
from .cli._create_argparser import main
44

5-
65
main()

src/openjd/cli/_create_argparser.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
from ._run import populate_argparser as populate_run_subparser
1515
from ._schema import populate_argparser as populate_schema_subparser
1616

17-
1817
# Our CLI subcommand construction requires that all leaf subcommands define a default
1918
# 'func' property which is a Callable[[],None] that implements the subcommand.
2019
# After parsing, we call that `func` argument of the resulting args object.

test/openjd/cli/test_run_command.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
from openjd.cli._run._local_session._session_manager import LoggingTimestampFormat
2424
from openjd.sessions import LOG as SessionsLogger, PathMappingRule, PathFormat
2525

26-
2726
PARAMETRIZE_CASES: tuple = (
2827
pytest.param(
2928
"basic.yaml",

0 commit comments

Comments
 (0)