fix some tests

Problems related to unhashable lists, hard-coded vector instruction sets, and undeclared dependencies
8 jobs for apple-arm64 in 8 minutes and 32 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Test
passed #538130
cuda11 docker
build-documentation

00:00:46

passed #538129
cuda11 docker
flake8-lint

00:00:07

passed #538124
AVX docker
latest-python

00:05:19

passed #538127
docker
minimal-conda

00:00:20

passed #538125
win
minimal-windows

00:08:28

manual #538128
AVX cuda11 docker allowed to fail manual
pycodegen-integration
passed #538123
AVX cuda11 docker
tests-and-coverage

00:08:23

89.62%
passed #538126
cuda11 docker
ubuntu

00:05:58