Skip to content

Commit 80f650f

Browse files
Upgrade to pgrx 0.9.7 (#790)
Thanks @workingjubilee. Tests pass for me with your changes. What lockfile updates were you prevented from making? We don't typically `cargo update` every time we update a dependency.
1 parent 057db91 commit 80f650f

File tree

8 files changed

+15
-15
lines changed

8 files changed

+15
-15
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
run: |
4242
curl https://sh.rustup.rs -sSf | sh -s -- -y
4343
source ~/.cargo/env
44-
cargo install cargo-pgrx --version "0.9.2" --locked
44+
cargo install cargo-pgrx --version "0.9.7" --locked
4545
4646
if [[ ! -d ~/.pgrx ]]; then
4747
cargo pgrx init

.github/workflows/package-extension.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
with:
8585
working-directory: pgml-extension
8686
command: install
87-
args: cargo-pgrx --version "0.9.2" --locked
87+
args: cargo-pgrx --version "0.9.7" --locked
8888
- name: pgrx init
8989
uses: postgresml/gh-actions-cargo@master
9090
with:

Dockerfile.local

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ ENV PATH="/home/postgresml/.cargo/bin:${PATH}"
7474

7575

7676
# Install pgrx
77-
RUN cargo install cargo-pgrx --version "0.9.2" --locked
77+
RUN cargo install cargo-pgrx --version "0.9.7" --locked
7878

7979

8080
COPY --chown=postgresml:postgresml ./ /app

pgml-dashboard/content/docs/guides/setup/developers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Once there, you can initialize `pgrx` and get going:
7070

7171
#### Pgrx command line and environments
7272
```commandline
73-
cargo install cargo-pgrx --version "0.9.2" --locked && \
73+
cargo install cargo-pgrx --version "0.9.7" --locked && \
7474
cargo pgrx init # This will take a few minutes
7575
```
7676

pgml-dashboard/content/docs/guides/setup/v2/installation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ version accordingly if yours is different. Other flavors of Linux should work, b
9797

9898
```
9999
export POSTGRES_VERSION=15
100-
cargo install cargo-pgrx --version "0.9.2" --locked && \
100+
cargo install cargo-pgrx --version "0.9.7" --locked && \
101101
cargo pgrx init --pg${POSTGRES_VERSION} /usr/bin/pg_config && \
102102
cargo pgrx package
103103
```
@@ -106,7 +106,7 @@ version accordingly if yours is different. Other flavors of Linux should work, b
106106
```
107107
export POSTGRES_VERSION=15
108108
cp docker/Cargo.toml.no-python Cargo.toml && \
109-
cargo install cargo-pgrx --version "0.9.2" --locked && \
109+
cargo install cargo-pgrx --version "0.9.7" --locked && \
110110
cargo pgrx init --pg${POSTGRES_VERSION} /usr/bin/pg_config && \
111111
cargo pgrx package
112112
```

pgml-extension/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ python = ["pyo3"]
1818
cuda = ["xgboost/cuda", "lightgbm/cuda"]
1919

2020
[dependencies]
21-
pgrx = "=0.9.2"
22-
pgrx-pg-sys = "=0.9.2"
21+
pgrx = "=0.9.7"
22+
pgrx-pg-sys = "=0.9.7"
2323
xgboost = { git="https://github.com/postgresml/rust-xgboost.git", branch = "master" }
2424
once_cell = "1"
2525
rand = "0.8"
@@ -48,7 +48,7 @@ flate2 = "1.0"
4848
csv = "1.1"
4949

5050
[dev-dependencies]
51-
pgrx-tests = "=0.9.2"
51+
pgrx-tests = "=0.9.7"
5252

5353
[profile.dev]
5454
panic = "unwind"

pgml-extension/docker/Cargo.toml.cuda

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

2121
[dependencies]
22-
pgrx = "=0.9.2"
23-
pgrx-pg-sys = "=0.9.2"
22+
pgrx = "=0.9.7"
23+
pgrx-pg-sys = "=0.9.7"
2424
xgboost = { git="https://github.com/postgresml/rust-xgboost.git", branch = "master" }
2525
once_cell = "1"
2626
rand = "0.8"
@@ -49,7 +49,7 @@ flate2 = "1.0"
4949
csv = "1.1"
5050

5151
[dev-dependencies]
52-
pgrx-tests = "=0.9.2"
52+
pgrx-tests = "=0.9.7"
5353

5454
[profile.dev]
5555
panic = "unwind"

pgml-extension/docker/Cargo.toml.no-python

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ python = ["pyo3"]
1818
cuda = ["xgboost/cuda", "lightgbm/cuda"]
1919

2020
[dependencies]
21-
pgrx = "=0.9.2"
22-
pgrx-pg-sys = "=0.9.2"
21+
pgrx = "=0.9.7"
22+
pgrx-pg-sys = "=0.9.7"
2323
xgboost = { git="https://github.com/postgresml/rust-xgboost.git", branch = "master" }
2424
once_cell = "1"
2525
rand = "0.8"
@@ -48,7 +48,7 @@ flate2 = "1.0"
4848
csv = "1.1"
4949

5050
[dev-dependencies]
51-
pgrx-tests = "=0.9.2"
51+
pgrx-tests = "=0.9.7"
5252

5353
[profile.dev]
5454
panic = "unwind"

0 commit comments

Comments
 (0)