python3Packages.atopile: skip failing test, cleanup (#477314)

This commit is contained in:
Matt Sturgeon
2026-01-06 00:43:47 +00:00
committed by GitHub
@@ -58,9 +58,10 @@
pytest-xdist,
hypothesis,
writableTmpDirAsHomeHook,
versionCheckHook,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "atopile";
version = "0.12.4";
pyproject = true;
@@ -70,7 +71,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "atopile";
repo = "atopile";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-SB6D1738t3kQJI+V9ClVsByHm6BsLl078N/wDAHJE6E=";
};
@@ -143,7 +144,9 @@ buildPythonPackage rec {
pytest-datafiles
pytest-timeout
hypothesis
versionCheckHook
];
versionCheckProgramArg = "--version";
preCheck = ''
# do not report worker logs to filee
@@ -185,6 +188,7 @@ buildPythonPackage rec {
disabledTests = [
# timeout
"test_build_error_logging"
"test_can_evaluate_literals"
"test_examples_build"
"test_net_names_deterministic"
"test_performance_mifs_bus_params"
@@ -224,9 +228,9 @@ buildPythonPackage rec {
description = "Design circuit boards with code";
homepage = "https://atopile.io";
downloadPage = "https://github.com/atopile/atopile";
changelog = "https://github.com/atopile/atopile/releases/tag/${src.tag}";
changelog = "https://github.com/atopile/atopile/releases/tag/${finalAttrs.src.tag}";
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ sigmanificient ];
mainProgram = "ato";
};
}
})