Skip to content

[py] Update dev dependencies and multitool binaries#17314

Merged
cgoldberg merged 4 commits intoSeleniumHQ:trunkfrom
cgoldberg:py-update-deps-multitool
Apr 8, 2026
Merged

[py] Update dev dependencies and multitool binaries#17314
cgoldberg merged 4 commits intoSeleniumHQ:trunkfrom
cgoldberg:py-update-deps-multitool

Conversation

@cgoldberg
Copy link
Copy Markdown
Member

@cgoldberg cgoldberg commented Apr 8, 2026

💥 What does this PR do?

This PR is for Python dev/test maintenance (no functional/code changes):

  • updates py/requirements.txt with latest dev/test dependencies
  • generates new py/requirements_lock.txt with updated pinned dependencies and hashes
  • updates binary links and hashes for latest versions in multitool.lock.json
  • updates ruff version in py/pyproject.toml
  • adds --no-strip-extras argument when calling //py:requirements.update bazel target (compile_pip_requirements), because pip-tools will strip dependency "extras" by default starting with version 8.0, and we need to keep them (for urllib3)
  • removes an ignore comment that the new version of mypy (1.20) chokes on

🔄 Types of changes

  • dev/test

@qodo-code-review
Copy link
Copy Markdown
Contributor

Review Summary by Qodo

Update Python dev dependencies and multitool binaries

✨ Enhancement

Grey Divider

Walkthroughs

Description
• Updates dev/test dependencies to latest versions
• Updates multitool binaries (actionlint, ruff) with new releases
• Adds --no-strip-extras flag to pip-tools compilation
• Ensures urllib3 extras are preserved in locked dependencies

Grey Divider

File Changes

1. multitool.lock.json ⚙️ Configuration changes +20/-20

Update actionlint and ruff binary versions

• Updates actionlint from v1.7.11 to v1.7.12 across all platforms
• Updates ruff from 0.15.8 to 0.15.9 across all platforms
• Updates SHA256 hashes for all binary downloads

multitool.lock.json


2. py/requirements.txt Dependencies +8/-8

Update Python dev/test dependencies

• Updates multiple dev dependencies to latest versions
• Notable updates: chardet, charset-normalizer, cryptography, mypy, pytest, requests, tox
• Updates more-itertools from 10.8.0 to 11.0.1

py/requirements.txt


3. py/BUILD.bazel ⚙️ Configuration changes +1/-0

Add no-strip-extras flag to pip compilation

• Adds extra_args = ["--no-strip-extras"] to compile_pip_requirements target
• Prevents pip-tools 8.0+ from stripping dependency extras (urllib3)

py/BUILD.bazel


View more (2)
4. py/pyproject.toml Dependencies +1/-1

Update ruff version

• Updates ruff version from 0.15.8 to 0.15.9

py/pyproject.toml


5. py/requirements_lock.txt Dependencies +376/-356

Regenerate locked dependencies

• Regenerated with updated pinned dependencies and hashes
• Reflects all changes from requirements.txt updates

py/requirements_lock.txt


Grey Divider

Qodo Logo

@selenium-ci selenium-ci added C-py Python Bindings B-build Includes scripting, bazel and CI integrations labels Apr 8, 2026
@qodo-code-review
Copy link
Copy Markdown
Contributor

qodo-code-review bot commented Apr 8, 2026

Code Review by Qodo

🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)

Grey Divider

Great, no issues found!

Qodo reviewed your code and found no material issues that require review

Grey Divider

ⓘ The new review experience is currently in Beta. Learn more

Grey Divider

Qodo Logo

@cgoldberg cgoldberg merged commit 7beae82 into SeleniumHQ:trunk Apr 8, 2026
29 checks passed
@cgoldberg cgoldberg deleted the py-update-deps-multitool branch April 8, 2026 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

B-build Includes scripting, bazel and CI integrations C-py Python Bindings

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants