python312Packages.jsonconversion: relax numpy

This commit is contained in:
Fabian Affolter
2025-01-13 23:19:03 +01:00
parent 0a85603e5f
commit a18259add7
@@ -2,9 +2,10 @@
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
pdm-backend,
numpy,
pdm-backend,
pytestCheckHook,
pythonOlder,
setuptools,
}:
@@ -13,6 +14,8 @@ buildPythonPackage rec {
version = "1.0.1";
pyproject = true;
disabled = pythonOlder "3.11";
src = fetchFromGitHub {
owner = "DLR-RM";
repo = "python-jsonconversion";
@@ -20,15 +23,15 @@ buildPythonPackage rec {
hash = "sha256-XmAQXu9YkkMUvpf/QVk4u1p8UyNfRb0NeoLxC1evCT4=";
};
build-system = [
pdm-backend
];
build-system = [ pdm-backend ];
pythonRemoveDeps = [
"pytest-runner"
"pytest"
];
pythonRelaxDeps = [ "numpy" ];
dependencies = [
numpy
setuptools
@@ -41,7 +44,8 @@ buildPythonPackage rec {
meta = with lib; {
description = "This python module helps converting arbitrary Python objects into JSON strings and back";
homepage = "https://github.com/DLR-RM/python-jsonconversion";
changelog = "https://github.com/DLR-RM/python-jsonconversion/releases/tag/${version}";
license = licenses.bsd2;
maintainers = [ maintainers.terlar ];
maintainers = with maintainers; [ terlar ];
};
}