kikit: pin solidpython to setuptools_80, patch for numpy2 changes

This commit is contained in:
Ryan Omasta
2026-07-13 00:05:26 -06:00
parent 6cdc7fc76e
commit 784efc9aef
2 changed files with 12 additions and 2 deletions
+9
View File
@@ -4,6 +4,7 @@
lib,
bats,
fetchFromGitHub,
fetchpatch,
python,
buildPythonApplication,
callPackage,
@@ -47,6 +48,14 @@ buildPythonApplication (finalAttrs: {
'';
};
patches = [
(fetchpatch {
name = "fix-stencil-arc-numpy2.patch";
url = "https://github.com/yaqwsx/KiKit/commit/036ca08fc380dd2c5b8b3ba2adc4215f4114e975.patch?full_index=1";
hash = "sha256-AmvH822nAubqVhl1PEKvE0Ij/K0NrBsSvnMUJXgxmfI=";
})
];
build-system = [
setuptools
];
@@ -7,7 +7,7 @@
poetry-core,
prettytable,
ply,
setuptools,
setuptools_80,
euclid3,
}:
buildPythonPackage (finalAttrs: {
@@ -28,7 +28,8 @@ buildPythonPackage (finalAttrs: {
propagatedBuildInputs = [
ply
setuptools
# Pinned to v80 due to pkg_resources removal, see https://github.com/SolidCode/SolidPython/issues/216
setuptools_80
euclid3
prettytable