python313Packaes.atopile: 0.2.69 -> 0.3.20

changelog: https://github.com/atopile/atopile/releases/tag/v0.3.20

Changed files
+73 -42
pkgs
development
python-modules
atopile
+73 -42
pkgs/development/python-modules/atopile/default.nix
···
lib,
buildPythonPackage,
fetchFromGitHub,
+
+
cmake,
+
ninja,
# build-system
hatchling,
scikit-build-core,
···
# deps
antlr4-python3-runtime,
attrs,
+
atopile-easyeda2kicad,
+
black,
case-converter,
-
cattrs,
-
click,
-
deepdiff,
-
easyeda2ato,
-
eseries,
-
fake-useragent,
-
fastapi,
+
cookiecutter,
+
dataclasses-json,
+
deprecated,
+
freetype-py,
gitpython,
-
igraph,
-
jinja2,
+
kicadcliwrapper,
+
matplotlib,
+
more-itertools,
natsort,
-
networkx,
+
numpy,
pandas,
+
pathvalidate,
pint,
+
posthog,
+
psutil,
+
pydantic-settings,
pygls,
-
quart-cors,
-
quart-schema,
-
quart,
+
questionary,
rich,
ruamel-yaml,
-
schema,
-
scipy,
+
ruff,
semver,
-
toolz,
+
sexpdata,
+
shapely,
+
typer,
urllib3,
-
uvicorn,
-
watchfiles,
-
pyyaml,
+
pythonOlder,
+
# tests
pytestCheckHook,
pytest-xdist,
pytest-timeout,
+
hypothesis,
}:
buildPythonPackage rec {
pname = "atopile";
-
version = "0.2.69";
+
version = "0.3.24";
pyproject = true;
+
+
disabled = pythonOlder "3.12";
src = fetchFromGitHub {
owner = "atopile";
repo = "atopile";
tag = "v${version}";
-
hash = "sha256-mQYnaWch0lVzz1hV6WboYxBGe3ruw+mK2AwMx13DQJM=";
+
hash = "sha256-erHgjzg+nODEU4WzD3aP3UAv+K59SVEjpDs8VX/RFE0=";
};
build-system = [
···
nanobind
];
+
dontUseCmakeConfigure = true; # skip cmake configure invocation
+
+
nativeBuildInputs = [
+
cmake
+
ninja
+
];
+
dependencies = [
antlr4-python3-runtime
attrs
+
atopile-easyeda2kicad
+
black # used as a dependency
case-converter
-
cattrs
-
click
-
deepdiff
-
easyeda2ato
-
eseries
-
fake-useragent
-
fastapi
+
cookiecutter
+
dataclasses-json
+
deprecated
+
freetype-py
gitpython
-
igraph
-
jinja2
+
kicadcliwrapper
+
matplotlib
+
more-itertools
natsort
-
networkx
+
numpy
pandas
+
pathvalidate
pint
+
posthog
+
psutil
+
pydantic-settings
pygls
-
quart-cors
-
quart-schema
-
quart
+
questionary
rich
ruamel-yaml
-
schema
-
scipy
+
ruff
semver
-
toolz
+
sexpdata
+
shapely
+
typer
urllib3
-
uvicorn
-
watchfiles
-
pyyaml # required for ato
];
-
pythonRelaxDeps = [ "antlr4-python3-runtime" ];
+
preBuild = ''
+
substituteInPlace pyproject.toml \
+
--replace-fail "scikit-build-core==0.9.2" "scikit-build-core>=0.9.2"
+
'';
+
+
pythonRelaxDeps = [
+
"black"
+
"psutil"
+
"posthog"
+
];
pythonImportsCheck = [ "atopile" ];
preCheck = ''
+
# do not report worker logs to filee
+
substituteInPlace test/conftest.py \
+
--replace-fail "worker_id =" "worker_id = None #"
+
substituteInPlace pyproject.toml \
--replace-fail "--html=artifacts/test-report.html" "" \
--replace-fail "--self-contained-html" ""
···
pytestCheckHook
pytest-xdist
pytest-timeout
+
hypothesis
];
+
doCheck = false; # test are hanging
+
meta = {
description = "Design circuit boards with code";
-
homepage = "https://aiopg.readthedocs.io/";
+
homepage = "https://atopile.io";
downloadPage = "https://github.com/atopile/atopile";
changelog = "https://github.com/atopile/atopile/releases/tag/${src.rev}";
license = with lib.licenses; [ mit ];