feat: EDM4HEPSchema and Newstyle FCCSchema #1245
Open
Cirrus CI / Test build arm_container:python:3.9
failed
Feb 26, 2025 in 3m 8s
Task Summary
Instruction pytest failed in 00:27
Details
✅ 00:04 clone
✅ 00:04 create_venv
✅ 02:29 install
❌ 00:27 pytest
<frozen importlib._bootstrap>:1030: in _gcd_import
???
<frozen importlib._bootstrap>:1007: in _find_and_load
???
<frozen importlib._bootstrap>:986: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:680: in _load_unlocked
???
../venv/lib/python3.9/site-packages/_pytest/assertion/rewrite.py:184: in exec_module
exec(co, module.__dict__)
tests/test_util.py:3: in <module>
from coffea.processor.test_items import NanoEventsProcessor
../venv/lib/python3.9/site-packages/coffea/processor/test_items/__init__.py:1: in <module>
from .NanoDaskProcessor import NanoDaskProcessor
../venv/lib/python3.9/site-packages/coffea/processor/test_items/NanoDaskProcessor.py:7: in <module>
from coffea.nanoevents.methods import vector
../venv/lib/python3.9/site-packages/coffea/nanoevents/__init__.py:3: in <module>
from coffea.nanoevents.factory import NanoEventsFactory
../venv/lib/python3.9/site-packages/coffea/nanoevents/factory.py:23: in <module>
from coffea.nanoevents.schemas import BaseSchema, NanoAODSchema
../venv/lib/python3.9/site-packages/coffea/nanoevents/schemas/__init__.py:3: in <module>
from .edm4hep import EDM4HEPSchema
E File "/tmp/venv/lib/python3.9/site-packages/coffea/nanoevents/schemas/edm4hep.py", line 181
E match ver: # python 3.10 syntax
E ^
E SyntaxError: invalid syntax
=============================== warnings summary ===============================
../venv/lib/python3.9/site-packages/coffea/lookup_tools/txt_converters.py:108: 137 warnings
/tmp/venv/lib/python3.9/site-packages/coffea/lookup_tools/txt_converters.py:108: DeprecationWarning: numpy.core is deprecated and has been renamed to numpy._core. The numpy._core namespace contains private NumPy internals and its use is discouraged, as NumPy internals can change without warning in any release. In practice, most real-world usage of numpy.core is to access functionality in the public NumPy API. If that is the case, use the public NumPy API. If not, you are using NumPy internals. If you would still like to access an internal attribute, use numpy._core.records.
pars = numpy.core.records.fromarrays(
tests/test_jetmet_tools.py:718
/tmp/cirrus-ci-build/tests/test_jetmet_tools.py:718: PytestUnknownMarkWarning: Unknown pytest.mark.dask_client - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
@pytest.mark.dask_client
tests/test_ml_tools.py:79
/tmp/cirrus-ci-build/tests/test_ml_tools.py:79: PytestUnknownMarkWarning: Unknown pytest.mark.dask_client - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
@pytest.mark.dask_client
tests/test_ml_tools.py:132
/tmp/cirrus-ci-build/tests/test_ml_tools.py:132: PytestUnknownMarkWarning: Unknown pytest.mark.dask_client - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
@pytest.mark.dask_client
tests/test_ml_tools.py:178
/tmp/cirrus-ci-build/tests/test_ml_tools.py:178: PytestUnknownMarkWarning: Unknown pytest.mark.dask_client - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
@pytest.mark.dask_client
tests/test_ml_tools.py:254
/tmp/cirrus-ci-build/tests/test_ml_tools.py:254: PytestUnknownMarkWarning: Unknown pytest.mark.dask_client - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
@pytest.mark.dask_client
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
!!!!!!!!!!!!!!!!!!! Interrupted: 22 errors during collection !!!!!!!!!!!!!!!!!!!
====================== 142 warnings, 22 errors in 25.86s =======================
Exit status: 2
Loading