@@ -13,7 +13,7 @@ The goal is to detect import errors that can be caused by incompatibilities betw
- #966: isssue importing `pyarrow`
This module checks dynmamically, through the `CondaPackageHelper`, only the specified packages i.e. packages requested by `conda install` in the `Dockerfiles`.
This means that it does not check dependencies. This choice is a tradeoff to cover the main requirements while achieving reasonabe test duration.
This means that it does not check dependencies. This choice is a tradeoff to cover the main requirements while achieving reasonable test duration.
However it could be easily changed (or completed) to cover also dependencies `package_helper.installed_packages()` instead of `package_helper.specified_packages()`.
Example:
...
...
@@ -50,6 +50,7 @@ PACKAGE_MAPPING = {
"beautifulsoup4":"bs4",
"scikit-learn":"sklearn",
"scikit-image":"skimage",
"spylon-kernel":"spylon_kernel1",
# R
"randomforest":"randomForest",
"rsqlite":"DBI",
...
...
@@ -62,11 +63,11 @@ EXCLUDED_PACKAGES = [
"tini",
"python",
"hdf5",
# FIXME: shall be parsed as conda-forge::blas[build=openblas]
"conda-forge::blas[build",
"protobuf",
"r-irkernel",
"unixodbc",
"spylon-kernel",
]
...
...
@@ -78,7 +79,7 @@ def package_helper(container):
@pytest.fixture(scope="function")
defpackages(package_helper):
"""Return the list of specified packages (i.e. packages explicitely installed excluding dependecnies)"""
"""Return the list of specified packages (i.e. packages explicitely installed excluding dependencies)"""