python3Packages.systembridgemodels: 4.2.4 -> 4.2.5

https://github.com/timmo001/system-bridge-models/releases/tag/4.2.5
This commit is contained in:
Martin Weinelt
2025-09-05 03:37:00 +02:00
parent 6798bd034f
commit c44fb5fb7b
@@ -4,14 +4,13 @@
pythonOlder,
fetchFromGitHub,
setuptools,
incremental,
pytestCheckHook,
syrupy,
}:
buildPythonPackage rec {
pname = "systembridgemodels";
version = "4.2.4";
version = "4.2.5";
pyproject = true;
disabled = pythonOlder "3.11";
@@ -20,25 +19,10 @@ buildPythonPackage rec {
owner = "timmo001";
repo = "system-bridge-models";
tag = version;
hash = "sha256-FjHDd7nI30ChaClL0b1ME9Zv+DV0BiMsfgGOKQF/qBk=";
hash = "sha256-k7QENmfw27qxacB6j1F8ywYfZyQC27PvnkWWQayk310=";
};
postPatch = ''
substituteInPlace requirements_setup.txt \
--replace-fail ">=" " #"
substituteInPlace systembridgemodels/_version.py \
--replace-fail ", dev=0" ""
'';
build-system = [
incremental
setuptools
];
pythonRelaxDeps = [ "incremental" ];
dependencies = [ incremental ];
build-system = [ setuptools ];
pythonImportsCheck = [ "systembridgemodels" ];
@@ -52,6 +36,12 @@ buildPythonPackage rec {
"test_update"
];
disabledTestPaths = [
# https://github.com/timmo001/system-bridge-models/commit/9523179e73b6a13b9987fa861d77bfeeb88203a7
"tests/test_update.py"
"tests/test_version.py"
];
pytestFlags = [ "--snapshot-warn-unused" ];
meta = {