Skip to content

librelane: 3.0.4 -> 3.0.8 - #551846

Merged
GaetanLepage merged 2 commits into
NixOS:masterfrom
gonsolo:librelane-3.0.8
Aug 13, 2026
Merged

librelane: 3.0.4 -> 3.0.8#551846
GaetanLepage merged 2 commits into
NixOS:masterfrom
gonsolo:librelane-3.0.8

Conversation

@gonsolo

@gonsolo gonsolo commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Summary

Update librelane from 3.0.4 to 3.0.8.

Changelog: https://github.com/librelane/librelane/releases/tag/3.0.8

Pre-existing, unrelated blocker

Same as #551828: librelane wraps openroad into its runtime PATH (postFixup), so
building it pulls in openroad's or-tools buildInput, which is currently
meta.broken = true on the default toolchain (python3.pythonAtLeast "3.14"). This is
unrelated to librelane itself and pre-existing on master regardless of this bump; see
#551828 for the full diagnosis (real pybind11 2.13.6/Python 3.14 test failure, plus a
second, independent pkg_resources/setuptools deprecation issue even under Python 3.13).

Verified librelane itself (Python packaging, postInstall, wrapProgram) builds and
wraps cleanly by scoping past the unrelated or-tools blocker for local verification
(or-tools on python3.13 with its own unrelated doCheck skipped) — build succeeded,
pythonImportsCheckPhase passed.

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, [pkgs/README.md], maintainers/README.md and other READMEs.
  • Follows the automation/AI policy.

AI disclosure: this PR description and the git/gh mechanics (branch, commit, push, PR
creation) were drafted/executed with the assistance of Claude Code (Claude Sonnet 5); see
the Assisted-by: trailer on the commit. The version bump was produced via nix-update.

Assisted-by: Claude Code (Claude Sonnet 5)
@nixpkgs-ci nixpkgs-ci Bot added 8.has: package (update) This PR updates a package to a newer version 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. 9.needs: reviewer This PR currently has no reviewers requested and needs attention. llm-assisted Contributions that include code generation with LLMs labels Aug 12, 2026
@gonsolo
gonsolo requested a review from GaetanLepage August 12, 2026 14:44
Comment thread pkgs/by-name/li/librelane/package.nix
Comment thread pkgs/by-name/li/librelane/package.nix
@nixpkgs-ci nixpkgs-ci Bot removed the 9.needs: reviewer This PR currently has no reviewers requested and needs attention. label Aug 12, 2026
Add __structuredAttrs = true.

Assisted-by: Claude Code (Claude Sonnet 5)
@gonsolo

gonsolo commented Aug 12, 2026

Copy link
Copy Markdown
Contributor Author

@GaetanLepage re: `pythonRelaxDeps = [ "click" ]` — yes, still needed: librelane 3.0.8's own `pyproject.toml` pins `click>=8,<8.3`, but nixpkgs currently pins `click` at 8.3.3, which is outside that range. Without the relax it'd fail dependency resolution.

Also pushed `__structuredAttrs = true` per your other suggestion.

@GaetanLepage

Copy link
Copy Markdown
Contributor

Man, I (personally) have absolutely no issue with you using agents to help you with nixpkgs contributions.
However, please, consider taking the time to handle human-to-human communication by yourself ;)

@GaetanLepage
GaetanLepage added this pull request to the merge queue Aug 13, 2026
Merged via the queue into NixOS:master with commit be13fdf Aug 13, 2026
26 checks passed
gonsolo added a commit to gonsolo/Borg that referenced this pull request Aug 17, 2026
klayout 0.30.7 (the previous pin) silently misses a real DRC violation
(GR.2, sealring corner geometry) that 0.30.10 correctly catches -- traced
by isolating the exact KLayout release across three toolchains while
investigating wafer-space/gf180mcu-project-template#77. librelane bumps
to 3.0.8 along the way (requested once NixOS/nixpkgs#551846 merged).

yosys is 0.68 at this pin, which fixes the autoname O(iterations x module
size) blowup upstream (YosysHQ/yosys#6050), so the local yosysFixed patch
and its packages.${system} export are no longer needed.

Pinned nixpkgs just past NixOS/nixpkgs#551902 (sv-lang_10 fix for fmt 12)
rather than a same-day master commit or the nixos-unstable channel
pointer -- the latter predates that fix by ~8h and hits the exact
sv-lang build failure it resolves; a bleeding-edge commit has had no
time to build/cache upstream at all.

nixpkgs' own default python3 is 3.14 here, which breaks two of our
deps with no released fix yet:
- or-tools (openroad's dependency, transitively librelane's): its
  meta.broken is conditioned on pythonAtLeast "3.14" (real pybind11
  test failures, NixOS/nixpkgs#551898 still open). Overridden back to
  python313 directly on that one package rather than the whole set, so
  openroad/librelane/klayout/yosys/pythonEnv all stay on nixpkgs' own
  default and keep hitting the binary cache. Also disables or-tools'
  own checkPhase: even on 3.13 it has one unrelated failure
  (python_contrib_check_dependencies, a stale pkg_resources/setuptools
  deprecation check -- 610/611 other tests pass), the same workaround
  NixOS/nixpkgs#551846's author used.
- cocotb: no released Python 3.14 support upstream (cocotb/cocotb's
  setup.py hard-caps at 3.13; 3.14 support exists only on cocotb's
  unreleased master). Pinned to python313Packages.cocotb as its own
  nativeBuildInputs entry rather than folded into pythonEnv -- it
  doesn't need to share an interpreter with anything else, since
  test/soc/Makefile drives it via `cocotb-config --makefiles`, which
  points at cocotb's own bundled interpreter internally.

Also: p.peakrdl -> p.peakrdl-cli (upstream rename), and beamer added to
borgTexlive for docs/talk (ORConf 2026 slides, next commit).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018nC29cmxJCM5eiBBmWNY9q
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

8.has: package (update) This PR updates a package to a newer version 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. llm-assisted Contributions that include code generation with LLMs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants