File tree Expand file tree Collapse file tree 3 files changed +4
-12
lines changed Expand file tree Collapse file tree 3 files changed +4
-12
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ Breaking changes in 25.1
1313~~~~~~~~~~~~~~~~~~~~~~~~
1414- The deprecated pytest plugin option ``--env-config `` has been removed. Use
1515 ``--lg-env `` instead.
16+ - The deprecated ``NetworkUSBStorageDriver `` has been removed. Use the
17+ `USBStorageDriver ` instead.
1618
1719Release 25.0 (Released May 7, 2025)
1820-----------------------------------
@@ -693,7 +695,7 @@ Breaking changes in 0.3.0
693695- The ``HawkbitTestClient `` and ``USBStick `` classes have been removed
694696- The original USBStorageDriver was removed, ``NetworkUSBStorageDriver `` was
695697 renamed to `USBStorageDriver `.
696- A deprecated `NetworkUSBStorageDriver ` exists temporarily for compatibility
698+ A deprecated `` NetworkUSBStorageDriver ` ` exists temporarily for compatibility
697699 reasons.
698700
699701Known issues in 0.3.0
Original file line number Diff line number Diff line change 2424from .modbusdriver import ModbusCoilDriver
2525from .modbusrtudriver import ModbusRTUDriver
2626from .sigrokdriver import SigrokDriver , SigrokPowerDriver , SigrokDmmDriver
27- from .usbstoragedriver import USBStorageDriver , NetworkUSBStorageDriver , Mode
27+ from .usbstoragedriver import USBStorageDriver , Mode
2828from .resetdriver import DigitalOutputResetDriver
2929from .gpiodriver import GpioDigitalOutputDriver
3030from .filedigitaloutput import FileDigitalOutputDriver
Original file line number Diff line number Diff line change @@ -240,13 +240,3 @@ def get_size(self, partition=None):
240240 except ValueError :
241241 # when the medium gets ready the sysfs attribute is empty for a short time span
242242 return 0
243-
244-
245- @target_factory .reg_driver
246- @attr .s (eq = False )
247- class NetworkUSBStorageDriver (USBStorageDriver ):
248- def __attrs_post_init__ (self ):
249- import warnings
250- warnings .warn ("NetworkUSBStorageDriver is deprecated, use USBStorageDriver instead" ,
251- DeprecationWarning )
252- super ().__attrs_post_init__ ()
You can’t perform that action at this time.
0 commit comments