Skip to content

Commit aaef595

Browse files
authored
Bump to version 0.2.6 (#326)
* Set auditwheel=repair for Jupyter macOS builds * Use dylibbundler to bundle libs on macOS * Bump version to 0.2.6
1 parent 3439298 commit aaef595

17 files changed

Lines changed: 48 additions & 22 deletions

File tree

.github/workflows/release-jupyter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ jobs:
9898
uses: PyO3/maturin-action@v1
9999
with:
100100
target: ${{ matrix.target }}
101-
args: --release --out dist
101+
args: --release --out dist --auditwheel=repair
102102
working-directory: ggsql-jupyter
103103

104104
- uses: actions/upload-artifact@v4

.github/workflows/release-packages.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,9 @@ jobs:
105105
- name: Install ODBC
106106
run: brew install unixodbc
107107

108+
- name: Install dylibbundler
109+
run: brew install dylibbundler
110+
108111
- name: Install Rust toolchain
109112
uses: dtolnay/rust-toolchain@stable
110113
with:
@@ -136,6 +139,11 @@ jobs:
136139
- name: Build ggsql binary (x86_64)
137140
run: cargo build --release --bin ggsql --bin ggsql-jupyter
138141

142+
- name: Bundle and sign dynamic library dependencies
143+
run: |
144+
dylibbundler -cd -of -b -x target/release/ggsql -d ./libs/ -p @executable_path/../Resources/libs/
145+
dylibbundler -cd -of -b -x target/release/ggsql-jupyter -d ./libs/ -p @executable_path/../Resources/libs/
146+
139147
- name: Ad-hoc sign binaries
140148
run: |
141149
codesign --force --sign - target/release/ggsql
@@ -175,6 +183,9 @@ jobs:
175183
- name: Install ODBC
176184
run: brew install unixodbc
177185

186+
- name: Install dylibbundler
187+
run: brew install dylibbundler
188+
178189
- name: Install Rust toolchain
179190
uses: dtolnay/rust-toolchain@stable
180191
with:
@@ -206,6 +217,11 @@ jobs:
206217
- name: Build ggsql binary (aarch64)
207218
run: cargo build --release --bin ggsql --bin ggsql-jupyter
208219

220+
- name: Bundle and sign dynamic library dependencies
221+
run: |
222+
dylibbundler -cd -of -b -x target/release/ggsql -d ./libs/ -p @executable_path/../Resources/libs/
223+
dylibbundler -cd -of -b -x target/release/ggsql-jupyter -d ./libs/ -p @executable_path/../Resources/libs/
224+
209225
- name: Build DMG installer (aarch64)
210226
run: cargo packager --release --formats dmg
211227
env:
@@ -307,6 +323,9 @@ jobs:
307323
- name: Build ggsql binary (aarch64)
308324
run: cargo build --release --bin ggsql --bin ggsql-jupyter
309325

326+
- name: Make empty libs dir for bundling
327+
run: mkdir -p libs
328+
310329
- name: Build Debian package (aarch64)
311330
run: cargo packager --release --formats deb
312331

Cargo.lock

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

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ default-members = [
1616
resolver = "2"
1717

1818
[workspace.package]
19-
version = "0.2.5"
19+
version = "0.2.6"
2020
edition = "2021"
2121
authors = ["ggsql Team"]
2222
license = "MIT"
@@ -26,8 +26,8 @@ description = "A declarative visualization language that extends SQL with powerf
2626

2727
[workspace.dependencies]
2828
# workspace packages
29-
tree-sitter-ggsql = { path = "tree-sitter-ggsql", version = "0.2.5" }
30-
ggsql = { path = "src", version = "0.2.5" }
29+
tree-sitter-ggsql = { path = "tree-sitter-ggsql", version = "0.2.6" }
30+
ggsql = { path = "src", version = "0.2.6" }
3131

3232
# Parsing
3333
csscolorparser = "0.8.1"

ggsql-jupyter/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "maturin"
44

55
[project]
66
name = "ggsql-jupyter"
7-
version = "0.2.5"
7+
version = "0.2.6"
88
description = "Jupyter kernel for ggsql - SQL extension for declarative data visualization"
99
readme = "README.md"
1010
license = { text = "MIT" }

ggsql-python/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ggsql-python"
3-
version = "0.2.5"
3+
version = "0.2.6"
44
edition = "2021"
55
authors.workspace = true
66
license.workspace = true

ggsql-python/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "maturin"
44

55
[project]
66
name = "ggsql"
7-
version = "0.2.5"
7+
version = "0.2.6"
88
description = "SQL extension for declarative data visualization"
99
readme = "README.md"
1010
requires-python = ">=3.10"

ggsql-python/python/ggsql/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"execute",
2828
"render_altair",
2929
]
30-
__version__ = "0.2.5"
30+
__version__ = "0.2.6"
3131

3232
# Type alias for any Altair chart type
3333
AltairChart = Union[

ggsql-vscode/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
## 0.2.6
4+
5+
Alpha release.
6+
7+
- Set auditwheel=repair for Jupyter macOS builds
8+
- Use dylibbundler to bundle libs on macOS
9+
310
## 0.2.5
411

512
Alpha release.

ggsql-vscode/package-lock.json

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

0 commit comments

Comments
 (0)