circfirm 5.0.0__py3-none-any.whl → 5.1.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.
- circfirm/cli/__init__.py +4 -2
- circfirm/py.typed +0 -1
- circfirm/templates/settings.yaml.license +0 -1
- {circfirm-5.0.0.dist-info → circfirm-5.1.1.dist-info}/METADATA +5 -5
- {circfirm-5.0.0.dist-info → circfirm-5.1.1.dist-info}/RECORD +11 -11
- {circfirm-5.0.0.dist-info → circfirm-5.1.1.dist-info}/WHEEL +0 -0
- {circfirm-5.0.0.dist-info → circfirm-5.1.1.dist-info}/entry_points.txt +0 -0
- {circfirm-5.0.0.dist-info → circfirm-5.1.1.dist-info}/licenses/LICENSE +0 -0
- {circfirm-5.0.0.dist-info → circfirm-5.1.1.dist-info}/licenses/NOTICE +0 -0
- {circfirm-5.0.0.dist-info → circfirm-5.1.1.dist-info}/licenses/NOTICE.license +0 -0
- {circfirm-5.0.0.dist-info → circfirm-5.1.1.dist-info}/top_level.txt +0 -0
circfirm/cli/__init__.py
CHANGED
|
@@ -17,6 +17,7 @@ from typing import Any, TypeVar
|
|
|
17
17
|
|
|
18
18
|
import click
|
|
19
19
|
import click_spinner
|
|
20
|
+
import requests
|
|
20
21
|
import yaml
|
|
21
22
|
|
|
22
23
|
import circfirm
|
|
@@ -103,9 +104,10 @@ def download_if_needed(board: str, version: str, language: str) -> None:
|
|
|
103
104
|
circfirm.backend.cache.download_uf2,
|
|
104
105
|
args=(board, version, language),
|
|
105
106
|
)
|
|
106
|
-
except ConnectionError as err:
|
|
107
|
+
except (ConnectionError, requests.exceptions.ConnectionError) as err:
|
|
107
108
|
click.echo(" failed") # Mark as failed
|
|
108
|
-
|
|
109
|
+
if isinstance(err, ConnectionError):
|
|
110
|
+
click.echo(f"Error: {err.args[0]}")
|
|
109
111
|
sys.exit(4)
|
|
110
112
|
else:
|
|
111
113
|
click.echo("Using cached firmware file")
|
circfirm/py.typed
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: circfirm
|
|
3
|
-
Version: 5.
|
|
3
|
+
Version: 5.1.1
|
|
4
4
|
Summary: CLI tool for install firmware for CircuitPython boards
|
|
5
5
|
Author-email: Alec Delaney <tekktrik@gmail.com>
|
|
6
6
|
License: MIT
|
|
@@ -34,16 +34,16 @@ Requires-Dist: boto3==1.42.42
|
|
|
34
34
|
Requires-Dist: boto3-stubs[essential]==1.42.42
|
|
35
35
|
Requires-Dist: click==8.3.1
|
|
36
36
|
Requires-Dist: click-spinner==0.1.10
|
|
37
|
-
Requires-Dist: packaging==
|
|
38
|
-
Requires-Dist: psutil==
|
|
37
|
+
Requires-Dist: packaging==26.0
|
|
38
|
+
Requires-Dist: psutil==7.2.2
|
|
39
39
|
Requires-Dist: pyyaml==6.0.3
|
|
40
40
|
Requires-Dist: requests==2.32.5
|
|
41
41
|
Provides-Extra: dev
|
|
42
42
|
Requires-Dist: build==1.4.0; extra == "dev"
|
|
43
43
|
Requires-Dist: coverage==7.13.3; extra == "dev"
|
|
44
44
|
Requires-Dist: pre-commit==4.5.1; extra == "dev"
|
|
45
|
-
Requires-Dist: pytest==
|
|
46
|
-
Requires-Dist: sphinx==
|
|
45
|
+
Requires-Dist: pytest==9.0.2; extra == "dev"
|
|
46
|
+
Requires-Dist: sphinx==8.1.3; extra == "dev"
|
|
47
47
|
Requires-Dist: sphinx-tabs==3.4.7; extra == "dev"
|
|
48
48
|
Requires-Dist: sphinx-rtd-theme==3.1.0; extra == "dev"
|
|
49
49
|
Dynamic: license-file
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
circfirm/__init__.py,sha256=p6ON2S-WFdtxOBTXUZbeh7qq-PFealnOUHmNCovg8B0,717
|
|
2
|
-
circfirm/py.typed,sha256=
|
|
2
|
+
circfirm/py.typed,sha256=FIvC5TnLXwPBj-dgEV4FBwAlJxzMXhgl50TXLv2d88o,96
|
|
3
3
|
circfirm/startup.py,sha256=EESDlom97BWDaahPqUzTAO1LmnGkMPDDobWCcvGeIeA,1944
|
|
4
4
|
circfirm/backend/__init__.py,sha256=x_ZM50hQwljWLV4mcu8FtybXsFl12mi1RXyGEd6XukU,1856
|
|
5
5
|
circfirm/backend/cache.py,sha256=uVz8F-ksoi-wgwgZP5U3PY60yBqNtUWgE7I4Rnz_kJE,2874
|
|
6
6
|
circfirm/backend/device.py,sha256=sii80sAKFKtLscgbhaTIOKElGiLOG161iEQitMzBlUs,1737
|
|
7
7
|
circfirm/backend/github.py,sha256=xuJxeRjYsrQXearlQnoES0gLGs-xTjrbGeTtGeGtOw4,2088
|
|
8
8
|
circfirm/backend/s3.py,sha256=waz4Uq21tuvcWTk3ORaCKYooCsNmNG0iNXY-J8ceoJ4,2109
|
|
9
|
-
circfirm/cli/__init__.py,sha256=
|
|
9
|
+
circfirm/cli/__init__.py,sha256=jsXX9-VwePHT2svKNqs3aZs63r1rwAyIu2j18pCndrs,6529
|
|
10
10
|
circfirm/cli/about.py,sha256=h5Ud5AKVHBmPqb0d4bQwPSBqtIR1aHLG-6V-H3bNqHU,338
|
|
11
11
|
circfirm/cli/cache.py,sha256=ctjbuwyG_Q3FLO8NGUb5Hp7lTcccK2Gch666A3xG9b4,5388
|
|
12
12
|
circfirm/cli/config.py,sha256=bYzIHzO0LQZhzoBGS9xKnbxPgxS8htWKMrUDaXw8fhg,3120
|
|
@@ -16,12 +16,12 @@ circfirm/cli/install.py,sha256=ajuGWO5touE8tg-5iOK4wpw-SBrFH7CwFKhENfGQMf0,1219
|
|
|
16
16
|
circfirm/cli/query.py,sha256=wL29qaFBt6lnWstkzNO6aPIy5lktI2DNewABSm9b_hU,3624
|
|
17
17
|
circfirm/cli/update.py,sha256=8EK5t8q-B237uIMDEffG0A4hrsG4C9PztDoIMqnmqI8,3525
|
|
18
18
|
circfirm/templates/settings.yaml,sha256=SM1zjXvZg1jikzn9TjgOufl0Pn9KBbrw8sIcJ01BRhQ,69
|
|
19
|
-
circfirm/templates/settings.yaml.license,sha256=
|
|
20
|
-
circfirm-5.
|
|
21
|
-
circfirm-5.
|
|
22
|
-
circfirm-5.
|
|
23
|
-
circfirm-5.
|
|
24
|
-
circfirm-5.
|
|
25
|
-
circfirm-5.
|
|
26
|
-
circfirm-5.
|
|
27
|
-
circfirm-5.
|
|
19
|
+
circfirm/templates/settings.yaml.license,sha256=FIvC5TnLXwPBj-dgEV4FBwAlJxzMXhgl50TXLv2d88o,96
|
|
20
|
+
circfirm-5.1.1.dist-info/licenses/LICENSE,sha256=6pPP6gJ00tqCkxg5gABHDwWUiXZ_mBzH94xxPOqwGj4,1069
|
|
21
|
+
circfirm-5.1.1.dist-info/licenses/NOTICE,sha256=-iTImDmAffekkp_kj8De0_pvckHvXAHLPAJTWOgQsiw,2956
|
|
22
|
+
circfirm-5.1.1.dist-info/licenses/NOTICE.license,sha256=FIvC5TnLXwPBj-dgEV4FBwAlJxzMXhgl50TXLv2d88o,96
|
|
23
|
+
circfirm-5.1.1.dist-info/METADATA,sha256=BqazMfwA8Wlq1EvdeCz8GNDoUOllj7DCGTnKPg9dCw0,4734
|
|
24
|
+
circfirm-5.1.1.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
25
|
+
circfirm-5.1.1.dist-info/entry_points.txt,sha256=33qZTmSuXz8dgi29yjSyb8VsEA8HyhWuhn2MNcjatGQ,46
|
|
26
|
+
circfirm-5.1.1.dist-info/top_level.txt,sha256=qA2407wap3My6jGA5uchH2JjUM7qn73oBPwALN7GR5k,9
|
|
27
|
+
circfirm-5.1.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|