Open BenWibking opened 1 month ago
If I comment out this line:
https://github.com/AMReX-Codes/pyamrex/blob/ae75b5a7f82ba5a91d5a22a13e3148ac96d8c249/tests/conftest.py#L9
all of the tests fail, since they import amrex.space3d
:
======================================================= short test summary info =======================================================
ERROR tests/test_aos.py - AttributeError: module 'amrex.space3d.amrex_3d_pybind' has no attribute '__version__'
ERROR tests/test_array4.py - AttributeError: module 'amrex.space3d.amrex_3d_pybind' has no attribute '__version__'
ERROR tests/test_basefab.py - AttributeError: module 'amrex.space3d.amrex_3d_pybind' has no attribute '__version__'
ERROR tests/test_box.py - AttributeError: module 'amrex.space3d.amrex_3d_pybind' has no attribute '__version__'
ERROR tests/test_coordsys.py - AttributeError: module 'amrex.space3d.amrex_3d_pybind' has no attribute '__version__'
ERROR tests/test_dim3.py - AttributeError: module 'amrex.space3d.amrex_3d_pybind' has no attribute '__version__'
ERROR tests/test_farraybox.py - AttributeError: module 'amrex.space3d.amrex_3d_pybind' has no attribute '__version__'
ERROR tests/test_geometry.py - AttributeError: module 'amrex.space3d.amrex_3d_pybind' has no attribute '__version__'
ERROR tests/test_indextype.py - AttributeError: module 'amrex.space3d.amrex_3d_pybind' has no attribute '__version__'
ERROR tests/test_intvect.py - AttributeError: module 'amrex.space3d.amrex_3d_pybind' has no attribute '__version__'
ERROR tests/test_multifab.py - AttributeError: module 'amrex.space3d.amrex_3d_pybind' has no attribute '__version__'
ERROR tests/test_parmparse.py - AttributeError: module 'amrex.space3d.amrex_3d_pybind' has no attribute '__version__'
ERROR tests/test_particle.py - AttributeError: module 'amrex.space3d.amrex_3d_pybind' has no attribute '__version__'
ERROR tests/test_particleContainer.py - AttributeError: module 'amrex.space3d.amrex_3d_pybind' has no attribute '__version__'
ERROR tests/test_particleTile.py - AttributeError: module 'amrex.space3d.amrex_3d_pybind' has no attribute '__version__'
ERROR tests/test_periodicity.py - AttributeError: module 'amrex.space3d.amrex_3d_pybind' has no attribute '__version__'
ERROR tests/test_podvector.py - AttributeError: module 'amrex.space3d.amrex_3d_pybind' has no attribute '__version__'
ERROR tests/test_realbox.py - AttributeError: module 'amrex.space3d.amrex_3d_pybind' has no attribute '__version__'
ERROR tests/test_realvect.py - AttributeError: module 'amrex.space3d.amrex_3d_pybind' has no attribute '__version__'
ERROR tests/test_soa.py - AttributeError: module 'amrex.space3d.amrex_3d_pybind' has no attribute '__version__'
ERROR tests/test_utility.py - AttributeError: module 'amrex.space3d.amrex_3d_pybind' has no attribute '__version__'
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 21 errors during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
========================================================= 21 errors in 0.28s ==========================================================
This is needed for this PR: https://github.com/AMReX-Codes/pyamrex/pull/320.
I built the latest development branch as follows, setting
AMReX_SPACEDIM=2
. The tests fail to run: