Skip to content

Fix p4p tests

Fix p4p tests #1004

GitHub Actions / Unit Test Results failed Sep 2, 2024 in 0s

1 errors, 16 skipped, 282 pass in 4m 54s

       6 files      6 suites   4m 54s ⏱️
   299 tests 282 ✔️   16 💤 0  1 🔥
1 196 runs  968 ✔️ 224 💤 0  4 🔥

Results for commit a65e6f1.

Annotations

Check failure on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

All 2 runs with error: tests.test_record_values

artifacts/Unit Test Results (windows-latest-cp310)/pytest-results.xml
artifacts/Unit Test Results (windows-latest-cp39)/pytest-results.xml
Raw output
Traceback (most recent call last):
  File "C:\Users\runneradmin\AppData\Local\Temp\cibw-run-_4_8cm4o\cp310-win_amd64\venv-test\lib\site-packages\_pytest\runner.py", line 341, in from_call
    result: TResult | None = func()
  File "C:\Users\runneradmin\AppData\Local\Temp\cibw-run-_4_8cm4o\cp310-win_amd64\venv-test\lib\site-packages\_pytest\runner.py", line 389, in collect
    return list(collector.collect())
  File "C:\Users\runneradmin\AppData\Local\Temp\cibw-run-_4_8cm4o\cp310-win_amd64\venv-test\lib\site-packages\pytest_asyncio\plugin.py", line 667, in _patched_collect
    module = collector.obj
  File "C:\Users\runneradmin\AppData\Local\Temp\cibw-run-_4_8cm4o\cp310-win_amd64\venv-test\lib\site-packages\_pytest\python.py", line 284, in obj
    self._obj = obj = self._getobj()
  File "C:\Users\runneradmin\AppData\Local\Temp\cibw-run-_4_8cm4o\cp310-win_amd64\venv-test\lib\site-packages\_pytest\python.py", line 546, in _getobj
    return importtestmodule(self.path, self.config)
  File "C:\Users\runneradmin\AppData\Local\Temp\cibw-run-_4_8cm4o\cp310-win_amd64\venv-test\lib\site-packages\_pytest\python.py", line 493, in importtestmodule
    mod = import_path(
  File "C:\Users\runneradmin\AppData\Local\Temp\cibw-run-_4_8cm4o\cp310-win_amd64\venv-test\lib\site-packages\_pytest\pathlib.py", line 582, in import_path
    importlib.import_module(module_name)
  File "C:\Users\runneradmin\AppData\Local\pypa\cibuildwheel\Cache\nuget-cpython\python.3.10.11\tools\lib\importlib\__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "C:\Users\runneradmin\AppData\Local\Temp\cibw-run-_4_8cm4o\cp310-win_amd64\venv-test\lib\site-packages\_pytest\assertion\rewrite.py", line 174, in exec_module
    exec(co, module.__dict__)
  File "D:\a\pythonSoftIOC\pythonSoftIOC\tests\test_record_values.py", line 3, in <module>
    import p4p.nt
  File "C:\Users\runneradmin\AppData\Local\Temp\cibw-run-_4_8cm4o\cp310-win_amd64\venv-test\lib\site-packages\p4p\__init__.py", line 14, in <module>
    from .wrapper import Value, Type
  File "C:\Users\runneradmin\AppData\Local\Temp\cibw-run-_4_8cm4o\cp310-win_amd64\venv-test\lib\site-packages\p4p\wrapper.py", line 5, in <module>
    from . import _p4p
  File "src\\p4p\\_p4p.pyx", line 1, in init p4p._p4p
ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject
Traceback (most recent call last):
  File "C:\Users\runneradmin\AppData\Local\Temp\cibw-run-_4_8cm4o\cp310-win_amd64\venv-test\lib\site-packages\_pytest\runner.py", line 341, in from_call
    result: TResult | None = func()
  File "C:\Users\runneradmin\AppData\Local\Temp\cibw-run-_4_8cm4o\cp310-win_amd64\venv-test\lib\site-packages\_pytest\runner.py", line 389, in collect
    return list(collector.collect())
  File "C:\Users\runneradmin\AppData\Local\Temp\cibw-run-_4_8cm4o\cp310-win_amd64\venv-test\lib\site-packages\pytest_asyncio\plugin.py", line 667, in _patched_collect
    module = collector.obj
  File "C:\Users\runneradmin\AppData\Local\Temp\cibw-run-_4_8cm4o\cp310-win_amd64\venv-test\lib\site-packages\_pytest\python.py", line 284, in obj
    self._obj = obj = self._getobj()
  File "C:\Users\runneradmin\AppData\Local\Temp\cibw-run-_4_8cm4o\cp310-win_amd64\venv-test\lib\site-packages\_pytest\python.py", line 546, in _getobj
    return importtestmodule(self.path, self.config)
  File "C:\Users\runneradmin\AppData\Local\Temp\cibw-run-_4_8cm4o\cp310-win_amd64\venv-test\lib\site-packages\_pytest\python.py", line 493, in importtestmodule
    mod = import_path(
  File "C:\Users\runneradmin\AppData\Local\Temp\cibw-run-_4_8cm4o\cp310-win_amd64\venv-test\lib\site-packages\_pytest\pathlib.py", line 582, in import_path
    importlib.import_module(module_name)
  File "C:\Users\runneradmin\AppData\Local\pypa\cibuildwheel\Cache\nuget-cpython\python.3.10.11\tools\lib\importlib\__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "C:\Users\runneradmin\AppData\Local\Temp\cibw-run-_4_8cm4o\cp310-win_amd64\venv-test\lib\site-packages\_pytest\assertion\rewrite.py", line 174, in exec_module
    exec(co, module.__dict__)
  File "D:\a\pythonSoftIOC\pythonSoftIOC\tests\test_record_values.py", line 3, in <module>
    import p4p.nt
  File "C:\Users\runneradmin\AppData\Local\Temp\cibw-run-_4_8cm4o\cp310-win_amd64\venv-test\lib\site-packages\p4p\__init__.py", line 14, in <module>
    from .wrapper import Value, Type
  File "C:\Users\runneradmin\AppData\Local\Temp\cibw-run-_4_8cm4o\cp310-win_amd64\venv-test\lib\site-packages\p4p\wrapper.py", line 5, in <module>
    from . import _p4p
  File "src\\p4p\\_p4p.pyx", line 1, in init p4p._p4p
ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject