1.2.1: cannot build documentation without installing module

### Describe the bug

Looks like something is wrong and I cannot build docuemtation without installing module.


### Steps/Code to Reproduce

N/A

### Expected Results

It should be possible to build documentation out of only what is in source tree a d withoit have installed module.

### Actual Results

<details>

```console
++ ls -1d lib.linux-x86_64-cpython-38
+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILD/scikit-learn-1.2.1/build/lib.linux-x86_64-cpython-38
+ PBR_VERSION=1.2.1
+ PDM_PEP517_SCM_VERSION=1.2.1
+ SETUPTOOLS_SCM_PRETEND_VERSION=1.2.1
+ /usr/bin/sphinx-build -n -T -b man doc build/sphinx/man
Running Sphinx v6.1.3

Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/scikit-learn-1.2.1/sklearn/__check_build/__init__.py", line 48, in <module>
    from ._check_build import check_build  # noqa
ModuleNotFoundError: No module named 'sklearn.__check_build._check_build'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/sphinx/config.py", line 351, in eval_config_file
    exec(code, namespace)  # NoQA: S102
  File "/home/tkloczko/rpmbuild/BUILD/scikit-learn-1.2.1/doc/conf.py", line 20, in <module>
    from sklearn.externals._packaging.version import parse
  File "/home/tkloczko/rpmbuild/BUILD/scikit-learn-1.2.1/sklearn/__init__.py", line 81, in <module>
    from . import __check_build  # noqa: F401
  File "/home/tkloczko/rpmbuild/BUILD/scikit-learn-1.2.1/sklearn/__check_build/__init__.py", line 50, in <module>
    raise_build_error(e)
  File "/home/tkloczko/rpmbuild/BUILD/scikit-learn-1.2.1/sklearn/__check_build/__init__.py", line 31, in raise_build_error
    raise ImportError(
ImportError: No module named 'sklearn.__check_build._check_build'
___________________________________________________________________________
Contents of /home/tkloczko/rpmbuild/BUILD/scikit-learn-1.2.1/sklearn/__check_build:
__init__.py               _check_build.pyx          _check_build.c
__pycache__
___________________________________________________________________________
It seems that scikit-learn has not been built correctly.

If you have installed scikit-learn from source, please do not forget
to build the package before using it: run `python setup.py install` or
`make` in the source directory.

If you have used an installer, please check that it is suited for your
Python version, your operating system and your platform.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/sphinx/cmd/build.py", line 279, in build_main
    app = Sphinx(args.sourcedir, args.confdir, args.outputdir,
  File "/usr/lib/python3.8/site-packages/sphinx/application.py", line 202, in __init__
    self.config = Config.read(self.confdir, confoverrides or {}, self.tags)
  File "/usr/lib/python3.8/site-packages/sphinx/config.py", line 173, in read
    namespace = eval_config_file(filename, tags)
  File "/usr/lib/python3.8/site-packages/sphinx/config.py", line 364, in eval_config_file
    raise ConfigError(msg % traceback.format_exc()) from exc
sphinx.errors.ConfigError: There is a programmable error in your configuration file:

Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/scikit-learn-1.2.1/sklearn/__check_build/__init__.py", line 48, in <module>
    from ._check_build import check_build  # noqa
ModuleNotFoundError: No module named 'sklearn.__check_build._check_build'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/sphinx/config.py", line 351, in eval_config_file
    exec(code, namespace)  # NoQA: S102
  File "/home/tkloczko/rpmbuild/BUILD/scikit-learn-1.2.1/doc/conf.py", line 20, in <module>
    from sklearn.externals._packaging.version import parse
  File "/home/tkloczko/rpmbuild/BUILD/scikit-learn-1.2.1/sklearn/__init__.py", line 81, in <module>
    from . import __check_build  # noqa: F401
  File "/home/tkloczko/rpmbuild/BUILD/scikit-learn-1.2.1/sklearn/__check_build/__init__.py", line 50, in <module>
    raise_build_error(e)
  File "/home/tkloczko/rpmbuild/BUILD/scikit-learn-1.2.1/sklearn/__check_build/__init__.py", line 31, in raise_build_error
    raise ImportError(
ImportError: No module named 'sklearn.__check_build._check_build'
___________________________________________________________________________
Contents of /home/tkloczko/rpmbuild/BUILD/scikit-learn-1.2.1/sklearn/__check_build:
__init__.py               _check_build.pyx          _check_build.c
__pycache__
___________________________________________________________________________
It seems that scikit-learn has not been built correctly.

If you have installed scikit-learn from source, please do not forget
to build the package before using it: run `python setup.py install` or
`make` in the source directory.

If you have used an installer, please check that it is suited for your
Python version, your operating system and your platform.


Configuration error:
There is a programmable error in your configuration file:

Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/scikit-learn-1.2.1/sklearn/__check_build/__init__.py", line 48, in <module>
    from ._check_build import check_build  # noqa
ModuleNotFoundError: No module named 'sklearn.__check_build._check_build'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/sphinx/config.py", line 351, in eval_config_file
    exec(code, namespace)  # NoQA: S102
  File "/home/tkloczko/rpmbuild/BUILD/scikit-learn-1.2.1/doc/conf.py", line 20, in <module>
    from sklearn.externals._packaging.version import parse
  File "/home/tkloczko/rpmbuild/BUILD/scikit-learn-1.2.1/sklearn/__init__.py", line 81, in <module>
    from . import __check_build  # noqa: F401
  File "/home/tkloczko/rpmbuild/BUILD/scikit-learn-1.2.1/sklearn/__check_build/__init__.py", line 50, in <module>
    raise_build_error(e)
  File "/home/tkloczko/rpmbuild/BUILD/scikit-learn-1.2.1/sklearn/__check_build/__init__.py", line 31, in raise_build_error
    raise ImportError(
ImportError: No module named 'sklearn.__check_build._check_build'
___________________________________________________________________________
Contents of /home/tkloczko/rpmbuild/BUILD/scikit-learn-1.2.1/sklearn/__check_build:
__init__.py               _check_build.pyx          _check_build.c
__pycache__
___________________________________________________________________________
It seems that scikit-learn has not been built correctly.

If you have installed scikit-learn from source, please do not forget
to build the package before using it: run `python setup.py install` or
`make` in the source directory.

If you have used an installer, please check that it is suited for your
Python version, your operating system and your platform.
```
</details>

### Versions

```shell
1.2.1
```

COMMENT:
Gentle ping .. any update about fixing module name? 🤔 
By that issu I'm not ble to build `niaaml` which is failing in pytest and shows warnings on rendering documetation

<details>

```console
+ /usr/bin/sphinx-build -n -T -b man docs build/sphinx/man
Running Sphinx v6.2.1
making output directory... done
building [mo]: targets for 0 po files that are out of date
writing output...
building [man]: all manpages
updating environment: [new config] 15 added, 0 changed, 0 removed
reading sources... [100%] testing
WARNING: autodoc: failed to import module 'classifiers' from module 'niaaml'; the following exception was raised:
No module named 'sklearn._check_build'
___________________________________________________________________________
Contents of /usr/lib64/python3.8/site-packages/sklearn/__check_build:
__pycache__               __init__.py               _check_build.cpython-38-x86_64-linux-gnu.so
___________________________________________________________________________
It seems that scikit-learn has not been built correctly.

If you have installed scikit-learn from source, please do not forget
to build the package before using it: run `python setup.py install` or
`make` in the source directory.

If you have used an installer, please check that it is suited for your
Python version, your operating system and your platform.
WARNING: autodoc: failed to import module 'data' from module 'niaaml'; the following exception was raised:
No module named 'sklearn._check_build'
___________________________________________________________________________
Contents of /usr/lib64/python3.8/site-packages/sklearn/__check_build:
__pycache__               __init__.py               _check_build.cpython-38-x86_64-linux-gnu.so
___________________________________________________________________________
It seems that scikit-learn has not been built correctly.

If you have installed scikit-learn from source, please do not forget
to build the package before using it: run `python setup.py install` or
`make` in the source directory.

If you have used an installer, please check that it is suited for your
Python version, your operating system and your platform.
WARNING: autodoc: failed to import module 'fitness' from module 'niaaml'; the following exception was raised:
No module named 'sklearn._check_build'
___________________________________________________________________________
Contents of /usr/lib64/python3.8/site-packages/sklearn/__check_build:
__pycache__               __init__.py               _check_build.cpython-38-x86_64-linux-gnu.so
___________________________________________________________________________
It seems that scikit-learn has not been built correctly.

If you have installed scikit-learn from source, please do not forget
to build the package before using it: run `python setup.py install` or
`make` in the source directory.

If you have used an installer, please check that it is suited for your
Python version, your operating system and your platform.
WARNING: autodoc: failed to import module 'niaaml'; the following exception was raised:
No module named 'sklearn._check_build'
___________________________________________________________________________
Contents of /usr/lib64/python3.8/site-packages/sklearn/__check_build:
__pycache__               __init__.py               _check_build.cpython-38-x86_64-linux-gnu.so
___________________________________________________________________________
It seems that scikit-learn has not been built correctly.

If you have installed scikit-learn from source, please do not forget
to build the package before using it: run `python setup.py install` or
`make` in the source directory.

If you have used an installer, please check that it is suited for your
Python version, your operating system and your platform.
WARNING: autodoc: failed to import module 'preprocessing' from module 'niaaml'; the following exception was raised:
No module named 'sklearn._check_build'
___________________________________________________________________________
Contents of /usr/lib64/python3.8/site-packages/sklearn/__check_build:
__pycache__               __init__.py               _check_build.cpython-38-x86_64-linux-gnu.so
___________________________________________________________________________
It seems that scikit-learn has not been built correctly.

If you have installed scikit-learn from source, please do not forget
to build the package before using it: run `python setup.py install` or
`make` in the source directory.

If you have used an installer, please check that it is suited for your
Python version, your operating system and your platform.
WARNING: autodoc: failed to import module 'preprocessing.feature_selection' from module 'niaaml'; the following exception was raised:
No module named 'sklearn._check_build'
___________________________________________________________________________
Contents of /usr/lib64/python3.8/site-packages/sklearn/__check_build:
__pycache__               __init__.py               _check_build.cpython-38-x86_64-linux-gnu.so
___________________________________________________________________________
It seems that scikit-learn has not been built correctly.

If you have installed scikit-learn from source, please do not forget
to build the package before using it: run `python setup.py install` or
`make` in the source directory.

If you have used an installer, please check that it is suited for your
Python version, your operating system and your platform.
WARNING: autodoc: failed to import module 'preprocessing.feature_transform' from module 'niaaml'; the following exception was raised:
No module named 'sklearn._check_build'
___________________________________________________________________________
Contents of /usr/lib64/python3.8/site-packages/sklearn/__check_build:
__pycache__               __init__.py               _check_build.cpython-38-x86_64-linux-gnu.so
___________________________________________________________________________
It seems that scikit-learn has not been built correctly.

If you have installed scikit-learn from source, please do not forget
to build the package before using it: run `python setup.py install` or
`make` in the source directory.

If you have used an installer, please check that it is suited for your
Python version, your operating system and your platform.
WARNING: autodoc: failed to import module 'preprocessing.encoding' from module 'niaaml'; the following exception was raised:
No module named 'sklearn._check_build'
___________________________________________________________________________
Contents of /usr/lib64/python3.8/site-packages/sklearn/__check_build:
__pycache__               __init__.py               _check_build.cpython-38-x86_64-linux-gnu.so
___________________________________________________________________________
It seems that scikit-learn has not been built correctly.

If you have installed scikit-learn from source, please do not forget
to build the package before using it: run `python setup.py install` or
`make` in the source directory.

If you have used an installer, please check that it is suited for your
Python version, your operating system and your platform.
WARNING: autodoc: failed to import module 'preprocessing.imputation' from module 'niaaml'; the following exception was raised:
No module named 'sklearn._check_build'
___________________________________________________________________________
Contents of /usr/lib64/python3.8/site-packages/sklearn/__check_build:
__pycache__               __init__.py               _check_build.cpython-38-x86_64-linux-gnu.so
___________________________________________________________________________
It seems that scikit-learn has not been built correctly.

If you have installed scikit-learn from source, please do not forget
to build the package before using it: run `python setup.py install` or
`make` in the source directory.

If you have used an installer, please check that it is suited for your
Python version, your operating system and your platform.
WARNING: autodoc: failed to import module 'niaaml'; the following exception was raised:
No module named 'sklearn._check_build'
___________________________________________________________________________
Contents of /usr/lib64/python3.8/site-packages/sklearn/__check_build:
__pycache__               __init__.py               _check_build.cpython-38-x86_64-linux-gnu.so
___________________________________________________________________________
It seems that scikit-learn has not been built correctly.

If you have installed scikit-learn from source, please do not forget
to build the package before using it: run `python setup.py install` or
`make` in the source directory.

If you have used an installer, please check that it is suited for your
Python version, your operating system and your platform.
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
writing... python-niaaml.3 { getting_started changelog installation testing documentation api/index api/niaaml api/data api/classifiers api/preprocessing api/fitness about contributing code_of_conduct } /home/tkloczko/rpmbuild/BUILD/NiaAML-1.1.12/docs/getting_started.rst:151: WARNING: py:class reference target not found: niaaml.preprocessing.feature_selection.SelectKBest
/home/tkloczko/rpmbuild/BUILD/NiaAML-1.1.12/docs/api/niaaml.rst:1: WARNING: py:mod reference target not found: niaaml
/home/tkloczko/rpmbuild/BUILD/NiaAML-1.1.12/docs/api/data.rst:1: WARNING: py:mod reference target not found: niaaml.data
/home/tkloczko/rpmbuild/BUILD/NiaAML-1.1.12/docs/api/classifiers.rst:1: WARNING: py:mod reference target not found: niaaml.classifiers
/home/tkloczko/rpmbuild/BUILD/NiaAML-1.1.12/docs/api/preprocessing.rst:1: WARNING: py:mod reference target not found: niaaml.preprocessing
/home/tkloczko/rpmbuild/BUILD/NiaAML-1.1.12/docs/api/preprocessing.rst:9: WARNING: py:mod reference target not found: niaaml.preprocessing.feature_selection
/home/tkloczko/rpmbuild/BUILD/NiaAML-1.1.12/docs/api/preprocessing.rst:17: WARNING: py:mod reference target not found: niaaml.preprocessing.feature_transform
/home/tkloczko/rpmbuild/BUILD/NiaAML-1.1.12/docs/api/preprocessing.rst:25: WARNING: py:mod reference target not found: niaaml.preprocessing.encoding
/home/tkloczko/rpmbuild/BUILD/NiaAML-1.1.12/docs/api/preprocessing.rst:33: WARNING: py:mod reference target not found: niaaml.preprocessing.imputation
/home/tkloczko/rpmbuild/BUILD/NiaAML-1.1.12/docs/api/fitness.rst:1: WARNING: py:mod reference target not found: niaaml.fitness
done
build succeeded, 20 warnings.
```
</details>

and pytest
<details>

```console
+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-niaaml-1.1.12-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-niaaml-1.1.12-2.fc35.x86_64/usr/lib/python3.8/site-packages
+ /usr/bin/pytest -ra -m 'not network'
==================================================================================== test session starts ====================================================================================
platform linux -- Python 3.8.16, pytest-7.3.1, pluggy-1.0.0
rootdir: /home/tkloczko/rpmbuild/BUILD/NiaAML-1.1.12
collected 0 items / 17 errors

========================================================================================== ERRORS ===========================================================================================
_____________________________________________________________________ ERROR collecting tests/test_basic_data_reader.py ______________________________________________________________________
ImportError while importing test module '/home/tkloczko/rpmbuild/BUILD/NiaAML-1.1.12/tests/test_basic_data_reader.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib64/python3.8/site-packages/sklearn/__check_build/__init__.py:48: in <module>
    from sklearn._check_build import check_build  # noqa
E   ModuleNotFoundError: No module named 'sklearn._check_build'

During handling of the above exception, another exception occurred:
/usr/lib64/python3.8/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_basic_data_reader.py:2: in <module>
    from niaaml.data import BasicDataReader
niaaml/__init__.py:1: in <module>
    from niaaml import classifiers
niaaml/classifiers/__init__.py:2: in <module>
    from niaaml.classifiers.random_forest import RandomForest
niaaml/classifiers/random_forest.py:2: in <module>
    from niaaml.utilities import MinMax
niaaml/utilities.py:1: in <module>
    from sklearn.metrics import accuracy_score, precision_score, cohen_kappa_score, f1_score
/usr/lib64/python3.8/site-packages/sklearn/__init__.py:81: in <module>
    from sklearn import __check_build  # noqa: F401
/usr/lib64/python3.8/site-packages/sklearn/__check_build/__init__.py:50: in <module>
    raise_build_error(e)
/usr/lib64/python3.8/site-packages/sklearn/__check_build/__init__.py:31: in raise_build_error
    raise ImportError(
E   ImportError: No module named 'sklearn._check_build'
E   ___________________________________________________________________________
E   Contents of /usr/lib64/python3.8/site-packages/sklearn/__check_build:
E   __pycache__               __init__.py               _check_build.cpython-38-x86_64-linux-gnu.so
E   ___________________________________________________________________________
E   It seems that scikit-learn has not been built correctly.
E
E   If you have installed scikit-learn from source, please do not forget
E   to build the package before using it: run `python setup.py install` or
E   `make` in the source directory.
E
E   If you have used an installer, please check that it is suited for your
E   Python version, your operating system and your platform.
_____________________________________________________________________ ERROR collecting tests/test_classifier_factory.py _____________________________________________________________________
ImportError while importing test module '/home/tkloczko/rpmbuild/BUILD/NiaAML-1.1.12/tests/test_classifier_factory.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib64/python3.8/site-packages/sklearn/__check_build/__init__.py:48: in <module>
    from sklearn._check_build import check_build  # noqa
E   ModuleNotFoundError: No module named 'sklearn._check_build'

During handling of the above exception, another exception occurred:
/usr/lib64/python3.8/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_classifier_factory.py:2: in <module>
    from niaaml.classifiers import ClassifierFactory, Classifier
niaaml/__init__.py:1: in <module>
    from niaaml import classifiers
niaaml/classifiers/__init__.py:2: in <module>
    from niaaml.classifiers.random_forest import RandomForest
niaaml/classifiers/random_forest.py:2: in <module>
    from niaaml.utilities import MinMax
niaaml/utilities.py:1: in <module>
    from sklearn.metrics import accuracy_score, precision_score, cohen_kappa_score, f1_score
/usr/lib64/python3.8/site-packages/sklearn/__init__.py:81: in <module>
    from sklearn import __check_build  # noqa: F401
/usr/lib64/python3.8/site-packages/sklearn/__check_build/__init__.py:50: in <module>
    raise_build_error(e)
/usr/lib64/python3.8/site-packages/sklearn/__check_build/__init__.py:31: in raise_build_error
    raise ImportError(
E   ImportError: No module named 'sklearn._check_build'
E   ___________________________________________________________________________
E   Contents of /usr/lib64/python3.8/site-packages/sklearn/__check_build:
E   __pycache__               __init__.py               _check_build.cpython-38-x86_64-linux-gnu.so
E   ___________________________________________________________________________
E   It seems that scikit-learn has not been built correctly.
E
E   If you have installed scikit-learn from source, please do not forget
E   to build the package before using it: run `python setup.py install` or
E   `make` in the source directory.
E
E   If you have used an installer, please check that it is suited for your
E   Python version, your operating system and your platform.
________________________________________________________________________ ERROR collecting tests/test_classifiers.py _________________________________________________________________________
ImportError while importing test module '/home/tkloczko/rpmbuild/BUILD/NiaAML-1.1.12/tests/test_classifiers.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib64/python3.8/site-packages/sklearn/__check_build/__init__.py:48: in <module>
    from sklearn._check_build import check_build  # noqa
E   ModuleNotFoundError: No module named 'sklearn._check_build'

During handling of the above exception, another exception occurred:
/usr/lib64/python3.8/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_classifiers.py:2: in <module>
    import niaaml.classifiers as c
niaaml/__init__.py:1: in <module>
    from niaaml import classifiers
niaaml/classifiers/__init__.py:2: in <module>
    from niaaml.classifiers.random_forest import RandomForest
niaaml/classifiers/random_forest.py:2: in <module>
    from niaaml.utilities import MinMax
niaaml/utilities.py:1: in <module>
    from sklearn.metrics import accuracy_score, precision_score, cohen_kappa_score, f1_score
/usr/lib64/python3.8/site-packages/sklearn/__init__.py:81: in <module>
    from sklearn import __check_build  # noqa: F401
/usr/lib64/python3.8/site-packages/sklearn/__check_build/__init__.py:50: in <module>
    raise_build_error(e)
/usr/lib64/python3.8/site-packages/sklearn/__check_build/__init__.py:31: in raise_build_error
    raise ImportError(
E   ImportError: No module named 'sklearn._check_build'
E   ___________________________________________________________________________
E   Contents of /usr/lib64/python3.8/site-packages/sklearn/__check_build:
E   __pycache__               __init__.py               _check_build.cpython-38-x86_64-linux-gnu.so
E   ___________________________________________________________________________
E   It seems that scikit-learn has not been built correctly.
E
E   If you have installed scikit-learn from source, please do not forget
E   to build the package before using it: run `python setup.py install` or
E   `make` in the source directory.
E
E   If you have used an installer, please check that it is suited for your
E   Python version, your operating system and your platform.
______________________________________________________________________ ERROR collecting tests/test_csv_data_reader.py _______________________________________________________________________
ImportError while importing test module '/home/tkloczko/rpmbuild/BUILD/NiaAML-1.1.12/tests/test_csv_data_reader.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib64/python3.8/site-packages/sklearn/__check_build/__init__.py:48: in <module>
    from sklearn._check_build import check_build  # noqa
E   ModuleNotFoundError: No module named 'sklearn._check_build'

During handling of the above exception, another exception occurred:
/usr/lib64/python3.8/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_csv_data_reader.py:2: in <module>
    from niaaml.data import CSVDataReader
niaaml/__init__.py:1: in <module>
    from niaaml import classifiers
niaaml/classifiers/__init__.py:2: in <module>
    from niaaml.classifiers.random_forest import RandomForest
niaaml/classifiers/random_forest.py:2: in <module>
    from niaaml.utilities import MinMax
niaaml/utilities.py:1: in <module>
    from sklearn.metrics import accuracy_score, precision_score, cohen_kappa_score, f1_score
/usr/lib64/python3.8/site-packages/sklearn/__init__.py:81: in <module>
    from sklearn import __check_build  # noqa: F401
/usr/lib64/python3.8/site-packages/sklearn/__check_build/__init__.py:50: in <module>
    raise_build_error(e)
/usr/lib64/python3.8/site-packages/sklearn/__check_build/__init__.py:31: in raise_build_error
    raise ImportError(
E   ImportError: No module named 'sklearn._check_build'
E   ___________________________________________________________________________
E   Contents of /usr/lib64/python3.8/site-packages/sklearn/__check_build:
E   __pycache__               __init__.py               _check_build.cpython-38-x86_64-linux-gnu.so
E   ___________________________________________________________________________
E   It seems that scikit-learn has not been built correctly.
E
E   If you have installed scikit-learn from source, please do not forget
E   to build the package before using it: run `python setup.py install` or
E   `make` in the source directory.
E
E   If you have used an installer, please check that it is suited for your
E   Python version, your operating system and your platform.
______________________________________________________________________ ERROR collecting tests/test_encoder_factory.py _______________________________________________________________________
ImportError while importing test module '/home/tkloczko/rpmbuild/BUILD/NiaAML-1.1.12/tests/test_encoder_factory.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib64/python3.8/site-packages/sklearn/__check_build/__init__.py:48: in <module>
    from sklearn._check_build import check_build  # noqa
E   ModuleNotFoundError: No module named 'sklearn._check_build'

During handling of the above exception, another exception occurred:
/usr/lib64/python3.8/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_encoder_factory.py:2: in <module>
    from niaaml.preprocessing.encoding import EncoderFactory, FeatureEncoder
niaaml/__init__.py:1: in <module>
    from niaaml import classifiers
niaaml/classifiers/__init__.py:2: in <module>
    from niaaml.classifiers.random_forest import RandomForest
niaaml/classifiers/random_forest.py:2: in <module>
    from niaaml.utilities import MinMax
niaaml/utilities.py:1: in <module>
    from sklearn.metrics import accuracy_score, precision_score, cohen_kappa_score, f1_score
/usr/lib64/python3.8/site-packages/sklearn/__init__.py:81: in <module>
    from sklearn import __check_build  # noqa: F401
/usr/lib64/python3.8/site-packages/sklearn/__check_build/__init__.py:50: in <module>
    raise_build_error(e)
/usr/lib64/python3.8/site-packages/sklearn/__check_build/__init__.py:31: in raise_build_error
    raise ImportError(
E   ImportError: No module named 'sklearn._check_build'
E   ___________________________________________________________________________
E   Contents of /usr/lib64/python3.8/site-packages/sklearn/__check_build:
E   __pycache__               __init__.py               _check_build.cpython-38-x86_64-linux-gnu.so
E   ___________________________________________________________________________
E   It seems that scikit-learn has not been built correctly.
E
E   If you have installed scikit-learn from source, please do not forget
E   to build the package before using it: run `python setup.py install` or
E   `make` in the source directory.
E
E   If you have used an installer, please check that it is suited for your
E   Python version, your operating system and your platform.
______________________________________________________________________ ERROR collecting tests/test_feature_encoder.py _______________________________________________________________________
ImportError while importing test module '/home/tkloczko/rpmbuild/BUILD/NiaAML-1.1.12/tests/test_feature_encoder.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib64/python3.8/site-packages/sklearn/__check_build/__init__.py:48: in <module>
    from sklearn._check_build import check_build  # noqa
E   ModuleNotFoundError: No module named 'sklearn._check_build'

During handling of the above exception, another exception occurred:
/usr/lib64/python3.8/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_feature_encoder.py:2: in <module>
    from niaaml.preprocessing.encoding import OneHotEncoder, encode_categorical_features
niaaml/__init__.py:1: in <module>
    from niaaml import classifiers
niaaml/classifiers/__init__.py:2: in <module>
    from niaaml.classifiers.random_forest import RandomForest
niaaml/classifiers/random_forest.py:2: in <module>
    from niaaml.utilities import MinMax
niaaml/utilities.py:1: in <module>
    from sklearn.metrics import accuracy_score, precision_score, cohen_kappa_score, f1_score
/usr/lib64/python3.8/site-packages/sklearn/__init__.py:81: in <module>
    from sklearn import __check_build  # noqa: F401
/usr/lib64/python3.8/site-packages/sklearn/__check_build/__init__.py:50: in <module>
    raise_build_error(e)
/usr/lib64/python3.8/site-packages/sklearn/__check_build/__init__.py:31: in raise_build_error
    raise ImportError(
E   ImportError: No module named 'sklearn._check_build'
E   ___________________________________________________________________________
E   Contents of /usr/lib64/python3.8/site-packages/sklearn/__check_build:
E   __pycache__               __init__.py               _check_build.cpython-38-x86_64-linux-gnu.so
E   ___________________________________________________________________________
E   It seems that scikit-learn has not been built correctly.
E
E   If you have installed scikit-learn from source, please do not forget
E   to build the package before using it: run `python setup.py install` or
E   `make` in the source directory.
E
E   If you have used an installer, please check that it is suited for your
E   Python version, your operating system and your platform.
_____________________________________________________________________ ERROR collecting tests/test_feature_selection.py ______________________________________________________________________
ImportError while importing test module '/home/tkloczko/rpmbuild/BUILD/NiaAML-1.1.12/tests/test_feature_selection.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib64/python3.8/site-packages/sklearn/__check_build/__init__.py:48: in <module>
    from sklearn._check_build import check_build  # noqa
E   ModuleNotFoundError: No module named 'sklearn._check_build'

During handling of the above exception, another exception occurred:
/usr/lib64/python3.8/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_feature_selection.py:2: in <module>
    import niaaml.preprocessing.feature_selection as fs
niaaml/__init__.py:1: in <module>
    from niaaml import classifiers
niaaml/classifiers/__init__.py:2: in <module>
    from niaaml.classifiers.random_forest import RandomForest
niaaml/classifiers/random_forest.py:2: in <module>
    from niaaml.utilities import MinMax
niaaml/utilities.py:1: in <module>
    from sklearn.metrics import accuracy_score, precision_score, cohen_kappa_score, f1_score
/usr/lib64/python3.8/site-packages/sklearn/__init__.py:81: in <module>
    from sklearn import __check_build  # noqa: F401
/usr/lib64/python3.8/site-packages/sklearn/__check_build/__init__.py:50: in <module>
    raise_build_error(e)
/usr/lib64/python3.8/site-packages/sklearn/__check_build/__init__.py:31: in raise_build_error
    raise ImportError(
E   ImportError: No module named 'sklearn._check_build'
E   ___________________________________________________________________________
E   Contents of /usr/lib64/python3.8/site-packages/sklearn/__check_build:
E   __pycache__               __init__.py               _check_build.cpython-38-x86_64-linux-gnu.so
E   ___________________________________________________________________________
E   It seems that scikit-learn has not been built correctly.
E
E   If you have installed scikit-learn from source, please do not forget
E   to build the package before using it: run `python setup.py install` or
E   `make` in the source directory.
E
E   If you have used an installer, please check that it is suited for your
E   Python version, your operating system and your platform.
____________________________________________________________ ERROR collecting tests/test_feature_selection_algorithm_factory.py _____________________________________________________________
ImportError while importing test module '/home/tkloczko/rpmbuild/BUILD/NiaAML-1.1.12/tests/test_feature_selection_algorithm_factory.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib64/python3.8/site-packages/sklearn/__check_build/__init__.py:48: in <module>
    from sklearn._check_build import check_build  # noqa
E   ModuleNotFoundError: No module named 'sklearn._check_build'

During handling of the above exception, another exception occurred:
/usr/lib64/python3.8/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_feature_selection_algorithm_factory.py:2: in <module>
    from niaaml.preprocessing.feature_selection import (
niaaml/__init__.py:1: in <module>
    from niaaml import classifiers
niaaml/classifiers/__init__.py:2: in <module>
    from niaaml.classifiers.random_forest import RandomForest
niaaml/classifiers/random_forest.py:2: in <module>
    from niaaml.utilities import MinMax
niaaml/utilities.py:1: in <module>
    from sklearn.metrics import accuracy_score, precision_score, cohen_kappa_score, f1_score
/usr/lib64/python3.8/site-packages/sklearn/__init__.py:81: in <module>
    from sklearn import __check_build  # noqa: F401
/usr/lib64/python3.8/site-packages/sklearn/__check_build/__init__.py:50: in <module>
    raise_build_error(e)
/usr/lib64/python3.8/site-packages/sklearn/__check_build/__init__.py:31: in raise_build_error
    raise ImportError(
E   ImportError: No module named 'sklearn._check_build'
E   ___________________________________________________________________________
E   Contents of /usr/lib64/python3.8/site-packages/sklearn/__check_build:
E   __pycache__               __init__.py               _check_build.cpython-38-x86_64-linux-gnu.so
E   ___________________________________________________________________________
E   It seems that scikit-learn has not been built correctly.
E
E   If you have installed scikit-learn from source, please do not forget
E   to build the package before using it: run `python setup.py install` or
E   `make` in the source directory.
E
E   If you have used an installer, please check that it is suited for your
E   Python version, your operating system and your platform.
_____________________________________________________________________ ERROR collecting tests/test_feature_transform.py ______________________________________________________________________
ImportError while importing test module '/home/tkloczko/rpmbuild/BUILD/NiaAML-1.1.12/tests/test_feature_transform.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib64/python3.8/site-packages/sklearn/__check_build/__init__.py:48: in <module>
    from sklearn._check_build import check_build  # noqa
E   ModuleNotFoundError: No module named 'sklearn._check_build'

During handling of the above exception, another exception occurred:
/usr/lib64/python3.8/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_feature_transform.py:2: in <module>
    import niaaml.preprocessing.feature_transform as ft
niaaml/__init__.py:1: in <module>
    from niaaml import classifiers
niaaml/classifiers/__init__.py:2: in <module>
    from niaaml.classifiers.random_forest import RandomForest
niaaml/classifiers/random_forest.py:2: in <module>
    from niaaml.utilities import MinMax
niaaml/utilities.py:1: in <module>
    from sklearn.metrics import accuracy_score, precision_score, cohen_kappa_score, f1_score
/usr/lib64/python3.8/site-packages/sklearn/__init__.py:81: in <module>
    from sklearn import __check_build  # noqa: F401
/usr/lib64/python3.8/site-packages/sklearn/__check_build/__init__.py:50: in <module>
    raise_build_error(e)
/usr/lib64/python3.8/site-packages/sklearn/__check_build/__init__.py:31: in raise_build_error
    raise ImportError(
E   ImportError: No module named 'sklearn._check_build'
E   ___________________________________________________________________________
E   Contents of /usr/lib64/python3.8/site-packages/sklearn/__check_build:
E   __pycache__               __init__.py               _check_build.cpython-38-x86_64-linux-gnu.so
E   ___________________________________________________________________________
E   It seems that scikit-learn has not been built correctly.
E
E   If you have installed scikit-learn from source, please do not forget
E   to build the package before using it: run `python setup.py install` or
E   `make` in the source directory.
E
E   If you have used an installer, please check that it is suited for your
E   Python version, your operating system and your platform.
____________________________________________________________ ERROR collecting tests/test_feature_transform_algorithm_factory.py _____________________________________________________________
ImportError while importing test module '/home/tkloczko/rpmbuild/BUILD/NiaAML-1.1.12/tests/test_feature_transform_algorithm_factory.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib64/python3.8/site-packages/sklearn/__check_build/__init__.py:48: in <module>
    from sklearn._check_build import check_build  # noqa
E   ModuleNotFoundError: No module named 'sklearn._check_build'

During handling of the above exception, another exception occurred:
/usr/lib64/python3.8/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_feature_transform_algorithm_factory.py:2: in <module>
    from niaaml.preprocessing.feature_transform import (
niaaml/__init__.py:1: in <module>
    from niaaml import classifiers
niaaml/classifiers/__init__.py:2: in <module>
    from niaaml.classifiers.random_forest import RandomForest
niaaml/classifiers/random_forest.py:2: in <module>
    from niaaml.utilities import MinMax
niaaml/utilities.py:1: in <module>
    from sklearn.metrics import accuracy_score, precision_score, cohen_kappa_score, f1_score
/usr/lib64/python3.8/site-packages/sklearn/__init__.py:81: in <module>
    from sklearn import __check_build  # noqa: F401
/usr/lib64/python3.8/site-packages/sklearn/__check_build/__init__.py:50: in <module>
    raise_build_error(e)
/usr/lib64/python3.8/site-packages/sklearn/__check_build/__init__.py:31: in raise_build_error
    raise ImportError(
E   ImportError: No module named 'sklearn._check_build'
E   ___________________________________________________________________________
E   Contents of /usr/lib64/python3.8/site-packages/sklearn/__check_build:
E   __pycache__               __init__.py               _check_build.cpython-38-x86_64-linux-gnu.so
E   ___________________________________________________________________________
E   It seems that scikit-learn has not been built correctly.
E
E   If you have installed scikit-learn from source, please do not forget
E   to build the package before using it: run `python setup.py install` or
E   `make` in the source directory.
E
E   If you have used an installer, please check that it is suited for your
E   Python version, your operating system and your platform.
__________________________________________________________________________ ERROR collecting tests/test_fitness.py ___________________________________________________________________________
ImportError while importing test module '/home/tkloczko/rpmbuild/BUILD/NiaAML-1.1.12/tests/test_fitness.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib64/python3.8/site-packages/sklearn/__check_build/__init__.py:48: in <module>
    from sklearn._check_build import check_build  # noqa
E   ModuleNotFoundError: No module named 'sklearn._check_build'

During handling of the above exception, another exception occurred:
/usr/lib64/python3.8/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_fitness.py:3: in <module>
    import niaaml.fitness as f
niaaml/__init__.py:1: in <module>
    from niaaml import classifiers
niaaml/classifiers/__init__.py:2: in <module>
    from niaaml.classifiers.random_forest import RandomForest
niaaml/classifiers/random_forest.py:2: in <module>
    from niaaml.utilities import MinMax
niaaml/utilities.py:1: in <module>
    from sklearn.metrics import accuracy_score, precision_score, cohen_kappa_score, f1_score
/usr/lib64/python3.8/site-packages/sklearn/__init__.py:81: in <module>
    from sklearn import __check_build  # noqa: F401
/usr/lib64/python3.8/site-packages/sklearn/__check_build/__init__.py:50: in <module>
    raise_build_error(e)
/usr/lib64/python3.8/site-packages/sklearn/__check_build/__init__.py:31: in raise_build_error
    raise ImportError(
E   ImportError: No module named 'sklearn._check_build'
E   ___________________________________________________________________________
E   Contents of /usr/lib64/python3.8/site-packages/sklearn/__check_build:
E   __pycache__               __init__.py               _check_build.cpython-38-x86_64-linux-gnu.so
E   ___________________________________________________________________________
E   It seems that scikit-learn has not been built correctly.
E
E   If you have installed scikit-learn from source, please do not forget
E   to build the package before using it: run `python setup.py install` or
E   `make` in the source directory.
E
E   If you have used an installer, please check that it is suited for your
E   Python version, your operating system and your platform.
______________________________________________________________________ ERROR collecting tests/test_fitness_factory.py _______________________________________________________________________
ImportError while importing test module '/home/tkloczko/rpmbuild/BUILD/NiaAML-1.1.12/tests/test_fitness_factory.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib64/python3.8/site-packages/sklearn/__check_build/__init__.py:48: in <module>
    from sklearn._check_build import check_build  # noqa
E   ModuleNotFoundError: No module named 'sklearn._check_build'

During handling of the above exception, another exception occurred:
/usr/lib64/python3.8/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_fitness_factory.py:2: in <module>
    from niaaml.fitness import FitnessFactory, FitnessFunction
niaaml/__init__.py:1: in <module>
    from niaaml import classifiers
niaaml/classifiers/__init__.py:2: in <module>
    from niaaml.classifiers.random_forest import RandomForest
niaaml/classifiers/random_forest.py:2: in <module>
    from niaaml.utilities import MinMax
niaaml/utilities.py:1: in <module>
    from sklearn.metrics import accuracy_score, precision_score, cohen_kappa_score, f1_score
/usr/lib64/python3.8/site-packages/sklearn/__init__.py:81: in <module>
    from sklearn import __check_build  # noqa: F401
/usr/lib64/python3.8/site-packages/sklearn/__check_build/__init__.py:50: in <module>
    raise_build_error(e)
/usr/lib64/python3.8/site-packages/sklearn/__check_build/__init__.py:31: in raise_build_error
    raise ImportError(
E   ImportError: No module named 'sklearn._check_build'
E   ___________________________________________________________________________
E   Contents of /usr/lib64/python3.8/site-packages/sklearn/__check_build:
E   __pycache__               __init__.py               _check_build.cpython-38-x86_64-linux-gnu.so
E   ___________________________________________________________________________
E   It seems that scikit-learn has not been built correctly.
E
E   If you have installed scikit-learn from source, please do not forget
E   to build the package before using it: run `python setup.py install` or
E   `make` in the source directory.
E
E   If you have used an installer, please check that it is suited for your
E   Python version, your operating system and your platform.
__________________________________________________________________________ ERROR collecting tests/test_imputer.py ___________________________________________________________________________
ImportError while importing test module '/home/tkloczko/rpmbuild/BUILD/NiaAML-1.1.12/tests/test_imputer.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib64/python3.8/site-packages/sklearn/__check_build/__init__.py:48: in <module>
    from sklearn._check_build import check_build  # noqa
E   ModuleNotFoundError: No module named 'sklearn._check_build'

During handling of the above exception, another exception occurred:
/usr/lib64/python3.8/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_imputer.py:2: in <module>
    from niaaml.preprocessing.imputation import SimpleImputer, impute_features
niaaml/__init__.py:1: in <module>
    from niaaml import classifiers
niaaml/classifiers/__init__.py:2: in <module>
    from niaaml.classifiers.random_forest import RandomForest
niaaml/classifiers/random_forest.py:2: in <module>
    from niaaml.utilities import MinMax
niaaml/utilities.py:1: in <module>
    from sklearn.metrics import accuracy_score, precision_score, cohen_kappa_score, f1_score
/usr/lib64/python3.8/site-packages/sklearn/__init__.py:81: in <module>
    from sklearn import __check_build  # noqa: F401
/usr/lib64/python3.8/site-packages/sklearn/__check_build/__init__.py:50: in <module>
    raise_build_error(e)
/usr/lib64/python3.8/site-packages/sklearn/__check_build/__init__.py:31: in raise_build_error
    raise ImportError(
E   ImportError: No module named 'sklearn._check_build'
E   ___________________________________________________________________________
E   Contents of /usr/lib64/python3.8/site-packages/sklearn/__check_build:
E   __pycache__               __init__.py               _check_build.cpython-38-x86_64-linux-gnu.so
E   ___________________________________________________________________________
E   It seems that scikit-learn has not been built correctly.
E
E   If you have installed scikit-learn from source, please do not forget
E   to build the package before using it: run `python setup.py install` or
E   `make` in the source directory.
E
E   If you have used an installer, please check that it is suited for your
E   Python version, your operating system and your platform.
______________________________________________________________________ ERROR collecting tests/test_imputer_factory.py _______________________________________________________________________
ImportError while importing test module '/home/tkloczko/rpmbuild/BUILD/NiaAML-1.1.12/tests/test_imputer_factory.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib64/python3.8/site-packages/sklearn/__check_build/__init__.py:48: in <module>
    from sklearn._check_build import check_build  # noqa
E   ModuleNotFoundError: No module named 'sklearn._check_build'

During handling of the above exception, another exception occurred:
/usr/lib64/python3.8/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_imputer_factory.py:2: in <module>
    from niaaml.preprocessing.imputation import Imputer, ImputerFactory
niaaml/__init__.py:1: in <module>
    from niaaml import classifiers
niaaml/classifiers/__init__.py:2: in <module>
    from niaaml.classifiers.random_forest import RandomForest
niaaml/classifiers/random_forest.py:2: in <module>
    from niaaml.utilities import MinMax
niaaml/utilities.py:1: in <module>
    from sklearn.metrics import accuracy_score, precision_score, cohen_kappa_score, f1_score
/usr/lib64/python3.8/site-packages/sklearn/__init__.py:81: in <module>
    from sklearn import __check_build  # noqa: F401
/usr/lib64/python3.8/site-packages/sklearn/__check_build/__init__.py:50: in <module>
    raise_build_error(e)
/usr/lib64/python3.8/site-packages/sklearn/__check_build/__init__.py:31: in raise_build_error
    raise ImportError(
E   ImportError: No module named 'sklearn._check_build'
E   ___________________________________________________________________________
E   Contents of /usr/lib64/python3.8/site-packages/sklearn/__check_build:
E   __pycache__               __init__.py               _check_build.cpython-38-x86_64-linux-gnu.so
E   ___________________________________________________________________________
E   It seems that scikit-learn has not been built correctly.
E
E   If you have installed scikit-learn from source, please do not forget
E   to build the package before using it: run `python setup.py install` or
E   `make` in the source directory.
E
E   If you have used an installer, please check that it is suited for your
E   Python version, your operating system and your platform.
__________________________________________________________________________ ERROR collecting tests/test_pipeline.py __________________________________________________________________________
ImportError while importing test module '/home/tkloczko/rpmbuild/BUILD/NiaAML-1.1.12/tests/test_pipeline.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib64/python3.8/site-packages/sklearn/__check_build/__init__.py:48: in <module>
    from sklearn._check_build import check_build  # noqa
E   ModuleNotFoundError: No module named 'sklearn._check_build'

During handling of the above exception, another exception occurred:
/usr/lib64/python3.8/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_pipeline.py:2: in <module>
    from niaaml import Pipeline, OptimizationStats
niaaml/__init__.py:1: in <module>
    from niaaml import classifiers
niaaml/classifiers/__init__.py:2: in <module>
    from niaaml.classifiers.random_forest import RandomForest
niaaml/classifiers/random_forest.py:2: in <module>
    from niaaml.utilities import MinMax
niaaml/utilities.py:1: in <module>
    from sklearn.metrics import accuracy_score, precision_score, cohen_kappa_score, f1_score
/usr/lib64/python3.8/site-packages/sklearn/__init__.py:81: in <module>
    from sklearn import __check_build  # noqa: F401
/usr/lib64/python3.8/site-packages/sklearn/__check_build/__init__.py:50: in <module>
    raise_build_error(e)
/usr/lib64/python3.8/site-packages/sklearn/__check_build/__init__.py:31: in raise_build_error
    raise ImportError(
E   ImportError: No module named 'sklearn._check_build'
E   ___________________________________________________________________________
E   Contents of /usr/lib64/python3.8/site-packages/sklearn/__check_build:
E   __pycache__               __init__.py               _check_build.cpython-38-x86_64-linux-gnu.so
E   ___________________________________________________________________________
E   It seems that scikit-learn has not been built correctly.
E
E   If you have installed scikit-learn from source, please do not forget
E   to build the package before using it: run `python setup.py install` or
E   `make` in the source directory.
E
E   If you have used an installer, please check that it is suited for your
E   Python version, your operating system and your platform.
_____________________________________________________________________ ERROR collecting tests/test_pipeline_optimizer.py _____________________________________________________________________
ImportError while importing test module '/home/tkloczko/rpmbuild/BUILD/NiaAML-1.1.12/tests/test_pipeline_optimizer.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib64/python3.8/site-packages/sklearn/__check_build/__init__.py:48: in <module>
    from sklearn._check_build import check_build  # noqa
E   ModuleNotFoundError: No module named 'sklearn._check_build'

During handling of the above exception, another exception occurred:
/usr/lib64/python3.8/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_pipeline_optimizer.py:2: in <module>
    from niaaml import PipelineOptimizer, Pipeline
niaaml/__init__.py:1: in <module>
    from niaaml import classifiers
niaaml/classifiers/__init__.py:2: in <module>
    from niaaml.classifiers.random_forest import RandomForest
niaaml/classifiers/random_forest.py:2: in <module>
    from niaaml.utilities import MinMax
niaaml/utilities.py:1: in <module>
    from sklearn.metrics import accuracy_score, precision_score, cohen_kappa_score, f1_score
/usr/lib64/python3.8/site-packages/sklearn/__init__.py:81: in <module>
    from sklearn import __check_build  # noqa: F401
/usr/lib64/python3.8/site-packages/sklearn/__check_build/__init__.py:50: in <module>
    raise_build_error(e)
/usr/lib64/python3.8/site-packages/sklearn/__check_build/__init__.py:31: in raise_build_error
    raise ImportError(
E   ImportError: No module named 'sklearn._check_build'
E   ___________________________________________________________________________
E   Contents of /usr/lib64/python3.8/site-packages/sklearn/__check_build:
E   __pycache__               __init__.py               _check_build.cpython-38-x86_64-linux-gnu.so
E   ___________________________________________________________________________
E   It seems that scikit-learn has not been built correctly.
E
E   If you have installed scikit-learn from source, please do not forget
E   to build the package before using it: run `python setup.py install` or
E   `make` in the source directory.
E
E   If you have used an installer, please check that it is suited for your
E   Python version, your operating system and your platform.
_________________________________________________________________________ ERROR collecting tests/test_utilities.py __________________________________________________________________________
ImportError while importing test module '/home/tkloczko/rpmbuild/BUILD/NiaAML-1.1.12/tests/test_utilities.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib64/python3.8/site-packages/sklearn/__check_build/__init__.py:48: in <module>
    from sklearn._check_build import check_build  # noqa
E   ModuleNotFoundError: No module named 'sklearn._check_build'

During handling of the above exception, another exception occurred:
/usr/lib64/python3.8/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_utilities.py:2: in <module>
    from niaaml import ParameterDefinition, MinMax, OptimizationStats, get_bin_index
niaaml/__init__.py:1: in <module>
    from niaaml import classifiers
niaaml/classifiers/__init__.py:2: in <module>
    from niaaml.classifiers.random_forest import RandomForest
niaaml/classifiers/random_forest.py:2: in <module>
    from niaaml.utilities import MinMax
niaaml/utilities.py:1: in <module>
    from sklearn.metrics import accuracy_score, precision_score, cohen_kappa_score, f1_score
/usr/lib64/python3.8/site-packages/sklearn/__init__.py:81: in <module>
    from sklearn import __check_build  # noqa: F401
/usr/lib64/python3.8/site-packages/sklearn/__check_build/__init__.py:50: in <module>
    raise_build_error(e)
/usr/lib64/python3.8/site-packages/sklearn/__check_build/__init__.py:31: in raise_build_error
    raise ImportError(
E   ImportError: No module named 'sklearn._check_build'
E   ___________________________________________________________________________
E   Contents of /usr/lib64/python3.8/site-packages/sklearn/__check_build:
E   __pycache__               __init__.py               _check_build.cpython-38-x86_64-linux-gnu.so
E   ___________________________________________________________________________
E   It seems that scikit-learn has not been built correctly.
E
E   If you have installed scikit-learn from source, please do not forget
E   to build the package before using it: run `python setup.py install` or
E   `make` in the source directory.
E
E   If you have used an installer, please check that it is suited for your
E   Python version, your operating system and your platform.
================================================================================== short test summary info ==================================================================================
ERROR tests/test_basic_data_reader.py
ERROR tests/test_classifier_factory.py
ERROR tests/test_classifiers.py
ERROR tests/test_csv_data_reader.py
ERROR tests/test_encoder_factory.py
ERROR tests/test_feature_encoder.py
ERROR tests/test_feature_selection.py
ERROR tests/test_feature_selection_algorithm_factory.py
ERROR tests/test_feature_transform.py
ERROR tests/test_feature_transform_algorithm_factory.py
ERROR tests/test_fitness.py
ERROR tests/test_fitness_factory.py
ERROR tests/test_imputer.py
ERROR tests/test_imputer_factory.py
ERROR tests/test_pipeline.py
ERROR tests/test_pipeline_optimizer.py
ERROR tests/test_utilities.py
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 17 errors during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
==================================================================================== 17 errors in 0.47s =====================================================================================
```
</details>

Labels: Bug, Documentation, Needs Decision - Include Feature