ciel 2.1.3__tar.gz → 2.2.0__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.1.3 → ciel-2.2.0}/PKG-INFO +2 -2
- {ciel-2.1.3 → ciel-2.2.0}/Readme.md +1 -1
- {ciel-2.1.3 → ciel-2.2.0}/ciel/click_common.py +2 -1
- {ciel-2.1.3 → ciel-2.2.0}/ciel/common.py +13 -2
- {ciel-2.1.3 → ciel-2.2.0}/ciel/source.py +1 -0
- {ciel-2.1.3 → ciel-2.2.0}/pyproject.toml +1 -1
- {ciel-2.1.3 → ciel-2.2.0}/ciel/__init__.py +0 -0
- {ciel-2.1.3 → ciel-2.2.0}/ciel/__main__.py +0 -0
- {ciel-2.1.3 → ciel-2.2.0}/ciel/__version__.py +0 -0
- {ciel-2.1.3 → ciel-2.2.0}/ciel/build/__init__.py +0 -0
- {ciel-2.1.3 → ciel-2.2.0}/ciel/build/common.py +0 -0
- {ciel-2.1.3 → ciel-2.2.0}/ciel/build/gf180mcu.py +0 -0
- {ciel-2.1.3 → ciel-2.2.0}/ciel/build/git_multi_clone.py +0 -0
- {ciel-2.1.3 → ciel-2.2.0}/ciel/build/ihp-sg13g2.py +0 -0
- {ciel-2.1.3 → ciel-2.2.0}/ciel/build/sky130.py +0 -0
- {ciel-2.1.3 → ciel-2.2.0}/ciel/families.py +0 -0
- {ciel-2.1.3 → ciel-2.2.0}/ciel/github.py +0 -0
- {ciel-2.1.3 → ciel-2.2.0}/ciel/manage.py +0 -0
- {ciel-2.1.3 → ciel-2.2.0}/ciel/py.typed +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: ciel
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.2.0
|
|
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
|
|
@@ -53,7 +53,7 @@ Debian 11+ or Ubuntu 20.04+ is required.
|
|
|
53
53
|
|
|
54
54
|
```sh
|
|
55
55
|
sudo apt-get update
|
|
56
|
-
sudo apt-get install python3 python3-pip
|
|
56
|
+
sudo apt-get install python3 python3-pip
|
|
57
57
|
```
|
|
58
58
|
|
|
59
59
|
## RHEL and Derivatives
|
|
@@ -100,7 +100,8 @@ def opt_pdk_root(function: Callable):
|
|
|
100
100
|
"--pdk",
|
|
101
101
|
cls=PDKOption,
|
|
102
102
|
required=True,
|
|
103
|
-
|
|
103
|
+
envvar=["PDK_FAMILY", "PDK"],
|
|
104
|
+
help="A valid PDK family or variant (the latter of which is resolved to a family). If the environment PDK_FAMILY or PDK are set, they are used as secondary sources for this value.",
|
|
104
105
|
)(function)
|
|
105
106
|
function = opt(
|
|
106
107
|
"--pdk-root",
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
import os
|
|
19
19
|
import shutil
|
|
20
20
|
import pathlib
|
|
21
|
+
import warnings
|
|
21
22
|
from datetime import datetime
|
|
22
23
|
from dataclasses import dataclass
|
|
23
24
|
from typing import Optional, List
|
|
@@ -82,13 +83,23 @@ def resolve_pdk_family(selector: Optional[str]):
|
|
|
82
83
|
If selector is None, the PDK_FAMILY and PDK environment variables are
|
|
83
84
|
used as fallbacks. If all are None, the function will simply return None.
|
|
84
85
|
|
|
86
|
+
Starting Ciel 3.0.0, supplying None will no longer work and the selector
|
|
87
|
+
will be a string.
|
|
88
|
+
|
|
85
89
|
If the selector is invalid, a ValueError will be raised. "ihp_sg13g2"
|
|
86
90
|
will resolve to "ihp-sg13g2" however for some semblance of backwards
|
|
87
91
|
compatibility with previous versions of Ciel/Volare.
|
|
88
92
|
"""
|
|
89
|
-
selector = selector or os.getenv("PDK_FAMILY") or os.getenv("PDK")
|
|
90
93
|
if selector is None:
|
|
91
|
-
|
|
94
|
+
warnings.warn(
|
|
95
|
+
"Passing None to resolve_pdk_family is deprecated and will be removed in Ciel 3.0.0. Please resolve any environment variables manually.",
|
|
96
|
+
DeprecationWarning,
|
|
97
|
+
stacklevel=2,
|
|
98
|
+
)
|
|
99
|
+
if environment_specified_pdk := os.getenv("PDK_FAMILY") or os.getenv("PDK"):
|
|
100
|
+
selector = environment_specified_pdk
|
|
101
|
+
if selector is None:
|
|
102
|
+
return None
|
|
92
103
|
|
|
93
104
|
if selector == "ihp_sg13g2":
|
|
94
105
|
selector = "ihp-sg13g2"
|
|
@@ -228,6 +228,7 @@ def opt_data_source(function: Callable) -> Callable:
|
|
|
228
228
|
function = click.option(
|
|
229
229
|
"--data-source",
|
|
230
230
|
default="static-web:https://fossi-foundation.github.io/ciel-releases",
|
|
231
|
+
envvar=["CIEL_DATA_SOURCE"],
|
|
231
232
|
required=False,
|
|
232
233
|
show_default=True,
|
|
233
234
|
help="The data source to use for operations that may require contacting a remote server, in the format '{class_id}:{argument}'",
|
|
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
|