Skip to content

Commit f536a55

Browse files
authored
update pgrx (#1229)
1 parent 689bea8 commit f536a55

File tree

8 files changed

+42
-39
lines changed

8 files changed

+42
-39
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
run: |
5353
curl https://sh.rustup.rs -sSf | sh -s -- -y
5454
source ~/.cargo/env
55-
cargo install cargo-pgrx --version "0.11.0" --locked
55+
cargo install cargo-pgrx --version "0.11.2" --locked
5656
5757
if [[ ! -d ~/.pgrx ]]; then
5858
cargo pgrx init

.github/workflows/ubuntu-packages-and-docker-image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ jobs:
9898
with:
9999
working-directory: pgml-extension
100100
command: install
101-
args: cargo-pgrx --version "0.11.0" --locked
101+
args: cargo-pgrx --version "0.11.2" --locked
102102
- name: pgrx init
103103
uses: postgresml/gh-actions-cargo@master
104104
with:

pgml-cms/docs/resources/developer-docs/contributing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Once there, you can initialize `pgrx` and get going:
6767
#### Pgrx command line and environments
6868

6969
```commandline
70-
cargo install cargo-pgrx --version "0.9.8" --locked && \
70+
cargo install cargo-pgrx --version "0.11.2" --locked && \
7171
cargo pgrx init # This will take a few minutes
7272
```
7373

pgml-cms/docs/resources/developer-docs/installation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ brew bundle
3636
PostgresML is written in Rust, so you'll need to install the latest compiler from [rust-lang.org](https://rust-lang.org). Additionally, we use the Rust PostgreSQL extension framework `pgrx`, which requires some initialization steps:
3737

3838
```bash
39-
cargo install cargo-pgrx --version 0.9.8 && \
39+
cargo install cargo-pgrx --version 0.11.2 && \
4040
cargo pgrx init
4141
```
4242

@@ -288,7 +288,7 @@ We use the `pgrx` Postgres Rust extension framework, which comes with its own in
288288

289289
```bash
290290
cd pgml-extension && \
291-
cargo install cargo-pgrx --version 0.9.8 && \
291+
cargo install cargo-pgrx --version 0.11.2 && \
292292
cargo pgrx init
293293
```
294294

pgml-cms/docs/resources/developer-docs/self-hosting/building-from-source.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ For a typical deployment in production, you would need to compile and install th
4545
To install `pgrx`, simply run:
4646

4747
```
48-
cargo install cargo-pgrx --version "0.10.0"
48+
cargo install cargo-pgrx --version "0.11.2"
4949
```
5050

5151
Before using `pgrx`, it needs to be initialized against the installed version of PostgreSQL. In this example, we'll be using the Ubuntu 22.04 default PostgreSQL 14 installation:

pgml-dashboard/Cargo.lock

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

pgml-extension/Cargo.lock

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

pgml-extension/Cargo.toml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -19,39 +19,39 @@ python = ["pyo3"]
1919
cuda = ["xgboost/cuda", "lightgbm/cuda"]
2020

2121
[dependencies]
22-
pgrx = "=0.11.0"
23-
pgrx-pg-sys = "=0.11.0"
24-
xgboost = { git = "https://github.com/postgresml/rust-xgboost.git", branch = "master" }
25-
once_cell = { version = "1", features = ["parking_lot"] }
26-
rand = "0.8"
27-
ndarray = { version = "0.15.6", features = ["serde", "blas"] }
28-
ndarray-stats = "0.5.1"
22+
anyhow = { version = "1.0" }
23+
csv = "1.2"
24+
flate2 = "1.0"
2925
blas = { version = "0.22" }
3026
blas-src = { version = "0.9", features = ["openblas"] }
31-
openblas-src = { version = "0.10", features = ["cblas", "system"] }
32-
serde = { version = "1.0" }
33-
serde_json = { version = "1.0", features = ["preserve_order"] }
34-
rmp-serde = { version = "1.1" }
35-
typetag = "0.2"
27+
indexmap = { version = "1.0", features = ["serde"] }
28+
itertools = "0.11"
3629
pyo3 = { version = "0.17", features = ["auto-initialize"], optional = true }
3730
heapless = "0.7"
3831
lightgbm = { git = "https://github.com/postgresml/lightgbm-rs", branch = "main" }
39-
parking_lot = "0.12"
40-
itertools = "0.11"
4132
linfa = { path = "deps/linfa" }
4233
linfa-linear = { path = "deps/linfa/algorithms/linfa-linear", features = [
4334
"serde",
4435
] }
4536
linfa-logistic = { path = "deps/linfa/algorithms/linfa-logistic" }
4637
linfa-svm = { path = "deps/linfa/algorithms/linfa-svm", features = ["serde"] }
47-
anyhow = { version = "1.0" }
48-
indexmap = { version = "1.0", features = ["serde"] }
38+
once_cell = { version = "1", features = ["parking_lot"] }
39+
openblas-src = { version = "0.10", features = ["cblas", "system"] }
40+
ndarray = { version = "0.15.6", features = ["serde", "blas"] }
41+
ndarray-stats = "0.5.1"
42+
parking_lot = "0.12"
43+
pgrx = "=0.11.2"
44+
pgrx-pg-sys = "=0.11.2"
45+
rand = "0.8"
46+
rmp-serde = { version = "1.1" }
4947
signal-hook = "0.3"
50-
flate2 = "1.0"
51-
csv = "1.2"
48+
serde = { version = "1.0" }
49+
serde_json = { version = "1.0", features = ["preserve_order"] }
50+
typetag = "0.2"
51+
xgboost = { git = "https://github.com/postgresml/rust-xgboost.git", branch = "master" }
5252

5353
[dev-dependencies]
54-
pgrx-tests = "=0.11.0"
54+
pgrx-tests = "=0.11.2"
5555

5656
[build-dependencies]
5757
vergen = { version = "8", features = ["build", "git", "gitcl"] }

0 commit comments

Comments
 (0)