code: install_deps> python -I -m pip install coverage pytest pytest-cov
.pkg: install_requires> python -I -m pip install 'setuptools>=40.8.0'
.pkg: _optional_hooks> python /tmp/venv-HbWT/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__
.pkg: get_requires_for_build_sdist> python /tmp/venv-HbWT/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__
.pkg: get_requires_for_build_wheel> python /tmp/venv-HbWT/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__
.pkg: freeze> python -m pip freeze --all
.pkg: pip==26.1.1,setuptools==82.0.1
.pkg: prepare_metadata_for_build_wheel> python /tmp/venv-HbWT/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__
.pkg: build_sdist> python /tmp/venv-HbWT/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__
code: install_package_deps> python -I -m pip install influxdb joblib 'joblib>=0.3.2' 'mdclogpy<=1.1.1' pandas==1.5.3 ricxappframe==3.2.2 schedule scikit-learn 'statsmodels>=0.11.1'
code: install_package> python -I -m pip install --force-reinstall --no-deps /w/workspace/ric-app-qp-tox-sonarqube/.tox/.tmp/package/1/qp-0.0.5.tar.gz
code: freeze> python -m pip freeze --all
code: async-timeout==5.0.1,build==1.5.0,certifi==2026.4.22,charset-normalizer==3.4.7,coverage==7.13.5,exceptiongroup==1.3.1,hiredis==2.0.0,idna==3.13,influxdb==5.3.2,iniconfig==2.3.0,inotify==0.2.12,inotify-simple==2.0.1,joblib==1.5.3,mdclogpy==1.1.1,msgpack==1.1.2,numpy==2.2.6,packaging==26.2,pandas==1.5.3,patsy==1.0.2,pip==26.1.1,pluggy==1.6.0,protobuf==3.20.3,Pygments==2.20.0,pyproject_hooks==1.2.0,pytest==9.0.3,pytest-cov==7.1.0,python-dateutil==2.9.0.post0,pytz==2026.2,qp==0.0.5,redis==4.3.6,requests==2.33.1,ricsdl==3.1.3,ricxappframe==3.2.2,schedule==1.2.2,scikit-learn==1.7.2,scipy==1.15.3,setuptools==82.0.1,six==1.17.0,statsmodels==0.14.6,threadpoolctl==3.6.0,tomli==2.4.1,typing_extensions==4.15.0,urllib3==2.6.3
code: commands[0]> pytest -v --cov src --cov-report xml --cov-report term-missing --cov-report html --cov-fail-under=60
============================= test session starts ==============================
platform linux -- Python 3.10.6, pytest-9.0.3, pluggy-1.6.0 -- /w/workspace/ric-app-qp-tox-sonarqube/.tox/code/bin/python
cachedir: .tox/code/.pytest_cache
rootdir: /w/workspace/ric-app-qp-tox-sonarqube
plugins: cov-7.1.0
collecting ... collected 0 items / 1 error

==================================== ERRORS ====================================
______________________ ERROR collecting tests/test_qp.py _______________________
tests/test_qp.py:20: in <module>
    from src import main
src/main.py:31: in <module>
    from prediction import forecast
src/prediction.py:19: in <module>
    import pandas as pd
.tox/code/lib/python3.10/site-packages/pandas/__init__.py:22: in <module>
    from pandas.compat import is_numpy_dev as _is_numpy_dev  # pyright: ignore # noqa:F401
.tox/code/lib/python3.10/site-packages/pandas/compat/__init__.py:18: in <module>
    from pandas.compat.numpy import (
.tox/code/lib/python3.10/site-packages/pandas/compat/numpy/__init__.py:4: in <module>
    from pandas.util.version import Version
.tox/code/lib/python3.10/site-packages/pandas/util/__init__.py:2: in <module>
    from pandas.util._decorators import (  # noqa:F401
.tox/code/lib/python3.10/site-packages/pandas/util/_decorators.py:14: in <module>
    from pandas._libs.properties import cache_readonly
.tox/code/lib/python3.10/site-packages/pandas/_libs/__init__.py:13: in <module>
    from pandas._libs.interval import Interval
pandas/_libs/interval.pyx:1: in init pandas._libs.interval
    ???
E   ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject
=========================== short test summary info ============================
ERROR tests/test_qp.py - ValueError: numpy.dtype size changed, may indicate b...
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
=============================== 1 error in 1.42s ===============================
code: exit 2 (2.40 seconds) /w/workspace/ric-app-qp-tox-sonarqube> pytest -v --cov src --cov-report xml --cov-report term-missing --cov-report html --cov-fail-under=60 pid=2576
code: FAIL ✖ in 1 minute 12.08 seconds
flake8: install_deps> python -I -m pip install flake8
flake8: freeze> python -m pip freeze --all
flake8: flake8==7.3.0,mccabe==0.7.0,pip==26.1.1,pycodestyle==2.14.0,pyflakes==3.4.0,qp==0.0.5,setuptools==82.0.1
flake8: commands[0]> flake8 setup.py src tests
src/main.py:160:5: F824 `global qp_xapp` is unused: name is never assigned in scope
src/main.py:168:5: F824 `global qp_xapp` is unused: name is never assigned in scope
flake8: exit 1 (0.40 seconds) /w/workspace/ric-app-qp-tox-sonarqube> flake8 setup.py src tests pid=2598
  code: FAIL code 2 (72.08=setup[69.68]+cmd[2.40] seconds)
  flake8: FAIL code 1 (3.80=setup[3.40]+cmd[0.40] seconds)
  evaluation failed :( (75.95 seconds)
