get rid of deprecated np.complex, use complex instead

23 jobs for master in 11 minutes and 12 seconds (queued for 3 seconds)
Status Name Job ID Coverage
  Build Env
manual build-env:conda #166982
allowed to fail manual
manual build-env:debian #166981
allowed to fail manual
manual build-env:default #166983
allowed to fail manual
manual build-env:ubuntu #166980
allowed to fail manual
 
  Build
passed build:debian #166985

00:03:08

passed build:latest #166988

00:02:28

passed build:no-extras #166987

00:02:56

passed build:stable #166986

00:03:07

passed build:ubuntu #166984

00:03:38

 
  Test
passed build PDF documentation #166997

00:06:56

passed build documentation #166996

00:04:33

failed check for broken links in doc #166998
allowed to fail

00:02:18

passed check for dependencies installed #166990

00:00:42

passed check whitespace style #166989

00:00:44

passed test:debian #166994

00:01:56

passed test:latest #166995

00:02:15

passed test:no-extras #166992

00:01:08

passed test:stable #166991

00:02:26

passed test:ubuntu #166993

00:02:06

 
  Deploy
manual remove_coverage #166999
allowed to fail manual
manual remove_docs #167001
allowed to fail manual
passed upload dev version docs #167002

00:00:34

passed upload documentation to the test server #167000

00:00:27

 
Name Stage Failure
failed
check for broken links in doc Test
Traceback (most recent call last):
File "/usr/local/envs/kwant-latest/lib/python3.9/site-packages/nbclient/client.py", line 351, in _async_cleanup_kernel
assert self.km is not None
AssertionError
make: *** [linkcheck] Error 2
Makefile:39: recipe for target 'linkcheck' failed
make: Leaving directory '/builds/kwant/kwant/doc'
Authenticating with credentials from /root/.docker/config.json
ERROR: Job failed: exit code 1