Skip to content

chore(deps): bump pytest, black, mypy, hypothesis with Py39 compat#307

Merged
jericht merged 1 commit into
mainlinefrom
chore/bump-deps-py39-compat
Jul 9, 2026
Merged

chore(deps): bump pytest, black, mypy, hypothesis with Py39 compat#307
jericht merged 1 commit into
mainlinefrom
chore/bump-deps-py39-compat

Conversation

@jericht

@jericht jericht commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Supersedes #300, #301, #302, #303.

Reformatting changes only

This PR only contains reformatting changes due to the black upgrade

What was the problem/requirement? (What/Why)

Some dependabot PRs are failing due to py39 not being supported by our deps. We need to update the deps still and pin py39 versions to the last supported ones

What was the solution? (How)

Update dev dependencies to their latest versions while maintaining Python 3.9 support via environment markers:

  • pytest: 8.4.* -> 9.1.* (Py39 stays on 8.4.*)
  • black: 25.* -> 26.* (Py39 stays on 25.*)
  • mypy: 1.19.* -> 2.2.* (Py39 stays on 1.19.*)
  • hypothesis: ~=6.0 -> ~=6.156 (Py39 gets ~=6.141)

All four packages dropped Python 3.9 support in their latest major releases. This uses the same conditional pattern as openjd-cli.

Also had to reformat the files due to new black version

What is the impact of this change?

Updated dependencies

How was this change tested?

CI passes

Was this change documented?

No

Is this a breaking change?

No

Does this change impact security?

No


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@jericht
jericht force-pushed the chore/bump-deps-py39-compat branch 3 times, most recently from 2ecdcbe to 23fe811 Compare July 9, 2026 00:11
@jericht
jericht marked this pull request as ready for review July 9, 2026 00:12
@jericht
jericht requested a review from a team as a code owner July 9, 2026 00:12
seant-aws
seant-aws previously approved these changes Jul 9, 2026

@seant-aws seant-aws left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

💾

leongdl
leongdl previously approved these changes Jul 9, 2026
wyongzhi
wyongzhi previously approved these changes Jul 9, 2026
Update dev dependencies to their latest versions while maintaining
Python 3.9 support via environment markers:

- pytest: 8.4.* -> 9.1.* (Py39 stays on 8.4.*)
- black: 25.* -> 26.* (Py39 stays on 25.*)
- mypy: 1.19.* -> 2.2.* (Py39 stays on 1.19.*)
- hypothesis: ~=6.0 -> ~=6.156 (Py39 gets ~=6.141)

All four packages dropped Python 3.9 support in their latest major
releases. This uses the same conditional pattern as openjd-cli.

Supersedes #300, #301, #302, #303.

Signed-off-by: Jericho Tolentino <68654047+jericht@users.noreply.github.com>
@jericht
jericht dismissed stale reviews from wyongzhi, leongdl, and seant-aws via 0a3118d July 9, 2026 00:24
@jericht
jericht force-pushed the chore/bump-deps-py39-compat branch from 23fe811 to 0a3118d Compare July 9, 2026 00:24
@jericht
jericht enabled auto-merge (squash) July 9, 2026 00:32
@jericht
jericht merged commit eb15791 into mainline Jul 9, 2026
31 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.

4 participants