kikit: 1.7.1 -> 1.7.2, python3.pkgs.pcbnewtransition: 0.5.0 -> 0.5.2: Fix kikit build#395213
kikit: 1.7.1 -> 1.7.2, python3.pkgs.pcbnewtransition: 0.5.0 -> 0.5.2: Fix kikit build#395213vcunat merged 3 commits intoNixOS:masterfrom
Conversation
|
I've applied the changes on top of the current After updating the hash it builds. Didn't get the opportunity to test it yet. |
|
Yikes, I don't know how I screwed that up. I don't think upstream has force pushed. Thank you! Fixed. I've confirmed that this still builds and runs. |
|
The previous version did build successfully in CI, so something fishy is going on. EDIT: see e.g. https://github.com/NixOS/nixpkgs/runs/39785855079 |
|
Perhaps |
|
The set of files served for the tag changed. It's hard to be sure what caused it, but all cases I've heard about have been a force-pushed tag. If you didn't GC, you should still have the old src, so you could compare. |
It looks like they've started publishing sdists with lowercase filenames (`pcbnewtransition-X.Y.Z.tar.gz` rather than `pcbnewTransition-X.Y.Z.tar.gz`).
changelog: https://github.com/yaqwsx/KiKit/releases/tag/v1.7.2 This brings in support for KiCAD v9: https://github.com/yaqwsx/KiKit/releases/tag/v1.7.2, as [we upgraded to KiCAD v9 recently](NixOS#384150).
|
Good thought, @vcunat! Here's the diff: diff.nix{
pkgs ? import <nixpkgs> { },
}:
let
version = "1.7.2";
src1 = pkgs.fetchFromGitHub {
owner = "yaqwsx";
repo = "KiKit";
tag = "v${version}";
hash = "sha256-dM4koOoWuwo8vjq6AM+U3PpYFEcg9Xbk1xhAnTiKRpA=";
};
src2 = pkgs.fetchFromGitHub {
owner = "yaqwsx";
repo = "KiKit";
tag = "v${version}";
hash = "sha256-mwe/CajmQD5nDNYtQXRQm4vIJJiY7P5uFrvn8Ngjqc4=";
};
in
pkgs.runCommandNoCC "kikit-diff"
{
buildInputs = [ pkgs.difftastic ];
}
''
difft --skip-unchanged --color=always --display=inline ${src1} ${src2} > $out
''It looks like kikit uses I've added another commit to this PR which hacks around the non-determinism. |
|
|
|
Cross-ref the original culprit: python-versioneer/python-versioneer#217 |
Our kikit build is broken. Upgrading to 1.7.2 brings in support for KiCAD v9:
https://github.com/yaqwsx/KiKit/releases/tag/v1.7.2, as we upgraded to
KiCAD v9 recently.
I've included the pcbnewtransition upgrade in this PR as the new version of kikit depends on
"pcbnewTransition >= 0.5.2, <=0.6": https://github.com/yaqwsx/KiKit/blob/v1.7.2/setup.py#L61.Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.