Loading pkgs/development/python-modules/cyclonedds-python/default.nix +14 −1 Original line number Diff line number Diff line Loading @@ -10,11 +10,12 @@ pytestCheckHook, pytest-mock, pytest-cov-stub, pythonOlder, }: buildPythonPackage rec { pname = "cyclonedds-python"; version = "0.10.5"; version = "0.11.0"; pyproject = true; src = fetchFromGitHub { Loading @@ -27,8 +28,17 @@ buildPythonPackage rec { postPatch = '' substituteInPlace pyproject.toml \ --replace-fail "pytest-cov" "" '' + lib.optionalString (!pythonOlder "3.13") '' substituteInPlace clayer/pysertype.c \ --replace-fail "_Py_IsFinalizing()" "Py_IsFinalizing()" ''; disabledTests = lib.optionals (!pythonOlder "3.13") [ "test_dynamic_subscribe_complex" "test_dynamic_publish_complex" ]; build-system = [ setuptools ]; buildInputs = [ cyclonedds ]; Loading @@ -36,6 +46,7 @@ buildPythonPackage rec { dependencies = [ rich-click ]; env.CYCLONEDDS_HOME = "${cyclonedds.out}"; env.NIX_CFLAGS_COMPILE = "-Wno-error=discarded-qualifiers"; nativeCheckInputs = [ pytestCheckHook Loading @@ -43,6 +54,8 @@ buildPythonPackage rec { pytest-cov-stub ]; disabled = (!pythonOlder "3.14"); meta = { description = "Python binding for Eclipse Cyclone DDS"; homepage = "https://github.com/eclipse-cyclonedds/cyclonedds-python"; Loading Loading
pkgs/development/python-modules/cyclonedds-python/default.nix +14 −1 Original line number Diff line number Diff line Loading @@ -10,11 +10,12 @@ pytestCheckHook, pytest-mock, pytest-cov-stub, pythonOlder, }: buildPythonPackage rec { pname = "cyclonedds-python"; version = "0.10.5"; version = "0.11.0"; pyproject = true; src = fetchFromGitHub { Loading @@ -27,8 +28,17 @@ buildPythonPackage rec { postPatch = '' substituteInPlace pyproject.toml \ --replace-fail "pytest-cov" "" '' + lib.optionalString (!pythonOlder "3.13") '' substituteInPlace clayer/pysertype.c \ --replace-fail "_Py_IsFinalizing()" "Py_IsFinalizing()" ''; disabledTests = lib.optionals (!pythonOlder "3.13") [ "test_dynamic_subscribe_complex" "test_dynamic_publish_complex" ]; build-system = [ setuptools ]; buildInputs = [ cyclonedds ]; Loading @@ -36,6 +46,7 @@ buildPythonPackage rec { dependencies = [ rich-click ]; env.CYCLONEDDS_HOME = "${cyclonedds.out}"; env.NIX_CFLAGS_COMPILE = "-Wno-error=discarded-qualifiers"; nativeCheckInputs = [ pytestCheckHook Loading @@ -43,6 +54,8 @@ buildPythonPackage rec { pytest-cov-stub ]; disabled = (!pythonOlder "3.14"); meta = { description = "Python binding for Eclipse Cyclone DDS"; homepage = "https://github.com/eclipse-cyclonedds/cyclonedds-python"; Loading