Skip to content

Commit e44a03b

Browse files
authored
Rename pyvortex to vortex-python (#3377)
This has been annoying me for a while... The PyPi package is now called vortex-data, and this is largely a regular Rust crate. So let's stick with the same naming convention as the others (e.g. vortex-jni) --------- Signed-off-by: Nicholas Gates <[email protected]>
1 parent 5ee2547 commit e44a03b

Some content is hidden

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

105 files changed

+37
-324
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -79,15 +79,15 @@ jobs:
7979
sync: false
8080

8181
# Ensure the stub files are up-to-date with the public API of the native module.
82-
- name: Stubtest - PyVortex
82+
- name: Stubtest - Vortex
8383
run: |
8484
uv run --isolated --all-packages stubtest vortex._lib --allowlist python/vortex/_lib/mypy.allowlist
85-
working-directory: pyvortex/
85+
working-directory: vortex-python/
8686

87-
- name: Pytest - PyVortex
87+
- name: Pytest - Vortex
8888
run: |
8989
uv run --isolated --all-packages pytest --benchmark-disable test/
90-
working-directory: pyvortex/
90+
working-directory: vortex-python/
9191

9292
- name: Doctest - PyVortex
9393
run: |
@@ -120,7 +120,7 @@ jobs:
120120
else
121121
echo "Generated two files"
122122
fi
123-
working-directory: pyvortex/
123+
working-directory: vortex-python/
124124

125125
rust-docs:
126126
name: "Rust (docs)"
@@ -140,7 +140,7 @@ jobs:
140140
run: |
141141
cargo doc --no-deps
142142
# nextest doesn't support doc tests, so we run it here
143-
cargo test --doc --workspace --all-features --exclude pyvortex --exclude vortex-jni --exclude vortex-ffi --exclude xtask --no-fail-fast
143+
cargo test --doc --workspace --all-features --exclude vortex-python --exclude vortex-jni --exclude vortex-ffi --exclude xtask --no-fail-fast
144144
145145
build-rust:
146146
name: "Rust build (${{matrix.config.name}})"
@@ -391,7 +391,7 @@ jobs:
391391
--exclude vortex-datafusion \
392392
--exclude vortex-tui \
393393
--exclude vortex-fuzz \
394-
--exclude pyvortex \
394+
--exclude vortex-python \
395395
--exclude xtask \
396396
--workspace \
397397
--profile bench

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
run: |
3131
cargo publish -Z package-workspace --allow-dirty --workspace \
3232
--exclude bench-vortex \
33-
--exclude pyvortex \
33+
--exclude vortex-python \
3434
--exclude vortex-duckdb \
3535
--exclude vortex-ffi \
3636
--exclude vortex-fuzz \
@@ -89,7 +89,7 @@ jobs:
8989
${{ (matrix.target.os == 'ubuntu' && '--zig') || '' }}
9090
--compatibility manylinux2014
9191
--release
92-
--manifest-path pyvortex/Cargo.toml
92+
--manifest-path vortex-python/Cargo.toml
9393
--out dist
9494
--interpreter python3.11
9595
env:

CLAUDE.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Development Guidelines
22

3-
* project is a monorepo Rust workspace, java bindings in `/java`, python bindings in `/pyvortex`
3+
* project is a monorepo Rust workspace, java bindings in `/java`, python bindings in `/vortex-python`
44
* run `cargo build -p` to build a specific crate
55
* use `cargo clippy --all-targets --all-features` to make sure a project is free of lint issues
66

@@ -15,7 +15,7 @@
1515
* More exotic compressed encodings live in the crates inside of `/encodings/*`
1616
* File IO is defined in `vortex-file`. It uses the concept of a `LayoutReader` defined
1717
in `vortex-layout` crate.
18-
* `/pyvortex` contains the python bindings. rst flavored docs for the project are in `/docs`
18+
* `/vortex-python` contains the python bindings. rst flavored docs for the project are in `/docs`
1919

2020
# Code Style
2121

@@ -24,4 +24,3 @@
2424
or cheap non-zero-cost abstractions.
2525
* Every new public API definition must have a doc comment. Examples are nice to have but not
2626
strictly required.
27-

Cargo.lock

Lines changed: 18 additions & 18 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
@@ -3,7 +3,6 @@ members = [
33
"bench-vortex",
44
"encodings/*",
55
"fuzz",
6-
"pyvortex",
76
"vortex",
87
"vortex-array",
98
"vortex-btrblocks",
@@ -23,6 +22,7 @@ members = [
2322
"vortex-mask",
2423
"vortex-metrics",
2524
"vortex-proto",
25+
"vortex-python",
2626
"vortex-scalar",
2727
"vortex-tui",
2828
"xtask",

docs/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
## Building
44

5-
First, you must compile the pyvortex Rust code into a native library because the Python package
5+
First, you must compile the vortex-python Rust code into a native library because the Python package
66
inherits some of its doc strings from Rust docstrings:
77

88
```
9-
cd ../pyvortex && uv run maturin develop
9+
cd ../vortex-python && uv run maturin develop
1010
```
1111

1212
Build the Vortex docs:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ dev-dependencies = [
3232
]
3333

3434
[tool.uv.workspace]
35-
members = ["pyvortex", "docs"]
35+
members = ["vortex-python", "docs"]
3636

3737
[tool.uv.sources]
3838
vortex-data = { workspace = true }

requirements-dev.lock

Lines changed: 0 additions & 167 deletions
This file was deleted.

0 commit comments

Comments
 (0)