Skip to content

Bump the python-packages group with 7 updates, plus fixes for gradio 7 and ty 0.0.99 - #709

Open
invisiblefix-bot wants to merge 2 commits into
tue-bmd:mainfrom
invisiblefix-bot:invisiblefix/fix-pr-708
Open

invisiblefix-bot wants to merge 2 commits into
tue-bmd:mainfrom
invisiblefix-bot:invisiblefix/fix-pr-708

Conversation

@invisiblefix-bot

Copy link
Copy Markdown

Supersedes #708. It carries the same Dependabot update (gradio 6.31.0 → 7.0.0.dev0, gradio-client 2.7.2 → 2.8.0.dev0, safehttpx 0.1.7 → 0.2.0, pillow 12.3.0 → 13.0.0, tyro 1.0.16 → 1.0.17, ruff 0.17.3 → 0.17.4, ty 0.0.95 → 0.0.99, ipython 9.18.0 → 9.18.1, pip 26.2.2 → 26.3) plus one fix commit on top, so #708 can be closed if this is merged.

Root cause

  • gradio 7, gradio-client 2.8 and safehttpx 0.2 depend on httpx2 instead of httpx, so httpx is no longer installed. tests/test_preset_utils.py imports it to build fake huggingface_hub errors, so pytest fails at collection (ModuleNotFoundError: No module named 'httpx') in tests, heavy-tests and every notebook-tests job.
  • ty 0.0.99 reports 3 errors that ty 0.0.95 did not: invalid-return-type in zea/data/dataloader.py and unsupported-operator in zea/data/file_operations.py and zea/models/ultrapips.py.

Fix

  • pyproject.toml: add "httpx>=0.28.1" to the tests group. Only the tests import httpx, so the runtime dependencies stay the same. uv lock adds just httpx 0.28.1 and httpcore 1.0.9, the versions main already locks.
  • _metadata_batch_conflicts: the return annotation becomes dict[str, dict[tuple | str, list[str]]], because the function already returns an "absent" string key, as its docstring says.
  • Two numpy-stub false positives get the repo's usual # ty: ignore[unsupported-operator].
  • The runtime code is unchanged, and no test, test config or CI config was changed.

No changelog entry, because users won't notice the change. This needs the same dev label as #708.

Evidence (pytest -m 'not heavy and not notebook' ./tests, as in the tests job; Ubuntu 22.04, Python 3.12.16, uv sync --frozen --group dev --group jax-cpu --group torch-cpu --group tf-cpu)

Commit Run Collected Passed Failed Skipped ty check
main ba022cd4 1 3837 3794 0 43 ✓ 0 errors (ty 0.0.95)
main ba022cd4 2 3837 3794 0 43 ✓
#708 8c564d7a 1 3710 + 1 collection error 0 0 (aborted at collection) 0 ✗ 3 errors (ty 0.0.99)
#708 8c564d7a 2 3710 + 1 collection error 0 0 (aborted at collection) 0 ✗ same 3 errors
fix 7497d2b0 1 3837 3794 0 43 ✓ 0 errors (ty 0.0.99)
fix 7497d2b0 2 3837 3794 0 43 ✓

Head collects 3710 tests and errors on tests/test_preset_utils.py (127 tests), so pytest aborts and no test runs. With the fix, the same 3837 test IDs are collected as on main (identical --collect-only lists). ruff check, ruff format --check and pre-commit pass.

Fix commit: 7497d2b0

On the bot fork, the tests, lint, package and docs jobs pass (run). The heavy-tests and notebook jobs need your self-hosted runners, so they could not run there.

dependabot Bot and others added 2 commits November 11, 2026 14:13
Bumps the python-packages group with 7 updates:

| Package | From | To |
| --- | --- | --- |
| [pillow](https://github.com/python-pillow/Pillow) | `12.3.0` | `13.0.0` |
| [tyro](https://github.com/brentyi/tyro) | `1.0.16` | `1.0.17` |
| [gradio](https://github.com/gradio-app/gradio) | `6.31.0` | `7.0.0.dev0` |
| [ruff](https://github.com/astral-sh/ruff) | `0.17.3` | `0.17.4` |
| [ty](https://github.com/astral-sh/ty) | `0.0.95` | `0.0.99` |
| [ipython](https://github.com/ipython/ipython) | `9.18.0` | `9.18.1` |
| [pip](https://github.com/pypa/pip) | `26.2.2` | `26.3` |


Updates `pillow` from 12.3.0 to 13.0.0
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst)
- [Commits](python-pillow/Pillow@12.3.0...13.0.0)

Updates `tyro` from 1.0.16 to 1.0.17
- [Release notes](https://github.com/brentyi/tyro/releases)
- [Commits](brentyi/tyro@v1.0.16...v1.0.17)

Updates `gradio` from 6.31.0 to 7.0.0.dev0
- [Release notes](https://github.com/gradio-app/gradio/releases)
- [Changelog](https://github.com/gradio-app/gradio/blob/main/CHANGELOG.md)
- [Commits](https://github.com/gradio-app/gradio/compare/gradio@6.31.0...gradio@7.0.0-dev.0)

Updates `ruff` from 0.17.3 to 0.17.4
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](astral-sh/ruff@0.17.3...0.17.4)

Updates `ty` from 0.0.95 to 0.0.99
- [Release notes](https://github.com/astral-sh/ty/releases)
- [Changelog](https://github.com/astral-sh/ty/blob/main/CHANGELOG.md)
- [Commits](astral-sh/ty@0.0.95...0.0.99)

Updates `ipython` from 9.18.0 to 9.18.1
- [Release notes](https://github.com/ipython/ipython/releases)
- [Commits](ipython/ipython@9.18.0...9.18.1)

Updates `pip` from 26.2.2 to 26.3
- [Changelog](https://github.com/pypa/pip/blob/main/NEWS.rst)
- [Commits](pypa/pip@26.2.2...26.3)

---
updated-dependencies:
- dependency-name: pillow
  dependency-version: 13.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: python-packages
- dependency-name: tyro
  dependency-version: 1.0.17
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-packages
- dependency-name: gradio
  dependency-version: 7.0.0.dev0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: python-packages
- dependency-name: ruff
  dependency-version: 0.17.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: python-packages
- dependency-name: ty
  dependency-version: 0.0.99
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: python-packages
- dependency-name: ipython
  dependency-version: 9.18.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: python-packages
- dependency-name: pip
  dependency-version: '26.3'
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: python-packages
...

Signed-off-by: dependabot[bot] <support@github.com>
gradio 7, gradio-client 2.8 and safehttpx 0.2 depend on httpx2 instead of
httpx, so httpx is no longer installed transitively and
tests/test_preset_utils.py, which imports it to build fake huggingface_hub
errors, fails at collection. Declare httpx in the tests dependency group
and lock it (httpx 0.28.1 + httpcore 1.0.9, the versions previously
locked).

ty 0.0.99 reports three new errors. Widen the return annotation of
_metadata_batch_conflicts to include the "absent" str key it already
returns, and silence two numpy-stub false positives with the repo's usual
`# ty: ignore[unsupported-operator]`. No runtime behaviour changes.
@coderabbitai

coderabbitai Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The pull request updates Ruff and ty versions and adds httpx to the test dependencies. It also widens a metadata conflict mapping return type and adds a type-checker suppression to a coordinate-difference expression. The partial-sum accumulation statement is unchanged.

Suggested reviewers: tristan-deep, wesselvannierop

Merge Risk: Minimal · up to 7497d

This change updates lint and test tooling and adjusts type annotations without changing runtime behavior. No actionable merge-blocking risk remains.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the main change, a Dependabot-style bump of the python-packages group with 7 updates. It also names the two follow-up fixes for gradio 7 and ty 0.0.99. The title is accurate but long, …
Description check Passed The description follows the template's intent. It explains what changed and why in bullets, and it links the superseded PR #708. It gives root cause, fix, and test evidence. It does not link an issue,…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the main change, a Dependabot-style bump of the python-packages group with 7 updates. It also names the two follow-up fixes for gradio 7 and ty 0.0.99. The title is accurate but long, at 84 characters. It also says 7 updates, while the description lists 9 packages.

Full details: Description check

Explanation

The description follows the template's intent. It explains what changed and why in bullets, and it links the superseded PR #708. It gives root cause, fix, and test evidence. It does not link an issue, and it does not tick the checklist. It also gives no changelog entry, and it explains why that is omitted. It does not state whether tests were added or docs were updated, although it says no tests were changed. The template asks for a checklist and the description does not address most items. These are gaps in a mostly complete description.

Resolution

Consider adding the checklist items. State whether a docs update or a skip changelog label applies. Mark the pre-commit item as done, since the description reports that it passes. Add a link to an issue if one exists.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 279f3259-a8d4-45b9-8bd7-272f758ed7d4
Commits

Reviewing files that changed from the base of the PR and between ba022cd and 7497d2b.

Files ignored due to path filters: 1

  • uv.lock is excluded by !**/*.lock
Files selected for processing: 4

  • pyproject.toml
  • zea/data/dataloader.py
  • zea/data/file_operations.py
  • zea/models/ultrapips.py

Included review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 1 remain after this review.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant