diff --git a/debian/control b/debian/control
index 776600a9ba63a59a901c8e9b161181e966531f69..e6b1602c8825b190e166c9881767e0b3aa10075b 100644
--- a/debian/control
+++ b/debian/control
@@ -4,11 +4,9 @@ Section: python
 Priority: optional
 Build-Depends: debhelper (>= 9),
                dh-python (>= 2),
-               cassandra,
                openjdk-11-jre,
                python3-aiohttp,
                python3-all,
-               python3-cassandra,
                python3-click,
                python3-dateutil,
                python3-flask,
diff --git a/debian/rules b/debian/rules
index df2199aa4194d21f5fa4cee459c8292a827b3636..ae7a29165cc8f54106536e366083d61ecb4ca075 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,7 @@
 #!/usr/bin/make -f
 
 export PYBUILD_NAME=swh.storage
-export PYBUILD_TEST_ARGS=-v -m "not db and not fs and not network" \
+export PYBUILD_TEST_ARGS=-v -m "not db and not fs and not network and not cassandra" \
 	--hypothesis-profile=fast ./swh/storage/tests \
 	-p no:pytest_swh_storage