lol
fork

Configure Feed

Select the types of activity you want to include in your feed.

python3Packages.pycyphal: fixes

Sarah Clark e395aef9 01e6f137

+25 -11
+25 -11
pkgs/development/python-modules/pycyphal/default.nix
··· 2 2 lib, 3 3 buildPythonPackage, 4 4 fetchFromGitHub, 5 - pythonOlder, 6 - python-can, 5 + 6 + # build system 7 + setuptools, 8 + 9 + # dependencies 10 + numpy, 11 + nunavut, 12 + 13 + # optional dependencies 7 14 cobs, 8 15 libpcap, 9 - nunavut, 10 - numpy, 11 16 pyserial, 12 - pytestCheckHook, 17 + python-can, 18 + 19 + # tests 13 20 pytest-asyncio, 21 + pytestCheckHook, 14 22 }: 15 23 16 24 buildPythonPackage rec { 17 25 pname = "pycyphal"; 18 26 version = "1.18.0"; 19 - format = "setuptools"; 20 - 21 - disabled = pythonOlder "3.8"; 27 + pyproject = true; 22 28 23 29 src = fetchFromGitHub { 24 30 owner = "OpenCyphal"; ··· 28 34 fetchSubmodules = true; 29 35 }; 30 36 31 - propagatedBuildInputs = [ 37 + build-system = [ setuptools ]; 38 + 39 + pythonRelaxDeps = [ "numpy" ]; 40 + 41 + dependencies = [ 32 42 numpy 33 43 nunavut 34 44 ]; ··· 67 77 disabledTestPaths = [ 68 78 "pycyphal/application/__init__.py" 69 79 "pycyphal/application/_transport_factory.py" 70 - "pycyphal/transport/udp/_ip/_link_layer.py" 71 - "pycyphal/transport/udp/_ip/_v4.py" 80 + "pycyphal/application/register/backend/dynamic.py" 81 + "pycyphal/application/register/backend/static.py" 82 + "pycyphal/transport/udp" 72 83 "tests/application" 73 84 "tests/demo" 74 85 "tests/dsdl" 75 86 "tests/presentation" 76 87 "tests/transport" 88 + # These are flaky -- test against string representations of values 89 + "pycyphal/application/register/_registry.py" 90 + "pycyphal/application/register/_value.py" 77 91 ]; 78 92 79 93 pythonImportsCheck = [ "pycyphal" ];