diff --git a/tangostationcontrol/requirements.txt b/tangostationcontrol/requirements.txt
index 4e42c9a51eb0f2f9bce911054992ff4186542427..edcf009311a1c8848baf8d399a07c14b0e4d279d 100644
--- a/tangostationcontrol/requirements.txt
+++ b/tangostationcontrol/requirements.txt
@@ -5,9 +5,7 @@
 importlib-metadata<2.0.0,>=0.12;python_version<"3.8"
 lofar-station-client@git+https://git.astron.nl/lofar2.0/lofar-station-client
 numpy
-mock
 asyncua >= 0.9.90 # LGPLv3
-PyMySQL[rsa] >= 1.0.2 # MIT
 psycopg2-binary >= 2.9.2 # LGPL
 pysnmp >= 0.1.7 # BSD
 h5py >= 3.1.0 # BSD
diff --git a/tangostationcontrol/test/beam/test_delays.py b/tangostationcontrol/test/beam/test_delays.py
index 8fa7161c8c45a59231fbc72c070a9853b940d089..683a96c730493a4a1542687aa60c76abc91f35e3 100644
--- a/tangostationcontrol/test/beam/test_delays.py
+++ b/tangostationcontrol/test/beam/test_delays.py
@@ -6,7 +6,7 @@ import logging
 import time
 
 import casacore
-import mock
+from unittest import mock
 import numpy
 import numpy.testing
 
diff --git a/tangostationcontrol/test/clients/test_attr_wrapper.py b/tangostationcontrol/test/clients/test_attr_wrapper.py
index d540d946b3290d1a6f3cadf4a31c7b1edf208dde..62935f5d9bf1d2b8abaeeff8cb043798eba95487 100644
--- a/tangostationcontrol/test/clients/test_attr_wrapper.py
+++ b/tangostationcontrol/test/clients/test_attr_wrapper.py
@@ -5,7 +5,7 @@
 """
 
 import asyncio
-import mock
+from unittest import mock
 
 import tangostationcontrol.devices.interfaces.lofar_device
 from tangostationcontrol.clients.attribute_wrapper import AttributeWrapper
diff --git a/tangostationcontrol/test/devices/device_base.py b/tangostationcontrol/test/devices/device_base.py
index 7f782259cd2f5ff2570f29d68f7f20b89bc890e0..44151df0bb3b523460a9ed7982954f02096981d1 100644
--- a/tangostationcontrol/test/devices/device_base.py
+++ b/tangostationcontrol/test/devices/device_base.py
@@ -1,7 +1,7 @@
 # Copyright (C) 2022 ASTRON (Netherlands Institute for Radio Astronomy)
 # SPDX-License-Identifier: Apache-2.0
 
-import mock
+from unittest import mock
 
 from tangostationcontrol.devices.interfaces import lofar_device
 
diff --git a/tangostationcontrol/test/devices/interfaces/test_hierarchy.py b/tangostationcontrol/test/devices/interfaces/test_hierarchy.py
index 174599a7e884690aa03062a37fe4da67981d4158..31c595632b361d68eece349f02132b367ad0f706 100644
--- a/tangostationcontrol/test/devices/interfaces/test_hierarchy.py
+++ b/tangostationcontrol/test/devices/interfaces/test_hierarchy.py
@@ -6,7 +6,7 @@ import logging
 from typing import Callable
 from typing import Dict
 from typing import List
-from mock import Mock
+from unittest.mock import Mock
 
 from tango import DevState
 
diff --git a/tangostationcontrol/test/devices/sdp/test_statistics_device.py b/tangostationcontrol/test/devices/sdp/test_statistics_device.py
index 42ebee21fdc47b1c9a50eea32581ae7acab64860..567218d8e6cb411a9483956cbcdc0f6625006f20 100644
--- a/tangostationcontrol/test/devices/sdp/test_statistics_device.py
+++ b/tangostationcontrol/test/devices/sdp/test_statistics_device.py
@@ -1,7 +1,7 @@
 # Copyright (C) 2022 ASTRON (Netherlands Institute for Radio Astronomy)
 # SPDX-License-Identifier: Apache-2.0
 
-import mock
+from unittest import mock
 
 from tango import server
 from tango.test_context import DeviceTestContext