diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bb7acff49..a955d7287 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,7 +43,7 @@ jobs: run: | curl https://sh.rustup.rs -sSf | sh -s -- -y source ~/.cargo/env - cargo install cargo-pgrx --version "0.7.4" + cargo install cargo-pgrx --version "0.8.2" --locked if [[ ! -d ~/.pgrx ]]; then cargo pgrx init diff --git a/.github/workflows/package-extension.yml b/.github/workflows/package-extension.yml index 3649e8162..62390b6ad 100644 --- a/.github/workflows/package-extension.yml +++ b/.github/workflows/package-extension.yml @@ -84,7 +84,7 @@ jobs: with: working-directory: pgml-extension command: install - args: cargo-pgrx --version "0.7.4" + args: cargo-pgrx --version "0.8.2" --locked - name: pgrx init uses: postgresml/gh-actions-cargo@master with: diff --git a/pgml-docs/docs/developer_guide/overview.md b/pgml-docs/docs/developer_guide/overview.md index 21f999982..7082b4bf5 100644 --- a/pgml-docs/docs/developer_guide/overview.md +++ b/pgml-docs/docs/developer_guide/overview.md @@ -76,7 +76,7 @@ Once there, you can initialize `pgrx` and get going: #### Pgx command line and environments ```commandline -cargo install cargo-pgrx --version "0.7.4" && \ +cargo install cargo-pgrx --version "0.8.2" --locked && \ cargo pgrx init # This will take a few minutes ``` diff --git a/pgml-docs/docs/user_guides/setup/v2/installation.md b/pgml-docs/docs/user_guides/setup/v2/installation.md index 9b669d351..45a49d092 100644 --- a/pgml-docs/docs/user_guides/setup/v2/installation.md +++ b/pgml-docs/docs/user_guides/setup/v2/installation.md @@ -98,7 +98,7 @@ sudo apt-get install postgresql ```bash export POSTGRES_VERSION=15 - cargo install cargo-pgrx --version "0.7.4" && \ + cargo install cargo-pgrx --version "0.8.2" --locked && \ cargo pgrx init --pg${POSTGRES_VERSION} /usr/bin/pg_config && \ cargo pgrx package ``` @@ -108,7 +108,7 @@ sudo apt-get install postgresql ```bash export POSTGRES_VERSION=15 cp docker/Cargo.toml.no-python Cargo.toml && \ - cargo install cargo-pgrx --version "0.7.4" && \ + cargo install cargo-pgrx --version "0.8.2" --locked && \ cargo pgrx init --pg${POSTGRES_VERSION} /usr/bin/pg_config && \ cargo pgrx package ``` diff --git a/pgml-extension/Dockerfile b/pgml-extension/Dockerfile index 1c61f9e99..1597dc195 100644 --- a/pgml-extension/Dockerfile +++ b/pgml-extension/Dockerfile @@ -37,7 +37,7 @@ RUN useradd postgresml -m -s /bin/bash -G sudo RUN echo 'postgresml ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers USER postgresml RUN curl https://sh.rustup.rs -sSf | sh -s -- -y -RUN $HOME/.cargo/bin/cargo install cargo-pgrx --version "0.7.4" +RUN $HOME/.cargo/bin/cargo install cargo-pgrx --version "0.8.2" --locked RUN $HOME/.cargo/bin/cargo pgrx init RUN curl https://www.postgresql.org/media/keys/ACCC4CF8.asc | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/apt.postgresql.org.gpg >/dev/null RUN sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list' diff --git a/pgml-extension/docker/Cargo.toml.cuda b/pgml-extension/docker/Cargo.toml.cuda index 8ee22af42..16dd02379 100644 --- a/pgml-extension/docker/Cargo.toml.cuda +++ b/pgml-extension/docker/Cargo.toml.cuda @@ -19,8 +19,8 @@ python = ["pyo3"] cuda = ["xgboost/cuda", "lightgbm/cuda"] [dependencies] -pgrx = "=0.7.4" -pgrx-pg-sys = "=0.7.4" +pgrx = "=0.8.2" +pgrx-pg-sys = "=0.8.2" xgboost = { git="https://github.com/postgresml/rust-xgboost.git", branch = "master" } once_cell = "1" rand = "0.8" @@ -49,7 +49,7 @@ flate2 = "1.0" csv = "1.1" [dev-dependencies] -pgrx-tests = "=0.7.4" +pgrx-tests = "=0.8.2" [profile.dev] panic = "unwind" diff --git a/pgml-extension/docker/Cargo.toml.no-python b/pgml-extension/docker/Cargo.toml.no-python index e1cc1bc42..14f4f311a 100644 --- a/pgml-extension/docker/Cargo.toml.no-python +++ b/pgml-extension/docker/Cargo.toml.no-python @@ -19,8 +19,8 @@ python = ["pyo3"] cuda = ["xgboost/cuda", "lightgbm/cuda"] [dependencies] -pgrx = "=0.7.4" -pgrx-pg-sys = "=0.7.4" +pgrx = "=0.8.2" +pgrx-pg-sys = "=0.8.2" xgboost = { git="https://github.com/postgresml/rust-xgboost.git", branch = "master" } once_cell = "1" rand = "0.8" @@ -49,7 +49,7 @@ flate2 = "1.0" csv = "1.1" [dev-dependencies] -pgrx-tests = "=0.7.4" +pgrx-tests = "=0.8.2" [profile.dev] panic = "unwind"
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: