Skip to content

Commit

Permalink
fix: fix release versions (#2897)
Browse files Browse the repository at this point in the history
Solve the issue when publishing rust
```
- cargo package -v --no-verify                            ✔
error: all dependencies must have a version specified when packaging.
dependency `lance-encoding` does not specify a version
Note: The packaged dependency will use the version from crates.io,
the `path` specification will be removed from the dependency declaration.
```
Give the java pom correct versions
  • Loading branch information
LuQQiu authored Sep 17, 2024
1 parent 78d90a9 commit 9ea8d5a
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ lance-encoding-datafusion = { version = "=0.18.1", path = "./rust/lance-encoding
lance-file = { version = "=0.18.1", path = "./rust/lance-file" }
lance-index = { version = "=0.18.1", path = "./rust/lance-index" }
lance-io = { version = "=0.18.1", path = "./rust/lance-io" }
lance-jni = { version = "=0.18.1", path = "./java/core/lance-jni" }
lance-linalg = { version = "=0.18.1", path = "./rust/lance-linalg" }
lance-table = { version = "=0.18.1", path = "./rust/lance-table" }
lance-test-macros = { version = "=0.18.1", path = "./rust/lance-test-macros" }
Expand Down
6 changes: 3 additions & 3 deletions java/core/lance-jni/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ crate-type = ["cdylib"]

[dependencies]
lance = { workspace = true, features = ["substrait"] }
lance-encoding = { path = "../../../rust/lance-encoding" }
lance-linalg = { path = "../../../rust/lance-linalg" }
lance-index = { path = "../../../rust/lance-index" }
lance-encoding = { workspace = true }
lance-linalg = { workspace = true }
lance-index = { workspace = true }
lance-io.workspace = true
arrow = { workspace = true, features = ["ffi"] }
arrow-schema.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion java/core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<parent>
<groupId>com.lancedb</groupId>
<artifactId>lance-parent</artifactId>
<version>0.0.5</version>
<version>0.18.1</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.lancedb</groupId>
<artifactId>lance-parent</artifactId>
<version>0.0.5</version>
<version>0.18.1</version>
<packaging>pom</packaging>

<name>Lance Parent</name>
Expand Down
2 changes: 1 addition & 1 deletion java/spark/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<parent>
<groupId>com.lancedb</groupId>
<artifactId>lance-parent</artifactId>
<version>0.0.5</version>
<version>0.18.1</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down

0 comments on commit 9ea8d5a

Please sign in to comment.