Skip to content

Commit 6579206

Browse files
okt4vclaude
andcommitted
fix: remove libpython runtime dependency from default binary
Flip asat's default feature from python=on to python=off. Pre-built binaries were dynamically linked against libpython3.12 and crashed at startup for anyone without Python 3.12 installed. Python plugin support is still available — build with --features python to opt in. Also revert the --no-default-features workflow workaround (no longer needed) and bump to v0.1.18. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 6154c5d commit 6579206

6 files changed

Lines changed: 26 additions & 32 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,27 +19,21 @@ jobs:
1919
- target: x86_64-unknown-linux-gnu
2020
os: ubuntu-latest
2121
archive: tar.gz
22-
cargo_flags: ""
2322
- target: x86_64-unknown-linux-musl
2423
os: ubuntu-latest
2524
archive: tar.gz
26-
cargo_flags: "--no-default-features"
2725
- target: aarch64-unknown-linux-gnu
2826
os: ubuntu-latest
2927
archive: tar.gz
30-
cargo_flags: "--no-default-features"
3128
- target: x86_64-apple-darwin
3229
os: macos-latest
3330
archive: tar.gz
34-
cargo_flags: ""
3531
- target: aarch64-apple-darwin
3632
os: macos-latest
3733
archive: tar.gz
38-
cargo_flags: ""
3934
- target: x86_64-pc-windows-msvc
4035
os: windows-latest
4136
archive: zip
42-
cargo_flags: ""
4337

4438
steps:
4539
- uses: actions/checkout@v4
@@ -61,7 +55,7 @@ jobs:
6155
echo "CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=aarch64-linux-gnu-gcc" >> $GITHUB_ENV
6256
6357
- name: Build
64-
run: cargo build --release --locked --target ${{ matrix.target }} -p asat ${{ matrix.cargo_flags }}
58+
run: cargo build --release --locked --target ${{ matrix.target }} -p asat
6559

6660
- name: Package (Unix)
6761
if: matrix.archive == 'tar.gz'

Cargo.lock

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ members = [
1313
resolver = "2"
1414

1515
[workspace.package]
16-
version = "0.1.17"
16+
version = "0.1.18"
1717
edition = "2021"
1818
license = "GPL-3.0"
1919
authors = ["okt4v"]

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -54,16 +54,16 @@
5454

5555
### Pre-built binaries (GitHub Releases)
5656

57-
Download a binary for your platform from the [v0.1.17 release](https://github.com/okt4v/ASAT/releases/tag/v0.1.17):
57+
Download a binary for your platform from the [v0.1.18 release](https://github.com/okt4v/ASAT/releases/tag/v0.1.18):
5858

5959
| Platform | Link |
6060
|----------|------|
61-
| Linux x86_64 (glibc) | [asat-x86_64-unknown-linux-gnu.tar.gz](https://github.com/okt4v/ASAT/releases/download/v0.1.17/asat-x86_64-unknown-linux-gnu.tar.gz) |
62-
| Linux x86_64 (musl) | [asat-x86_64-unknown-linux-musl.tar.gz](https://github.com/okt4v/ASAT/releases/download/v0.1.17/asat-x86_64-unknown-linux-musl.tar.gz) |
63-
| Linux aarch64 | [asat-aarch64-unknown-linux-gnu.tar.gz](https://github.com/okt4v/ASAT/releases/download/v0.1.17/asat-aarch64-unknown-linux-gnu.tar.gz) |
64-
| macOS arm64 | [asat-aarch64-apple-darwin.tar.gz](https://github.com/okt4v/ASAT/releases/download/v0.1.17/asat-aarch64-apple-darwin.tar.gz) |
65-
| macOS x86_64 | [asat-x86_64-apple-darwin.tar.gz](https://github.com/okt4v/ASAT/releases/download/v0.1.17/asat-x86_64-apple-darwin.tar.gz) |
66-
| Windows x86_64 | [asat-x86_64-pc-windows-msvc.zip](https://github.com/okt4v/ASAT/releases/download/v0.1.17/asat-x86_64-pc-windows-msvc.zip) |
61+
| Linux x86_64 (glibc) | [asat-x86_64-unknown-linux-gnu.tar.gz](https://github.com/okt4v/ASAT/releases/download/v0.1.18/asat-x86_64-unknown-linux-gnu.tar.gz) |
62+
| Linux x86_64 (musl) | [asat-x86_64-unknown-linux-musl.tar.gz](https://github.com/okt4v/ASAT/releases/download/v0.1.18/asat-x86_64-unknown-linux-musl.tar.gz) |
63+
| Linux aarch64 | [asat-aarch64-unknown-linux-gnu.tar.gz](https://github.com/okt4v/ASAT/releases/download/v0.1.18/asat-aarch64-unknown-linux-gnu.tar.gz) |
64+
| macOS arm64 | [asat-aarch64-apple-darwin.tar.gz](https://github.com/okt4v/ASAT/releases/download/v0.1.18/asat-aarch64-apple-darwin.tar.gz) |
65+
| macOS x86_64 | [asat-x86_64-apple-darwin.tar.gz](https://github.com/okt4v/ASAT/releases/download/v0.1.18/asat-x86_64-apple-darwin.tar.gz) |
66+
| Windows x86_64 | [asat-x86_64-pc-windows-msvc.zip](https://github.com/okt4v/ASAT/releases/download/v0.1.18/asat-x86_64-pc-windows-msvc.zip) |
6767

6868
Extract the archive and place the `asat` binary somewhere on your `$PATH` (e.g. `~/.local/bin/`).
6969

@@ -85,8 +85,8 @@ brew install asat
8585
### Debian / Ubuntu (apt)
8686

8787
```bash
88-
curl -LO https://github.com/okt4v/ASAT/releases/download/v0.1.17/asat_0.1.17-1_amd64.deb
89-
sudo apt install ./asat_0.1.17-1_amd64.deb
88+
curl -LO https://github.com/okt4v/ASAT/releases/download/v0.1.18/asat_0.1.18-1_amd64.deb
89+
sudo apt install ./asat_0.1.18-1_amd64.deb
9090
```
9191

9292
`apt install ./file.deb` resolves dependencies automatically and registers the package so `apt remove asat` works as expected.

crates/asat/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ assets = [
3535
]
3636

3737
[features]
38-
default = ["python"]
38+
default = []
3939
python = ["asat-plugins/python"]
4040

4141
[dependencies]

docs/index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -933,7 +933,7 @@
933933
</div>
934934

935935
<div class="hero-content">
936-
<div class="hero-badge">v0.1.17 — Written in Rust</div>
936+
<div class="hero-badge">v0.1.18 — Written in Rust</div>
937937
<h1 class="hero-title">
938938
<span class="title-asat">ASAT</span><span class="title-cursor"></span>
939939
</h1>
@@ -954,7 +954,7 @@ <h1 class="hero-title">
954954
<span class="dot dot-g"></span>
955955
<span class="terminal-title">asat budget.xlsx</span>
956956
</div>
957-
<div class="terminal-body"><span class="t-muted">ASAT v0.1.17 — Advanced Spreadsheet Alteration Tool</span>
957+
<div class="terminal-body"><span class="t-muted">ASAT v0.1.18 — Advanced Spreadsheet Alteration Tool</span>
958958
<span class="t-addr">B3</span> <span class="t-formula">=SUM(B1:B2)</span>
959959
<span class="t-header"> ┄┄┄┄┄┄ A ┄┄┄┄┄┄┄ ┄┄┄┄┄┄ B ┄┄┄┄┄┄</span>
960960
<span class="t-row-num"> 1 </span> Revenue <span class="t-number">84,200</span>
@@ -1146,11 +1146,11 @@ <h2 class="section-title">Install in seconds.</h2>
11461146
<div class="install-panel" id="ipanel-deb">
11471147
<div class="install-panel-label">Debian / Ubuntu — install via apt</div>
11481148
<div class="code-block">
1149-
<div><span class="prompt">$</span><span>curl -LO https://github.com/okt4v/ASAT/releases/download/v0.1.17/asat_0.1.17-1_amd64.deb</span></div>
1149+
<div><span class="prompt">$</span><span>curl -LO https://github.com/okt4v/ASAT/releases/download/v0.1.18/asat_0.1.18-1_amd64.deb</span></div>
11501150
<button class="copy-btn" onclick="copyCode(this)">copy</button>
11511151
</div>
11521152
<div class="code-block" style="margin-top:0.5rem">
1153-
<div><span class="prompt">$</span><span>sudo apt install ./asat_0.1.17-1_amd64.deb</span></div>
1153+
<div><span class="prompt">$</span><span>sudo apt install ./asat_0.1.18-1_amd64.deb</span></div>
11541154
<button class="copy-btn" onclick="copyCode(this)">copy</button>
11551155
</div>
11561156
<p style="color:var(--text-muted);font-size:0.8rem;margin-top:0.6rem">Resolves dependencies automatically. Uninstall with <code style="font-family:var(--mono)">sudo apt remove asat</code>.</p>
@@ -1180,7 +1180,7 @@ <h2 class="section-title">Install in seconds.</h2>
11801180
<!-- Pre-built binaries note -->
11811181
<p class="step-desc" style="margin-top:1rem">
11821182
Pre-built binaries for Linux x86_64, Linux aarch64, macOS arm64, macOS x86_64, and Windows x86_64 are available on the
1183-
<a href="https://github.com/okt4v/ASAT/releases/tag/v0.1.17" style="color:var(--amber);text-decoration:none;">v0.1.17 GitHub Release</a>.
1183+
<a href="https://github.com/okt4v/ASAT/releases/tag/v0.1.18" style="color:var(--amber);text-decoration:none;">v0.1.18 GitHub Release</a>.
11841184
</p>
11851185
</div>
11861186

0 commit comments

Comments
 (0)