gdsfactory: 9.20.1 -> 9.32.1; python313Packages.kfactory: 2.0.0 -> 2.3.0 (#485393)

This commit is contained in:
Gaétan Lepage
2026-02-02 12:18:54 +00:00
committed by GitHub
2 changed files with 25 additions and 13 deletions
@@ -5,11 +5,13 @@
# build-system
flit-core,
pythonRelaxDepsHook,
# dependencies
jinja2,
loguru,
matplotlib,
natsort,
numpy,
orjson,
pandas,
@@ -44,24 +46,31 @@
pytest-regressions,
pytestCheckHook,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "gdsfactory";
version = "9.20.1";
version = "9.32.1";
pyproject = true;
src = fetchFromGitHub {
owner = "gdsfactory";
repo = "gdsfactory";
tag = "v${version}";
hash = "sha256-TpMi0Rv6sQA8uAPGl6iR1qgTU7havBlWmdz98DROoSk=";
tag = "v${finalAttrs.version}";
hash = "sha256-uXFH+6uZx+fFo1QfozI/JVomchFlnWx805CwbAj7CPQ=";
};
build-system = [ flit-core ];
build-system = [
flit-core
];
nativeBuildInputs = [
pythonRelaxDepsHook
];
dependencies = [
jinja2
loguru
matplotlib
natsort
numpy
orjson
pandas
@@ -101,6 +110,7 @@ buildPythonPackage rec {
pythonRelaxDeps = [
"pydantic"
"trimesh"
"kfactory"
];
# tests require >32GB of RAM
@@ -111,8 +121,8 @@ buildPythonPackage rec {
meta = {
description = "Python library to generate GDS layouts";
homepage = "https://github.com/gdsfactory/gdsfactory";
changelog = "https://github.com/gdsfactory/gdsfactory/blob/${src.tag}/CHANGELOG.md";
changelog = "https://github.com/gdsfactory/gdsfactory/blob/${finalAttrs.src.tag}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fbeffa ];
};
}
})
@@ -30,22 +30,22 @@
pytestCheckHook,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "kfactory";
version = "2.0.0";
version = "2.3.0";
pyproject = true;
src = fetchFromGitHub {
owner = "gdsfactory";
repo = "kfactory";
tag = "v${version}";
tag = "v${finalAttrs.version}";
# kfactory uses `.git` to infer the project directory.
# https://github.com/gdsfactory/kfactory/blob/v2.0.0/src/kfactory/conf.py#L318-L327
# Otherwise, tests fail with:
# assert kf.config.project_dir is not None
# E AssertionError: assert None is not None
leaveDotGit = true;
hash = "sha256-eZRNUb2Qw2HcR2W1pf15ulEt7ZCJwi60SuGdte/cG8E=";
hash = "sha256-6z2JlndmuegpCAf74YRa/qVVjFOWv1Xy3dabeWlOmbs=";
};
build-system = [
@@ -55,7 +55,9 @@ buildPythonPackage rec {
pythonRelaxDeps = [
"pydantic"
"klayout"
];
dependencies = [
aenum
cachetools
@@ -143,8 +145,8 @@ buildPythonPackage rec {
meta = {
description = "KLayout API implementation of gdsfactory";
homepage = "https://github.com/gdsfactory/kfactory";
changelog = "https://github.com/gdsfactory/kfactory/blob/${src.tag}/CHANGELOG.md";
changelog = "https://github.com/gdsfactory/kfactory/blob/${finalAttrs.src.tag}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fbeffa ];
};
}
})