ciel 2.0.2__tar.gz → 2.0.4__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.
- {ciel-2.0.2 → ciel-2.0.4}/PKG-INFO +2 -2
- {ciel-2.0.2 → ciel-2.0.4}/ciel/github.py +4 -1
- {ciel-2.0.2 → ciel-2.0.4}/ciel/source.py +10 -3
- {ciel-2.0.2 → ciel-2.0.4}/pyproject.toml +2 -2
- {ciel-2.0.2 → ciel-2.0.4}/Readme.md +0 -0
- {ciel-2.0.2 → ciel-2.0.4}/ciel/__init__.py +0 -0
- {ciel-2.0.2 → ciel-2.0.4}/ciel/__main__.py +0 -0
- {ciel-2.0.2 → ciel-2.0.4}/ciel/__version__.py +0 -0
- {ciel-2.0.2 → ciel-2.0.4}/ciel/build/__init__.py +0 -0
- {ciel-2.0.2 → ciel-2.0.4}/ciel/build/common.py +0 -0
- {ciel-2.0.2 → ciel-2.0.4}/ciel/build/gf180mcu.py +0 -0
- {ciel-2.0.2 → ciel-2.0.4}/ciel/build/git_multi_clone.py +0 -0
- {ciel-2.0.2 → ciel-2.0.4}/ciel/build/ihp-sg13g2.py +0 -0
- {ciel-2.0.2 → ciel-2.0.4}/ciel/build/sky130.py +0 -0
- {ciel-2.0.2 → ciel-2.0.4}/ciel/click_common.py +0 -0
- {ciel-2.0.2 → ciel-2.0.4}/ciel/common.py +0 -0
- {ciel-2.0.2 → ciel-2.0.4}/ciel/families.py +0 -0
- {ciel-2.0.2 → ciel-2.0.4}/ciel/manage.py +0 -0
- {ciel-2.0.2 → ciel-2.0.4}/ciel/py.typed +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: ciel
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.4
|
|
4
4
|
Summary: An PDK builder/version manager for PDKs in the open_pdks format
|
|
5
5
|
Home-page: https://github.com/fossi-foundation/ciel
|
|
6
6
|
License: Apache-2.0
|
|
@@ -22,7 +22,7 @@ Requires-Dist: click (>=8,<9)
|
|
|
22
22
|
Requires-Dist: httpx (>=0.22.0,<0.29)
|
|
23
23
|
Requires-Dist: pcpp (>=1.2,<2)
|
|
24
24
|
Requires-Dist: pyyaml (>=5,<7)
|
|
25
|
-
Requires-Dist: rich (>=12,<
|
|
25
|
+
Requires-Dist: rich (>=12,<15)
|
|
26
26
|
Requires-Dist: zstandard (>=0.19.0,<1)
|
|
27
27
|
Project-URL: Repository, https://github.com/fossi-foundation/ciel
|
|
28
28
|
Description-Content-Type: text/markdown
|
|
@@ -141,7 +141,10 @@ class GitHubSession(httpx.Client):
|
|
|
141
141
|
url = repo.api + endpoint
|
|
142
142
|
req = self.request(method, url, *args, **kwargs)
|
|
143
143
|
req.raise_for_status()
|
|
144
|
-
|
|
144
|
+
try:
|
|
145
|
+
return req.json()
|
|
146
|
+
except ValueError as e:
|
|
147
|
+
raise ValueError(f"Request {req.url} returned invalid JSON: {e}") from None
|
|
145
148
|
|
|
146
149
|
@classmethod
|
|
147
150
|
def get_user_agent(Self) -> str:
|
|
@@ -70,7 +70,7 @@ class GitHubReleasesDataSource(DataSource):
|
|
|
70
70
|
self.repo,
|
|
71
71
|
"/releases",
|
|
72
72
|
"get",
|
|
73
|
-
params={"page":
|
|
73
|
+
params={"page": page, "per_page": 100},
|
|
74
74
|
)
|
|
75
75
|
releases += last
|
|
76
76
|
|
|
@@ -147,7 +147,10 @@ class StaticWebDataSource(DataSource):
|
|
|
147
147
|
) from None
|
|
148
148
|
else:
|
|
149
149
|
raise e from None
|
|
150
|
-
|
|
150
|
+
try:
|
|
151
|
+
manifest = req.json()
|
|
152
|
+
except ValueError as e:
|
|
153
|
+
raise ValueError(f"Request {req.url} returned invalid JSON: {e}") from None
|
|
151
154
|
|
|
152
155
|
versions = []
|
|
153
156
|
for version in manifest["versions"]:
|
|
@@ -179,7 +182,11 @@ class StaticWebDataSource(DataSource):
|
|
|
179
182
|
) from None
|
|
180
183
|
else:
|
|
181
184
|
raise e from None
|
|
182
|
-
|
|
185
|
+
try:
|
|
186
|
+
manifest = req.json()
|
|
187
|
+
except ValueError as e:
|
|
188
|
+
raise ValueError(f"Request {req.url} returned invalid JSON: {e}") from None
|
|
189
|
+
|
|
183
190
|
assets = []
|
|
184
191
|
for asset in manifest["assets"]:
|
|
185
192
|
assets.append(Asset(**asset))
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "ciel"
|
|
3
|
-
version = "2.0.
|
|
3
|
+
version = "2.0.4"
|
|
4
4
|
description = "An PDK builder/version manager for PDKs in the open_pdks format"
|
|
5
5
|
authors = ["Mohamed Gaber <me@donn.website>", "Efabless Corporation"]
|
|
6
6
|
readme = "Readme.md"
|
|
@@ -18,7 +18,7 @@ classifiers = [
|
|
|
18
18
|
python = ">=3.8"
|
|
19
19
|
click = ">=8,<9"
|
|
20
20
|
pyyaml = ">=5,<7"
|
|
21
|
-
rich = ">=12,<
|
|
21
|
+
rich = ">=12,<15"
|
|
22
22
|
httpx = ">=0.22.0,<0.29"
|
|
23
23
|
pcpp = ">=1.2,<2"
|
|
24
24
|
zstandard = ">=0.19.0,<1"
|
|
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
|