circup 3.0.1__tar.gz → 3.0.3__tar.gz

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 (96) hide show
  1. {circup-3.0.1 → circup-3.0.3}/.pre-commit-config.yaml +1 -1
  2. {circup-3.0.1/circup.egg-info → circup-3.0.3}/PKG-INFO +1 -1
  3. {circup-3.0.1 → circup-3.0.3}/circup/backends.py +4 -4
  4. {circup-3.0.1 → circup-3.0.3/circup.egg-info}/PKG-INFO +1 -1
  5. {circup-3.0.1 → circup-3.0.3}/circup.egg-info/SOURCES.txt +1 -0
  6. circup-3.0.3/docs/requirements.txt +7 -0
  7. circup-3.0.3/readthedocs.yml +23 -0
  8. circup-3.0.1/readthedocs.yml +0 -5
  9. {circup-3.0.1 → circup-3.0.3}/.github/ISSUE_TEMPLATE.md +0 -0
  10. {circup-3.0.1 → circup-3.0.3}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
  11. {circup-3.0.1 → circup-3.0.3}/.github/workflows/build.yml +0 -0
  12. {circup-3.0.1 → circup-3.0.3}/.github/workflows/release.yml +0 -0
  13. {circup-3.0.1 → circup-3.0.3}/.gitignore +0 -0
  14. {circup-3.0.1 → circup-3.0.3}/.isort.cfg +0 -0
  15. {circup-3.0.1 → circup-3.0.3}/.pylintrc +0 -0
  16. {circup-3.0.1 → circup-3.0.3}/CODE_OF_CONDUCT.rst +0 -0
  17. {circup-3.0.1 → circup-3.0.3}/CODE_OF_CONDUCT.rst.license +0 -0
  18. {circup-3.0.1 → circup-3.0.3}/CONTRIBUTING.rst +0 -0
  19. {circup-3.0.1 → circup-3.0.3}/CONTRIBUTING.rst.license +0 -0
  20. {circup-3.0.1 → circup-3.0.3}/LICENSE +0 -0
  21. {circup-3.0.1 → circup-3.0.3}/LICENSES/CC-BY-4.0.txt +0 -0
  22. {circup-3.0.1 → circup-3.0.3}/LICENSES/MIT.txt +0 -0
  23. {circup-3.0.1 → circup-3.0.3}/LICENSES/Unlicense.txt +0 -0
  24. {circup-3.0.1 → circup-3.0.3}/README.rst +0 -0
  25. {circup-3.0.1 → circup-3.0.3}/README.rst.license +0 -0
  26. {circup-3.0.1 → circup-3.0.3}/circup/__init__.py +0 -0
  27. {circup-3.0.1 → circup-3.0.3}/circup/bundle.py +0 -0
  28. {circup-3.0.1 → circup-3.0.3}/circup/command_utils.py +0 -0
  29. {circup-3.0.1 → circup-3.0.3}/circup/commands.py +0 -0
  30. {circup-3.0.1 → circup-3.0.3}/circup/config/bundle_config.json +0 -0
  31. {circup-3.0.1 → circup-3.0.3}/circup/config/bundle_config.json.license +0 -0
  32. {circup-3.0.1 → circup-3.0.3}/circup/lazy_metadata.py +0 -0
  33. {circup-3.0.1 → circup-3.0.3}/circup/logging.py +0 -0
  34. {circup-3.0.1 → circup-3.0.3}/circup/module.py +0 -0
  35. {circup-3.0.1 → circup-3.0.3}/circup/shared.py +0 -0
  36. {circup-3.0.1 → circup-3.0.3}/circup/wwshell/README.rst +0 -0
  37. {circup-3.0.1 → circup-3.0.3}/circup/wwshell/README.rst.license +0 -0
  38. {circup-3.0.1 → circup-3.0.3}/circup/wwshell/__init__.py +0 -0
  39. {circup-3.0.1 → circup-3.0.3}/circup/wwshell/commands.py +0 -0
  40. {circup-3.0.1 → circup-3.0.3}/circup.egg-info/dependency_links.txt +0 -0
  41. {circup-3.0.1 → circup-3.0.3}/circup.egg-info/entry_points.txt +0 -0
  42. {circup-3.0.1 → circup-3.0.3}/circup.egg-info/requires.txt +0 -0
  43. {circup-3.0.1 → circup-3.0.3}/circup.egg-info/top_level.txt +0 -0
  44. {circup-3.0.1 → circup-3.0.3}/docs/_static/favicon.ico +0 -0
  45. {circup-3.0.1 → circup-3.0.3}/docs/_static/favicon.ico.license +0 -0
  46. {circup-3.0.1 → circup-3.0.3}/docs/conf.py +0 -0
  47. {circup-3.0.1 → circup-3.0.3}/docs/index.rst +0 -0
  48. {circup-3.0.1 → circup-3.0.3}/docs/index.rst.license +0 -0
  49. {circup-3.0.1 → circup-3.0.3}/docs/logo.png +0 -0
  50. {circup-3.0.1 → circup-3.0.3}/docs/logo.png.license +0 -0
  51. {circup-3.0.1 → circup-3.0.3}/optional_requirements.txt +0 -0
  52. {circup-3.0.1 → circup-3.0.3}/optional_requirements.txt.license +0 -0
  53. {circup-3.0.1 → circup-3.0.3}/pyproject.toml +0 -0
  54. {circup-3.0.1 → circup-3.0.3}/requirements.txt +0 -0
  55. {circup-3.0.1 → circup-3.0.3}/requirements.txt.license +0 -0
  56. {circup-3.0.1 → circup-3.0.3}/setup.cfg +0 -0
  57. {circup-3.0.1 → circup-3.0.3}/tests/__init__.py +0 -0
  58. {circup-3.0.1 → circup-3.0.3}/tests/bad_module/__init__.py +0 -0
  59. {circup-3.0.1 → circup-3.0.3}/tests/bad_module/my_module.py +0 -0
  60. {circup-3.0.1 → circup-3.0.3}/tests/bad_python.py +0 -0
  61. {circup-3.0.1 → circup-3.0.3}/tests/bundle.json +0 -0
  62. {circup-3.0.1 → circup-3.0.3}/tests/bundle.json.license +0 -0
  63. {circup-3.0.1 → circup-3.0.3}/tests/device.json +0 -0
  64. {circup-3.0.1 → circup-3.0.3}/tests/device.json.license +0 -0
  65. {circup-3.0.1 → circup-3.0.3}/tests/dir_module/__init__.py +0 -0
  66. {circup-3.0.1 → circup-3.0.3}/tests/dir_module/my_module.py +0 -0
  67. {circup-3.0.1 → circup-3.0.3}/tests/import_styles.py +0 -0
  68. {circup-3.0.1 → circup-3.0.3}/tests/local_module.py +0 -0
  69. {circup-3.0.1 → circup-3.0.3}/tests/local_module_cp7.mpy +0 -0
  70. {circup-3.0.1 → circup-3.0.3}/tests/local_module_cp7.mpy.license +0 -0
  71. {circup-3.0.1 → circup-3.0.3}/tests/mock_device/apps/test_app/import_styles.py +0 -0
  72. {circup-3.0.1 → circup-3.0.3}/tests/mock_device/apps/test_app/import_styles_sub.py +0 -0
  73. {circup-3.0.1 → circup-3.0.3}/tests/mock_device/boot_out.txt +0 -0
  74. {circup-3.0.1 → circup-3.0.3}/tests/mock_device/boot_out.txt.license +0 -0
  75. {circup-3.0.1 → circup-3.0.3}/tests/mock_device/import_styles.py +0 -0
  76. {circup-3.0.1 → circup-3.0.3}/tests/mock_device/import_styles_sub.py +0 -0
  77. {circup-3.0.1 → circup-3.0.3}/tests/mock_device/lib/adafruit_waveform/.gitkeep +0 -0
  78. {circup-3.0.1 → circup-3.0.3}/tests/mock_device_2/.gitignore +0 -0
  79. {circup-3.0.1 → circup-3.0.3}/tests/mock_device_2/boot_out.txt +0 -0
  80. {circup-3.0.1 → circup-3.0.3}/tests/mock_device_2/boot_out.txt.license +0 -0
  81. {circup-3.0.1 → circup-3.0.3}/tests/mock_device_2/code.py +0 -0
  82. {circup-3.0.1 → circup-3.0.3}/tests/mock_device_2/import_styles_sub.py +0 -0
  83. {circup-3.0.1 → circup-3.0.3}/tests/mock_device_2/package/__init__.py +0 -0
  84. {circup-3.0.1 → circup-3.0.3}/tests/mock_device_2/package/other.py +0 -0
  85. {circup-3.0.1 → circup-3.0.3}/tests/mount_exists.txt +0 -0
  86. {circup-3.0.1 → circup-3.0.3}/tests/mount_exists.txt.license +0 -0
  87. {circup-3.0.1 → circup-3.0.3}/tests/mount_missing.txt +0 -0
  88. {circup-3.0.1 → circup-3.0.3}/tests/mount_missing.txt.license +0 -0
  89. {circup-3.0.1 → circup-3.0.3}/tests/remote_module.py +0 -0
  90. {circup-3.0.1 → circup-3.0.3}/tests/test_bundle_config.json +0 -0
  91. {circup-3.0.1 → circup-3.0.3}/tests/test_bundle_config.json.license +0 -0
  92. {circup-3.0.1 → circup-3.0.3}/tests/test_bundle_config_local.json +0 -0
  93. {circup-3.0.1 → circup-3.0.3}/tests/test_bundle_config_local.json.license +0 -0
  94. {circup-3.0.1 → circup-3.0.3}/tests/test_circup.py +0 -0
  95. {circup-3.0.1 → circup-3.0.3}/tests/test_module.mpy +0 -0
  96. {circup-3.0.1 → circup-3.0.3}/tests/test_module.mpy.license +0 -0
@@ -22,7 +22,7 @@ repos:
22
22
  types: [python]
23
23
  exclude: "^(docs/|examples/|setup.py$|tests/bad_python.py$)"
24
24
  - repo: https://github.com/fsfe/reuse-tool
25
- rev: v0.14.0
25
+ rev: v3.0.2
26
26
  hooks:
27
27
  - id: reuse
28
28
  - repo: https://github.com/pre-commit/pre-commit-hooks
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: circup
3
- Version: 3.0.1
3
+ Version: 3.0.3
4
4
  Summary: A tool to manage/update libraries on CircuitPython devices.
5
5
  Author-email: Adafruit Industries <circuitpython@adafruit.com>
6
6
  License: MIT License
@@ -184,12 +184,12 @@ class Backend:
184
184
 
185
185
  if self.get_free_space() < new_module_size:
186
186
  self.logger.error(
187
- f"Aborted installing module {name} - "
188
- f"not enough free space ({new_module_size} < {self.get_free_space()})"
187
+ f"Aborted installing module {name} - it needs {new_module_size} bytes "
188
+ f"but only {self.get_free_space()} bytes of storage is available"
189
189
  )
190
190
  click.secho(
191
- f"Aborted installing module {name} - "
192
- f"not enough free space ({new_module_size} < {self.get_free_space()})",
191
+ f"Aborted installing module {name} - it needs {new_module_size} bytes "
192
+ f"but only {self.get_free_space()} bytes of storage is available",
193
193
  fg="red",
194
194
  )
195
195
  return
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: circup
3
- Version: 3.0.1
3
+ Version: 3.0.3
4
4
  Summary: A tool to manage/update libraries on CircuitPython devices.
5
5
  Author-email: Adafruit Industries <circuitpython@adafruit.com>
6
6
  License: MIT License
@@ -48,6 +48,7 @@ docs/index.rst
48
48
  docs/index.rst.license
49
49
  docs/logo.png
50
50
  docs/logo.png.license
51
+ docs/requirements.txt
51
52
  docs/_static/favicon.ico
52
53
  docs/_static/favicon.ico.license
53
54
  tests/__init__.py
@@ -0,0 +1,7 @@
1
+ # SPDX-FileCopyrightText: 2021 Kattni Rembor for Adafruit Industries
2
+ #
3
+ # SPDX-License-Identifier: Unlicense
4
+
5
+ sphinx
6
+ sphinxcontrib-jquery
7
+ sphinx-rtd-theme
@@ -0,0 +1,23 @@
1
+ # SPDX-FileCopyrightText: 2021 ladyada for Adafruit Industries
2
+ #
3
+ # SPDX-License-Identifier: Unlicense
4
+
5
+ # Read the Docs configuration file
6
+ # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
7
+
8
+ version: 2
9
+
10
+ sphinx:
11
+ configuration: docs/conf.py
12
+
13
+ build:
14
+ os: ubuntu-lts-latest
15
+ tools:
16
+ python: "3"
17
+
18
+ python:
19
+ install:
20
+ - requirements: docs/requirements.txt
21
+ - requirements: requirements.txt
22
+
23
+ requirements_file: requirements.txt
@@ -1,5 +0,0 @@
1
- # SPDX-FileCopyrightText: 2017 Scott Shawcroft, written for Adafruit Industries
2
- #
3
- # SPDX-License-Identifier: Unlicense
4
-
5
- requirements_file: requirements.txt
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes