Skip to content

dependency-report: compare the pinning overrides with conda-forge - #262

Closed
mini-1235 wants to merge 1 commit into
RoboStack:mainfrom
mini-1235:report-pinning-overrides
Closed

mini-1235 wants to merge 1 commit into
RoboStack:mainfrom
mini-1235:report-pinning-overrides

Conversation

@mini-1235

Copy link
Copy Markdown
Contributor

Summary

Adds a Pinning overrides section to the weekly dependency-report issue of every distribution (dependency_report() → report_issue_body() in tools/maintenance.py). It's report only: nothing is changed or opened.

The overrides in shared/pinning/overrides.yaml and the distributions' distro.yaml are mostly temporary holds ("until pyqt6 is rebuilt", "until upstream fixes it"), and nothing tells anyone when they can go. This week two of them were found stale by hand: the zenoh pin (#260) and the Qt holds (#261).

What the section shows

For every override that applies to the distribution:

  • ours (and whether it comes from shared or distro.yaml);
  • what conda-forge pins in the conda-forge-pinning the distribution is on, i.e. what dropping the override would give today. When the newest conda-forge-pinning differs, that's noted too;
  • the newest version on conda-forge;
  • a status: same as conda-forge: can be dropped, conda-forge doesn't pin it, or behind;
  • the comment above the override, so the reason to hold is right next to it.

Keys with several values or selectors (compilers, python, …) are listed but not compared.

Pins that have to match another package

Two pins are checked against the package they must match, and a ⚠️ is shown above the collapsed section when they don't:

Output on main today (lyrical, from a local dry run of dependency_report("lyrical"))

  • ⚠️ qt6_main 6.11.2: conda-forge's newest pyqt6 (6.12.0) is built for qt6-main 6.12.0: move the pin to it, or qt packages and pyqt6 can't be installed together.
  • ⚠️ libzenohc 1.10.1: 1.10.2 is out; libgz-transport is built for it on all 5 platforms, so it can move.
Pinning overrides (shared/pinning/overrides.yaml, distros/lyrical/distro.yaml)

Compared with conda-forge-pinning 2026.10.09.13.11.31 (the one lyrical is on; without its migrations) and the newest versions on conda-forge:

override ours conda-forge pins newest why (comment)
libzenohc 1.10.1 (shared) – 1.10.2 has to match another package, see below
libzenohcxx 1.10.1 (shared) – 1.10.2 has to match another package, see below
lua 5.4 (shared) – 5.5.0 conda-forge doesn't pin it; 5.5.0 is out cartographer was built with lua 5.4.8, otherwise it pulls in 5.5 which leads to conflicts
openexr 3.4 (shared) 3.5 3.5.5 behind: conda-forge pins 3.5, 3.5.5 is out libopencv 5.0.0 builds for openexr 3.5 need qt6-main >= 6.12, but pyqt6 6.11 (via qt6-multimedia 6.11) still requires qt6-main 6.11: stay on openexr 3.4 until pyqt6 is rebuilt
pyqt6 6.11 (shared) – 6.12.0 conda-forge doesn't pin it; 6.12.0 is out conda-forge's newest pyqt6 (6.11.0) still requires qt6-main <6.12, so packages built against the newly released qt6-main 6.12 can't be installed together with python_qt_binding (pyqt6). Pin both to 6.11 until pyqt6 is rebuilt for qt6-main 6.12.
pyqt_builder 1.18 (shared) – 1.21.0 conda-forge doesn't pin it; 1.21.0 is out pyqt-builder 1.20 defaults to sip ABI 12.20 / 13.13, which needs sip >=6.16 (python_qt_binding / qt_gui_cpp keep sip <6.16); 1.18 targets 12.15 / 13.8.
qt6_main 6.11.2 (distro.yaml) 6 6.12.1 has to match another package, see below (conda-forge-pinning 2026.11.29.14.01.37: 6.11)
sip 6.15 (shared) – 6.17.3 conda-forge doesn't pin it; 6.17.3 is out conda-forge published sip 6.16.1 on 2026-09-08, which broke ABI targeting for packages like qt_gui_cpp_sip that build against PyQt-sip's fixed ABI v12 (hit this on humble/jazzy first; rolling also builds qt_gui_cpp via pyqt6/sip so it's equally exposed). Pin back to the last known-good line until upstream fixes it.

Not compared (several values, selectors, or not one package): c_compiler_version, c_stdlib_version, cuda_compiler_version, cxx_compiler_version, fortran_compiler_version, is_python_min, python, python_impl

Pins that have to match another package:

  • ⚠️ qt6_main 6.11.2: conda-forge's newest pyqt6 (6.12.0) is built for qt6-main 6.12.0: move the pin to it, or qt packages and pyqt6 can't be installed together.
  • ⚠️ libzenohc 1.10.1: 1.10.2 is out; libgz-transport is built for it on all 5 platforms, so it can move.

humble and jazzy additionally show their own wxwidgets (3.3.1; conda-forge pins 3.3.3, newest 3.3.4) and xtensor (0.25.0, newest 0.27.2) pins as behind.

Implementation

  • Package data comes from anaconda.org's per-package API (api.anaconda.org/package/conda-forge/<name>): latest version, and each file's subdir and depends. That's about a dozen small requests per run, cached across distributions. The conda-forge-pinning files come from vinca's existing get_latest_pinning_distribution / download_pinning_package.
  • When conda-forge-pinning can't be downloaded, the section says so and the rest of the report is unchanged.
  • The comparison uses the conda-forge-pinning base file, without the distribution's migrations.
  • The issue is still closed when there are no dependency conflicts, so the section is only visible while the report is open. That's the case for all four distributions today.

Testing

  • pixi run test: 86 passed, including 3 new tests in tools/tests/test_override_report.py. They cover the statuses, distribution overrides and null, both coupled checks (ok, move, wait) and the warnings in the issue body, with the network mocked.
  • A local dry run of dependency_report("lyrical") produced the output above. override_report() also ran for humble, jazzy and rolling.
  • pixi run rs check passes.

Only tools/ and the README change, and no package is affected, so this can use the build:none label.


This description was AI-generated with Claude Opus 5.5.

🤖 Generated with Claude Code

Adds a "Pinning overrides" section to the weekly dependency-report issue of
every distribution. Each override (shared/pinning/overrides.yaml and the
distribution's distro.yaml) is shown next to the value of the
conda-forge-pinning the distribution is on (what dropping it would give),
the newest conda-forge-pinning and the newest version on conda-forge, with
the comment explaining it: overrides that can be dropped, keys conda-forge
doesn't pin, pins behind.

Two pins have to match another package exactly and are checked as such,
with a warning shown above the section when they don't:
- qt6_main: the qt6-main conda-forge's newest pyqt6 is built for (pyqt6
  requires qt6-main X.Y.Z.*; RoboStack/ros-lyrical#65).
- libzenohc: whether libgz-transport is built for conda-forge's newest
  libzenohc on all five platforms (none was built for 1.10.0,
  RoboStack/ros-lyrical#41).

Report only: nothing is changed. Package data comes from anaconda.org's
package API; without it the section says so and the report goes on.

Signed-off-by: Maurice <mauricepurnawan@gmail.com>
@mini-1235 mini-1235 closed this Nov 29, 2026
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