Merge branch 'fix/ndarray_deprecation_warnings' into 'stable'

Fix Numpy-related deprecation warnings

See merge request !397
26 jobs for stable in 54 minutes and 16 seconds (queued for 8 seconds)
latest
Status Name Job ID Coverage
  Build Env
manual build-env:conda #232356
allowed to fail manual
manual build-env:debian #232353
allowed to fail manual
manual build-env:default #232358
allowed to fail manual
manual build-env:ubuntu #232351
allowed to fail manual
 
  Build
passed build:bleeding-edge #232370

00:25:43

passed build:debian #232362

00:04:58

passed build:latest #232368

00:08:07

passed build:no-extras #232366

00:08:39

passed build:stable #232364

00:08:34

passed build:ubuntu #232360

00:04:19

 
  Test
passed build PDF documentation #232392

00:07:37

passed build documentation #232390

00:07:24

passed check for broken links in doc #232394

00:01:51

passed check for dependencies installed #232374

00:03:27

passed check whitespace style #232372

00:03:14

passed coverage:latest #232388

00:27:08

failed test:bleeding-edge #232386
allowed to fail

00:21:27

passed test:debian #232382

00:04:19

passed test:latest #232384

00:03:19

passed test:no-extras #232378

00:03:36

passed test:stable #232376

00:03:21

passed test:ubuntu #232380

00:02:40

 
  Deploy
manual remove_coverage #232398
allowed to fail manual
manual remove_docs #232402
allowed to fail manual
passed upload coverage #232396

00:01:08

passed upload documentation to the test server #232400

00:01:17

 
Name Stage Failure
failed
test:bleeding-edge Test
1.72s call     kwant/solvers/tests/test_mumps.py::test_wavefunc_ldos_consistency
1.65s call kwant/tests/test_plotter.py::test_spectrum
============ 3 failed, 432 passed, 11 warnings in 71.11s (0:01:11) =============
Uploading artifacts for failed job
Uploading artifacts...
tests.xml: found 1 matching files and directories

Uploading artifacts as "junit" to coordinator... ok
id=232386 responseStatus=201 Created token=yu7azPCe
Cleaning up file based variables
ERROR: Job failed: exit code 1