Missing pyspark dependency causes the testsuite to error out, instead of a few tests to be skipped
### Describe the bug

see the subject

### Steps to reproduce the bug

regular tests

### Expected behavior

n/a

### Environment info

version 2.20.0