From 7905a2fa84ee77d5d2f97b527353557d5c4ceed8 Mon Sep 17 00:00:00 2001 From: ShaharNaveh <50263213+ShaharNaveh@users.noreply.github.com> Date: Fri, 14 Nov 2025 19:37:11 +0200 Subject: [PATCH 1/5] Move `compiler/source` -> `crates/compiler-source` --- {compiler/source => crates/compiler-source}/Cargo.toml | 0 {compiler/source => crates/compiler-source}/src/lib.rs | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename {compiler/source => crates/compiler-source}/Cargo.toml (100%) rename {compiler/source => crates/compiler-source}/src/lib.rs (100%) diff --git a/compiler/source/Cargo.toml b/crates/compiler-source/Cargo.toml similarity index 100% rename from compiler/source/Cargo.toml rename to crates/compiler-source/Cargo.toml diff --git a/compiler/source/src/lib.rs b/crates/compiler-source/src/lib.rs similarity index 100% rename from compiler/source/src/lib.rs rename to crates/compiler-source/src/lib.rs From d043ecc2b35c3a27461bad75ea7b20315f317262 Mon Sep 17 00:00:00 2001 From: ShaharNaveh <50263213+ShaharNaveh@users.noreply.github.com> Date: Fri, 14 Nov 2025 21:10:41 +0200 Subject: [PATCH 2/5] Remove `rustpython-source` from workspace --- Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index b01734ae7ae..5eb98b20090 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -138,6 +138,9 @@ members = [ "wasm/lib", "crates/*", ] +exclude = [ + "crates/compiler-source", # deprecated. to be removed. +] [workspace.package] version = "0.4.0" From 70434b4b440096fa68c7ca00cccaafab5074b98a Mon Sep 17 00:00:00 2001 From: ShaharNaveh <50263213+ShaharNaveh@users.noreply.github.com> Date: Fri, 14 Nov 2025 21:22:26 +0200 Subject: [PATCH 3/5] Exclude from clippy --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 9ab4610ed11..c3edba5805a 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -137,7 +137,7 @@ jobs: if: runner.os == 'macOS' - name: run clippy - run: cargo clippy ${{ env.CARGO_ARGS }} --workspace --all-targets --exclude rustpython_wasm -- -Dwarnings + run: cargo clippy ${{ env.CARGO_ARGS }} --workspace --all-targets --exclude rustpython_wasm --exclude rustpython-compiler-source -- -Dwarnings - name: run rust tests run: cargo test --workspace --exclude rustpython_wasm --verbose --features threading ${{ env.CARGO_ARGS }} From 5d069edc58770fe2155e332b7e310763109c464f Mon Sep 17 00:00:00 2001 From: ShaharNaveh <50263213+ShaharNaveh@users.noreply.github.com> Date: Fri, 14 Nov 2025 21:35:56 +0200 Subject: [PATCH 4/5] Exclude from tests --- .github/workflows/ci.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index c3edba5805a..dcae77693af 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -140,10 +140,10 @@ jobs: run: cargo clippy ${{ env.CARGO_ARGS }} --workspace --all-targets --exclude rustpython_wasm --exclude rustpython-compiler-source -- -Dwarnings - name: run rust tests - run: cargo test --workspace --exclude rustpython_wasm --verbose --features threading ${{ env.CARGO_ARGS }} + run: cargo test --workspace --exclude rustpython_wasm --exclude rustpython-compiler-source --verbose --features threading ${{ env.CARGO_ARGS }} if: runner.os != 'macOS' - name: run rust tests - run: cargo test --workspace --exclude rustpython_wasm --exclude rustpython-jit --verbose --features threading ${{ env.CARGO_ARGS }} + run: cargo test --workspace --exclude rustpython_wasm --exclude rustpython-jit --exclude rustpython-compiler-source --verbose --features threading ${{ env.CARGO_ARGS }} if: runner.os == 'macOS' - name: check compilation without threading From 9c0ccfb54b14d8881d4ee7a23c60271a84434063 Mon Sep 17 00:00:00 2001 From: ShaharNaveh <50263213+ShaharNaveh@users.noreply.github.com> Date: Sun, 16 Nov 2025 10:52:08 +0200 Subject: [PATCH 5/5] Don't exclude from workspace --- Cargo.toml | 3 --- 1 file changed, 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 194cd301323..54e4f1b6429 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -126,9 +126,6 @@ members = [ "wasm/lib", "crates/*", ] -exclude = [ - "crates/compiler-source", # deprecated. to be removed. -] [workspace.package] version = "0.4.0"