micropython-stubber 1.19.0__py3-none-any.whl → 1.20.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. {micropython_stubber-1.19.0.dist-info → micropython_stubber-1.20.1.dist-info}/METADATA +4 -4
  2. {micropython_stubber-1.19.0.dist-info → micropython_stubber-1.20.1.dist-info}/RECORD +37 -41
  3. mpflash/README.md +41 -33
  4. mpflash/libusb_flash.ipynb +203 -203
  5. mpflash/mpflash/ask_input.py +18 -3
  6. mpflash/mpflash/cli_download.py +16 -12
  7. mpflash/mpflash/cli_flash.py +16 -7
  8. mpflash/mpflash/cli_group.py +1 -1
  9. mpflash/mpflash/cli_list.py +2 -2
  10. mpflash/mpflash/cli_main.py +4 -3
  11. mpflash/mpflash/download.py +11 -8
  12. mpflash/mpflash/flash_uf2.py +1 -1
  13. mpflash/mpflash/list.py +29 -12
  14. mpflash/mpflash/mpboard_id/board_id.py +14 -11
  15. mpflash/mpflash/mpremoteboard/__init__.py +6 -5
  16. mpflash/mpflash/mpremoteboard/runner.py +12 -12
  17. mpflash/mpflash/worklist.py +1 -1
  18. mpflash/poetry.lock +85 -84
  19. mpflash/pyproject.toml +2 -2
  20. stubber/__init__.py +1 -1
  21. stubber/board/createstubs.py +4 -3
  22. stubber/board/createstubs_db.py +4 -4
  23. stubber/board/createstubs_db_min.py +825 -329
  24. stubber/board/createstubs_db_mpy.mpy +0 -0
  25. stubber/board/createstubs_mem.py +4 -4
  26. stubber/board/createstubs_mem_min.py +765 -304
  27. stubber/board/createstubs_mem_mpy.mpy +0 -0
  28. stubber/board/createstubs_min.py +975 -293
  29. stubber/board/createstubs_mpy.mpy +0 -0
  30. stubber/board/modulelist.txt +1 -0
  31. stubber/commands/{mcu_cmd.py → get_mcu_cmd.py} +20 -3
  32. stubber/stubber.py +1 -9
  33. stubber/update_fallback.py +104 -104
  34. stubber/utils/config.py +6 -0
  35. stubber/commands/get_lobo_cmd.py +0 -58
  36. stubber/commands/minify_cmd.py +0 -60
  37. stubber/commands/upd_fallback_cmd.py +0 -36
  38. stubber/commands/upd_module_list_cmd.py +0 -18
  39. {micropython_stubber-1.19.0.dist-info → micropython_stubber-1.20.1.dist-info}/LICENSE +0 -0
  40. {micropython_stubber-1.19.0.dist-info → micropython_stubber-1.20.1.dist-info}/WHEEL +0 -0
  41. {micropython_stubber-1.19.0.dist-info → micropython_stubber-1.20.1.dist-info}/entry_points.txt +0 -0
Binary file
@@ -9,7 +9,7 @@
9
9
  - cross compilation, using mpy-cross,
10
10
  to avoid the compilation step on the micropython device
11
11
 
12
- This variant was generated from createstubs.py by micropython-stubber v1.19.0
12
+ This variant was generated from createstubs.py by micropython-stubber v1.20.1
13
13
  """
14
14
 
15
15
  # Copyright (c) 2019-2024 Jos Verlinde
@@ -34,7 +34,7 @@ try:
34
34
  except ImportError:
35
35
  from ucollections import OrderedDict # type: ignore
36
36
 
37
- __version__ = "v1.19.0"
37
+ __version__ = "v1.20.1"
38
38
  ENOENT = 2
39
39
  _MAX_CLASS_LEVEL = 2 # Max class nesting
40
40
  LIBS = ["lib", "/lib", "/sd/lib", "/flash/lib", "."]
@@ -600,10 +600,10 @@ def _info(): # type:() -> dict[str, str]
600
600
  if (
601
601
  info["version"]
602
602
  and info["version"].endswith(".0")
603
- and info["version"] >= "1.10.0" # versions from 1.10.0 to 1.20.0 do not have a micro .0
603
+ and info["version"] >= "1.10.0" # versions from 1.10.0 to 1.20.1 do not have a micro .0
604
604
  and info["version"] <= "1.19.9"
605
605
  ):
606
- # versions from 1.10.0 to 1.20.0 do not have a micro .0
606
+ # versions from 1.10.0 to 1.20.1 do not have a micro .0
607
607
  info["version"] = info["version"][:-2]
608
608
 
609
609
  # spell-checker: disable