Skip to content

higher version of numpy > 2.3.4 will fail some tests #450

@nicHoch

Description

@nicHoch

version 2.4.2 will fail some test:

FAILED ../../.tox/py311/lib/python3.11/site-packages/stixcore/io/product_processors/tests/test_processors.py::test_count_data_mixin[ql_l0] - TypeError: sequence item 0: expected str instance, bytes found
FAILED ../../.tox/py311/lib/python3.11/site-packages/stixcore/io/product_processors/tests/test_processors.py::test_count_data_mixin[ql_l1] - TypeError: sequence item 0: expected str instance, bytes found
FAILED ../../.tox/py311/lib/python3.11/site-packages/stixcore/processing/tests/test_publish.py::test_fits_incomplete_switch_over - TypeError: sequence item 0: expected str instance, bytes found
FAILED ../../.tox/py311/lib/python3.11/site-packages/stixcore/processing/tests/test_publish.py::test_fits_incomplete_switch_over_remove_dup_files - TypeError: sequence item 0: expected str instance, bytes found
FAILED ../../.tox/py311/lib/python3.11/site-packages/stixcore/products/tests/test_quicklook.py::test_quicklook[21_6_41_complete] - TypeError: only 0-dimensional arrays can be converted to Python scalars
FAILED ../../.tox/py311/lib/python3.11/site-packages/stixcore/products/tests/test_quicklook.py::test_quicklook_add[21_6_41_complete] - TypeError: only 0-dimensional arrays can be converted to Python scalars

this list might not be comprehensive

the issue should made aware on carefully test if we upgrade numpy in the future

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions