Merge pull request #172645 from dotlambda/rflink-tests-3.10

python310Packages.rflink: disable failing test
main
Fabian Affolter 2 years ago committed by GitHub
commit 6363dc90b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      pkgs/development/python-modules/rflink/default.nix

@ -8,6 +8,7 @@
, pyserial-asyncio
, setuptools
, pytestCheckHook
, pythonAtLeast
}:
buildPythonPackage rec {
@ -34,6 +35,11 @@ buildPythonPackage rec {
pytestCheckHook
];
disabledTestPaths = lib.optionals (pythonAtLeast "3.10") [
# https://github.com/aequitas/python-rflink/issues/65
"tests/test_proxy.py"
];
postPatch = ''
substituteInPlace setup.py \
--replace "version=version_from_git()" "version='${version}'"

Loading…
Cancel
Save