Fix pipeline
Due to an update of the docker containers, some parts of pystencils need to be adapted.
- The test
test_field_layoutsintest_buffer_gpufails because thezerosfunction of a gpu_array can only deal with continuous data since 2021.1. Thus the test case fails now with thezyxffield layout. This was fixed by replacingzeros_likewithempty_like - matplotlib has dropped deprecated functionality. In particular, it is now necessary to distinguish between Axes3D and Axes. This was fixed by using Axes3D now.
- randomgen 1.20.0 changed the behavior of
Philox'sadvancemethod. This was fixed by directly seeding to the correct counter value. - kerncraft 0.8.10 made some internal changes which produces floats now. The problem was introduced in line 516 in this commit. In particular the determination of the
countervariable is now different and produces floats instead of integers. This is probably a kerncraft bug because the loop counters should not be obtained as floats. Later in the code they enter arangefunction and this causes the failure.
Edited by Michael Kuron