fusesoc: 2.2.1 -> 2.4.5; enable tests (#476946)

This commit is contained in:
Sandro
2026-01-18 18:49:58 +00:00
committed by GitHub
+32 -7
View File
@@ -5,30 +5,55 @@
iverilog,
verilator,
gnumake,
gitMinimal,
openssh,
writableTmpDirAsHomeHook,
}:
python3Packages.buildPythonPackage rec {
python3Packages.buildPythonApplication rec {
pname = "fusesoc";
version = "2.2.1";
format = "setuptools";
version = "2.4.5";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-M36bXBgY8hR33AVDlHoH8PZJG2Bi0KOEI07IMns7R4w=";
hash = "sha256-VBjJ7wiEz441iVquLMGabtdYbK07+dtHY05x8QzdSL8=";
};
nativeBuildInputs = with python3Packages; [ setuptools-scm ];
build-system = with python3Packages; [
setuptools
setuptools-scm
];
dependencies = with python3Packages; [
edalize
fastjsonschema
pyparsing
pyyaml
simplesat
ipyxact
fastjsonschema
argcomplete
];
nativeCheckInputs = [
gitMinimal
openssh
python3Packages.pytestCheckHook
writableTmpDirAsHomeHook
];
pythonImportsCheck = [ "fusesoc" ];
disabledTestPaths = [
# These tests require network access
"tests/test_coremanager.py::test_export"
"tests/test_libraries.py::test_library_add"
"tests/test_libraries.py::test_library_update_with_initialize"
"tests/test_provider.py::test_git_provider"
"tests/test_provider.py::test_github_provider"
"tests/test_provider.py::test_url_provider"
"tests/test_usecases.py::test_git_library_with_default_branch_is_added_and_updated"
"tests/test_usecases.py::test_update_git_library_with_fixed_version"
];
makeWrapperArgs = [
"--suffix PATH : ${
lib.makeBinPath [