Skip to content

Commit 3a3942a

Browse files
authored
Merge branch 'main' into geo-types-example
2 parents 27ae524 + 641772c commit 3a3942a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+10279
-4429
lines changed

.asf.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ github:
5252
collaborators:
5353
- JanKaul
5454
- c-thiel
55+
- mbutrovich
56+
- CTTY
5557
ghp_branch: gh-pages
5658
ghp_path: /
5759

.github/workflows/bindings_python_ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
runs-on: ubuntu-latest
5757
steps:
5858
- uses: actions/checkout@v5
59-
- uses: astral-sh/setup-uv@v6
59+
- uses: astral-sh/setup-uv@v7
6060
with:
6161
version: "0.9.3"
6262
enable-cache: true
@@ -90,7 +90,7 @@ jobs:
9090
working-directory: "bindings/python"
9191
command: build
9292
args: --out dist --sdist
93-
- uses: astral-sh/setup-uv@v6
93+
- uses: astral-sh/setup-uv@v7
9494
with:
9595
version: "0.9.3"
9696
enable-cache: true

.github/workflows/ci.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,13 @@ jobs:
139139

140140
unit:
141141
runs-on: ubuntu-latest
142+
strategy:
143+
matrix:
144+
test-suite:
145+
- { name: "default", args: "--all-targets --all-features --workspace" }
146+
- { name: "smol", args: "--all-targets --no-default-features --features smol --features storage-all --workspace" }
147+
- { name: "doc", args: "--doc --all-features --workspace" }
148+
name: Unit Tests (${{ matrix.test-suite.name }})
142149
steps:
143150
- name: Maximize build space
144151
uses: easimon/maximize-build-space@master
@@ -163,15 +170,11 @@ jobs:
163170

164171
- name: Cache Rust artifacts
165172
uses: Swatinem/rust-cache@v2
173+
with:
174+
key: ${{ matrix.test-suite.name }}
166175

167176
- name: Test
168-
run: cargo test --no-fail-fast --all-targets --all-features --workspace
169-
170-
- name: Smol Test
171-
run: cargo test --no-fail-fast --all-targets --no-default-features --features "smol" --features "storage-all" --workspace
172-
173-
- name: Doc Test
174-
run: cargo test --no-fail-fast --doc --all-features --workspace
177+
run: cargo test --no-fail-fast ${{ matrix.test-suite.args }}
175178

176179
msrv:
177180
name: Verify MSRV

.github/workflows/ci_typos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ jobs:
4242
steps:
4343
- uses: actions/checkout@v5
4444
- name: Check typos
45-
uses: crate-ci/typos@v1.38.1
45+
uses: crate-ci/typos@v1.39.0

.github/workflows/release_python.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ jobs:
146146
147147
- uses: actions/setup-python@v6
148148
with:
149-
python-version: 3.9
149+
python-version: 3.12
150150
- name: Setup Rust toolchain
151151
uses: ./.github/actions/setup-builder
152152
with:
@@ -185,7 +185,7 @@ jobs:
185185
path: bindings/python/dist
186186
- name: Publish to PyPI
187187
uses: pypa/gh-action-pypi-publish@release/v1
188-
189188
with:
190189
skip-existing: true
191190
packages-dir: bindings/python/dist
191+
verbose: true

.github/workflows/release_python_nightly.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ jobs:
8686

8787
- uses: actions/setup-python@v6
8888
with:
89-
python-version: 3.9
89+
python-version: 3.12
9090

9191
- name: Setup Rust toolchain
9292
uses: ./.github/actions/setup-builder
@@ -133,3 +133,4 @@ jobs:
133133
repository-url: https://test.pypi.org/legacy/
134134
skip-existing: true
135135
packages-dir: bindings/python/dist
136+
verbose: true

Cargo.lock

Lines changed: 10 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 & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ enum-ordinalize = "4.3.0"
7171
env_logger = "0.11.8"
7272
expect-test = "1"
7373
faststr = "0.2.31"
74+
flate2 = "1.1.5"
7475
fnv = "1.0.7"
7576
fs-err = "3.1.0"
7677
futures = "0.3"

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ The Apache Iceberg community is built on the principles described in the [Apache
9797
- [Lakekeeper](https://github.com/lakekeeper/lakekeeper/): An Apache-licensed Iceberg REST Catalog with data access controls.
9898
- [Moonlink](https://github.com/Mooncake-Labs/moonlink): A Rust library that enables sub-second mirroring (CDC) of Postgres tables into Iceberg.
9999
- [RisingWave](https://github.com/risingwavelabs/risingwave): A Postgres-compatible SQL database designed for real-time event streaming data processing, analysis, and management.
100+
- [Wrappers](https://github.com/supabase/wrappers): Postgres Foreign Data Wrapper development framework in Rust.
100101

101102
## License
102103

bindings/python/Cargo.toml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,14 @@ crate-type = ["cdylib"]
3333
[dependencies]
3434
arrow = { version = "56", features = ["pyarrow", "chrono-tz"] }
3535
iceberg = { path = "../../crates/iceberg" }
36-
pyo3 = { version = "0.25", features = ["extension-module", "abi3-py39"] }
36+
pyo3 = { version = "0.25", features = ["extension-module", "abi3-py310"] }
3737
iceberg-datafusion = { path = "../../crates/integrations/datafusion" }
3838
datafusion-ffi = { version = "50" }
3939
tokio = { version = "1.46.1", default-features = false }
40+
41+
[profile.release]
42+
codegen-units = 1
43+
debug = false
44+
lto = "thin"
45+
opt-level = "z"
46+
strip = true

0 commit comments

Comments
 (0)