Skip to content

chore(deps): combine and fix up dependabot bumps (black 26, mypy 2, pytest 9)#223

Merged
leongdl merged 1 commit into
OpenJobDescription:mainlinefrom
leongdl:dependabot
Jul 2, 2026
Merged

chore(deps): combine and fix up dependabot bumps (black 26, mypy 2, pytest 9)#223
leongdl merged 1 commit into
OpenJobDescription:mainlinefrom
leongdl:dependabot

Conversation

@leongdl

@leongdl leongdl commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Combining and fixing up the three failing dependabot PRs (#218, #219, #222) so they can be closed.

Changes (requirements-testing.txt)

Why the individual PRs were failing

black 26, mypy 2, and pytest 9 all dropped Python 3.9 (they now require >=3.10), but this package supports >=3.9 and tests 3.9 in CI — so pip couldn't install them on the 3.9 job.

Fix: environment markers

Each tool is pinned per Python version so the 3.9 job installs the last 3.9-compatible release and 3.10+ gets the upgraded major:

pytest == 9.1.*; python_version >= "3.10"
pytest == 8.4.*; python_version < "3.10"
black == 26.*; python_version >= "3.10"
black == 25.*; python_version < "3.10"
mypy == 2.1.*; python_version >= "3.10"
mypy == 1.19.*; python_version < "3.10"

Also applied black 26's docstring blank-line reformatting (5 files); verified black 25 agrees with the reformatted tree, so the 3.9 black --check job stays green.

Verification

  • ruff check / black --check — pass
  • mypy (2.1.0) — no issues in 37 source files
  • hatch run test — 289 passed, 2 skipped

Closes #218, closes #219, closes #222.

…ytest 9)

Combines dependabot PRs OpenJobDescription#218, OpenJobDescription#219, OpenJobDescription#222:
- black 25.* -> 26.* (OpenJobDescription#218)
- mypy 1.19.* -> 2.1.* (OpenJobDescription#219)
- pytest 8.4.* -> 9.1.* (OpenJobDescription#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>
@leongdl
leongdl requested a review from a team as a code owner July 2, 2026 01:02

@seant-aws seant-aws left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🍤

seant-aws

This comment was marked as spam.

@leongdl
leongdl merged commit 26b08ef into OpenJobDescription:mainline Jul 2, 2026
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants