Merge pull request #266389 from robert-manchester/scikit-rf-fix
python311Packages.scikit-rf: 0.29.0 -> 0.29.1; fix build
This commit is contained in:
@@ -27,12 +27,13 @@
|
||||
, setuptools
|
||||
, pytestCheckHook
|
||||
, pytest-cov
|
||||
, pytest-mock
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "scikit-rf";
|
||||
version = "0.29.0";
|
||||
format = "pyproject";
|
||||
version = "0.29.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
@@ -40,7 +41,7 @@ buildPythonPackage rec {
|
||||
owner = "scikit-rf";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-rBOw1rIEF8Ia6xXlXxVzRRiUxrOjOAlipFuKiL+gRl0=";
|
||||
hash = "sha256-sLE6rcBGUKmk5y7oO06rHON3GVIjcvnKlr6Tgddj64Y=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
@@ -88,6 +89,7 @@ buildPythonPackage rec {
|
||||
coverage
|
||||
flake8
|
||||
pytest-cov
|
||||
pytest-mock
|
||||
nbval
|
||||
matplotlib
|
||||
pyvisa
|
||||
@@ -99,6 +101,12 @@ buildPythonPackage rec {
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
# test_calibration.py generates a divide by zero error on darwin
|
||||
# https://github.com/scikit-rf/scikit-rf/issues/972
|
||||
disabledTestPaths =
|
||||
lib.optional (stdenv.isAarch64 && stdenv.isDarwin)
|
||||
"skrf/calibration/tests/test_calibration.py";
|
||||
|
||||
pythonImportsCheck = [
|
||||
"skrf"
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user