We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32c2e33 commit ca7a100Copy full SHA for ca7a100
HISTORY.rst
@@ -16,6 +16,8 @@ PlatformIO Core 6
16
6.1.6 (2022-??-??)
17
~~~~~~~~~~~~~~~~~~
18
19
+* Import the "zeroconf" module only when a user lists mDNS devices (issue with zeroconf's LGPL license)
20
+
21
6.1.5 (2022-11-01)
22
23
platformio/device/list/util.py
@@ -18,8 +18,6 @@
import time
from glob import glob
-import zeroconf
-
from platformio import __version__, exception, proc
24
from platformio.compat import IS_MACOS, IS_WINDOWS
25
@@ -84,6 +82,8 @@ def list_logical_devices():
84
82
85
83
86
def list_mdns_services():
+ import zeroconf
87
class mDNSListener:
88
def __init__(self):
89
self._zc = zeroconf.Zeroconf(interfaces=zeroconf.InterfaceChoice.All)
0 commit comments