mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
python310Packages.rflink: disable failing test
This commit is contained in:
parent
e680b5cf74
commit
6875230170
@ -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…
Reference in New Issue
Block a user