Skip to content

feat(build): migrate to ecc-tools wheel, re-enable ci#57

Merged
Emin017 merged 19 commits intomainfrom
emin/migrate2ecc-wheel
Apr 21, 2026
Merged

feat(build): migrate to ecc-tools wheel, re-enable ci#57
Emin017 merged 19 commits intomainfrom
emin/migrate2ecc-wheel

Conversation

@Emin017
Copy link
Copy Markdown
Member

@Emin017 Emin017 commented Apr 17, 2026

The previous CI built the entire ECOS Studio desktop application (Tauri GUI, AppImage, deb packages) inside the ECC repo. Since the GUI and API server have been moved to ecos/gui/ and ecos/server/ respectively, the ECC repo should focus on what it owns: the RTL-to-GDS Python toolchain and its distributable wheel.

After migrating the build of ecc-tools to its own repository, the time required for both release builds and CI builds will be significantly reduced (we only need to build a pure Python wheel now).

@Emin017 Emin017 force-pushed the emin/migrate2ecc-wheel branch from 97a7d66 to 22735e7 Compare April 20, 2026 07:32
@Emin017 Emin017 changed the title feat(build): migrate to ecc wheel feat(build): migrate to ecc wheel, re-enable ci Apr 20, 2026
@Emin017 Emin017 changed the title feat(build): migrate to ecc wheel, re-enable ci feat(build): migrate to ecc-tools wheel, re-enable ci Apr 20, 2026
@Emin017 Emin017 force-pushed the emin/migrate2ecc-wheel branch 4 times, most recently from 31326ef to 332b797 Compare April 21, 2026 06:52
Emin017 and others added 19 commits April 21, 2026 15:24
Signed-off-by: Emin <me@emin.chat>
Signed-off-by: Emin <me@emin.chat>
…sion

When ecc-dreamplace is a bazel_dep via local_path_override, both modules
declaring hub_name = "pypi" causes rules_python to reject the duplicate.
Prefix both hubs with their repo name.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…m source

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Emin <me@emin.chat>
Signed-off-by: Emin <me@emin.chat>
Signed-off-by: Emin <me@emin.chat>
Signed-off-by: Emin <me@emin.chat>
…urces

Switch from `pip install --no-deps` to `uv pip install` so that the
smoke test respects [tool.uv.sources] URLs for ecc-dreamplace and
ecc-tools, which are not on PyPI. Also restores the ECCToolsModule
import assertion removed in the --no-deps workaround.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Replace --target with a temp venv so uv pip install runs in project
mode and correctly reads pyproject.toml / tool.uv.sources to resolve
ecc-dreamplace and ecc-tools from GitHub URLs instead of PyPI.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Hermetic Python lacks ensurepip, so `python -m venv` fails. Use
`uv venv --python` instead, which does not depend on ensurepip.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
uv pip install does not read tool.uv.sources from pyproject.toml.
Instead, explicitly pass the ecc-tools and ecc-dreamplace wheel URLs
from GitHub Releases so all deps are resolvable during smoke test.
Also switches from pip to uv pip install for consistency.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Emin017 Emin017 force-pushed the emin/migrate2ecc-wheel branch from 332b797 to 9ea2b7d Compare April 21, 2026 07:24
@Emin017 Emin017 marked this pull request as ready for review April 21, 2026 07:50
@Emin017 Emin017 self-assigned this Apr 21, 2026
@Emin017 Emin017 added the enhancement New feature or request label Apr 21, 2026
@Emin017 Emin017 added this to the 0.1.0-Alpha milestone Apr 21, 2026
@Emin017 Emin017 merged commit 5f7a79c into main Apr 21, 2026
1 check passed
@Emin017 Emin017 deleted the emin/migrate2ecc-wheel branch April 21, 2026 08:15
@Emin017
Copy link
Copy Markdown
Member Author

Emin017 commented Apr 21, 2026

Should re-enable format ci after #7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant