Commit e205f7d
fix(deps): pin klayout==0.29.2 to match mpw_precheck base image (1.3.2) (#110)
The chipfoundry/mpw_precheck base image ships a RockyLinux RPM of
klayout-0.29.2 that installs native .so files into site-packages. With
the previous unpinned `klayout` dependency, a subsequent
`pip install --force-reinstall cf-precheck` on top of that base (as done
by the remote precheck-runner image) would happily resolve `klayout` to
the latest PyPI version (currently 0.30.x), whose Python wrappers are
ABI-incompatible with the 0.29.2 .so files from the RPM. `import pya`
then fails with:
ImportError: /usr/local/lib64/python3.9/site-packages/klayout/
lib_db.cpython-39-x86_64-linux-gnu.so: undefined symbol:
_ZNK2db18shape_interactions...intruders_for
Pinning to the exact version the base-image RPM provides keeps pip-only
installs (including ECS runner rebuilds) coherent. Bump the image's RPM
and this pin together when upgrading KLayout in future.
Made-with: Cursor
Co-authored-by: jdicorpo <jdicorpo@gmail.com>1 parent f2d9445 commit e205f7d
2 files changed
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
15 | 22 | | |
16 | 23 | | |
17 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
0 commit comments