Merge branch 'fix/ndarray_deprecation_warnings' into 'stable'

Fix Numpy-related deprecation warnings

See merge request !397
26 jobs for stable in 47 minutes and 13 seconds (queued for 8 seconds)
latest
Status Name Job ID Coverage
  Build Env
manual build-env:conda #229425
allowed to fail manual
manual build-env:debian #229423
allowed to fail manual
manual build-env:default #229427
allowed to fail manual
manual build-env:ubuntu #229422
allowed to fail manual
 
  Build
passed build:bleeding-edge #229440

00:17:57

passed build:debian #229431

00:04:51

passed build:latest #229438

00:04:28

passed build:no-extras #229435

00:02:16

passed build:stable #229434

00:05:05

passed build:ubuntu #229429

00:05:24

 
  Test
passed build PDF documentation #229462

00:07:09

passed build documentation #229460

00:03:42

passed check for broken links in doc #229464

00:00:40

passed check for dependencies installed #229443

00:03:15

passed check whitespace style #229442

00:03:13

passed coverage:latest #229458

00:28:43

failed test:bleeding-edge #229456
allowed to fail

00:18:40

passed test:debian #229452

00:04:17

passed test:latest #229454

00:01:46

passed test:no-extras #229447

00:03:34

passed test:stable #229445

00:04:52

passed test:ubuntu #229450

00:01:27

 
  Deploy
manual remove_coverage #229469
allowed to fail manual
manual remove_docs #229473
allowed to fail manual
passed upload coverage #229466

00:00:15

passed upload documentation to the test server #229471

00:00:25

 
Name Stage Failure
failed
test:bleeding-edge Test
1.89s call     kwant/tests/test_plotter.py::test_current_interpolation
1.75s call kwant/tests/test_plotter.py::test_spectrum
============ 3 failed, 432 passed, 11 warnings in 69.83s (0:01:09) =============
Uploading artifacts for failed job
Uploading artifacts...
tests.xml: found 1 matching files and directories

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