diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 63414e185..fb5c47e82 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -52,7 +52,7 @@ jobs: run: | curl https://sh.rustup.rs -sSf | sh -s -- -y source ~/.cargo/env - cargo install cargo-pgrx --version "0.11.0" --locked + cargo install cargo-pgrx --version "0.11.2" --locked if [[ ! -d ~/.pgrx ]]; then cargo pgrx init diff --git a/.github/workflows/ubuntu-packages-and-docker-image.yml b/.github/workflows/ubuntu-packages-and-docker-image.yml index 51261ed45..27970f03b 100644 --- a/.github/workflows/ubuntu-packages-and-docker-image.yml +++ b/.github/workflows/ubuntu-packages-and-docker-image.yml @@ -98,7 +98,7 @@ jobs: with: working-directory: pgml-extension command: install - args: cargo-pgrx --version "0.11.0" --locked + args: cargo-pgrx --version "0.11.2" --locked - name: pgrx init uses: postgresml/gh-actions-cargo@master with: diff --git a/pgml-cms/docs/resources/developer-docs/contributing.md b/pgml-cms/docs/resources/developer-docs/contributing.md index 38688dc26..3648acbe3 100644 --- a/pgml-cms/docs/resources/developer-docs/contributing.md +++ b/pgml-cms/docs/resources/developer-docs/contributing.md @@ -67,7 +67,7 @@ Once there, you can initialize `pgrx` and get going: #### Pgrx command line and environments ```commandline -cargo install cargo-pgrx --version "0.9.8" --locked && \ +cargo install cargo-pgrx --version "0.11.2" --locked && \ cargo pgrx init # This will take a few minutes ``` diff --git a/pgml-cms/docs/resources/developer-docs/installation.md b/pgml-cms/docs/resources/developer-docs/installation.md index 990cec5a8..1226601c4 100644 --- a/pgml-cms/docs/resources/developer-docs/installation.md +++ b/pgml-cms/docs/resources/developer-docs/installation.md @@ -36,7 +36,7 @@ brew bundle 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: ```bash -cargo install cargo-pgrx --version 0.9.8 && \ +cargo install cargo-pgrx --version 0.11.2 && \ cargo pgrx init ``` @@ -288,7 +288,7 @@ We use the `pgrx` Postgres Rust extension framework, which comes with its own in ```bash cd pgml-extension && \ -cargo install cargo-pgrx --version 0.9.8 && \ +cargo install cargo-pgrx --version 0.11.2 && \ cargo pgrx init ``` diff --git a/pgml-cms/docs/resources/developer-docs/self-hosting/building-from-source.md b/pgml-cms/docs/resources/developer-docs/self-hosting/building-from-source.md index 64d6d9f30..e8ae535d6 100644 --- a/pgml-cms/docs/resources/developer-docs/self-hosting/building-from-source.md +++ b/pgml-cms/docs/resources/developer-docs/self-hosting/building-from-source.md @@ -45,7 +45,7 @@ For a typical deployment in production, you would need to compile and install th To install `pgrx`, simply run: ``` -cargo install cargo-pgrx --version "0.10.0" +cargo install cargo-pgrx --version "0.11.2" ``` 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: diff --git a/pgml-dashboard/Cargo.lock b/pgml-dashboard/Cargo.lock index f28f4db10..daa69f6a5 100644 --- a/pgml-dashboard/Cargo.lock +++ b/pgml-dashboard/Cargo.lock @@ -2464,7 +2464,7 @@ checksum = "9b2a4787296e9989611394c33f193f676704af1686e70b8f8033ab5ba9a35a94" [[package]] name = "pgml" -version = "0.10.0" +version = "0.10.1" dependencies = [ "anyhow", "async-trait", @@ -2479,6 +2479,7 @@ dependencies = [ "itertools", "lopdf", "md5", + "parking_lot 0.12.1", "regex", "reqwest", "rust_bridge", diff --git a/pgml-extension/Cargo.lock b/pgml-extension/Cargo.lock index b31db4833..208a64fa2 100644 --- a/pgml-extension/Cargo.lock +++ b/pgml-extension/Cargo.lock @@ -1723,7 +1723,7 @@ dependencies = [ [[package]] name = "pgml" -version = "2.8.0" +version = "2.8.1" dependencies = [ "anyhow", "blas", @@ -1759,9 +1759,9 @@ dependencies = [ [[package]] name = "pgrx" -version = "0.11.0" +version = "0.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd3c4b36fbe84329b86c83bfd33b9514a50606f00074f47085f99062a7dd8c9c" +checksum = "cb44171122605250e719ca2ae49afb357bdb2fce4b3c876fcf2225165237328a" dependencies = [ "atomic-traits", "bitflags 2.4.1", @@ -1784,9 +1784,9 @@ dependencies = [ [[package]] name = "pgrx-macros" -version = "0.11.0" +version = "0.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c6a41e021321a814fac1aa27bd4266208b4507709ecbc28fc99693adfbd0c41" +checksum = "a18ac8628b7de2f29a93d0abdbdcaee95a0e0ef4b59fd4de99cc117e166e843b" dependencies = [ "pgrx-sql-entity-graph", "proc-macro2", @@ -1796,9 +1796,9 @@ dependencies = [ [[package]] name = "pgrx-pg-config" -version = "0.11.0" +version = "0.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17da1e26800e747d501b8d8bb8aeee4530a07d93a39c3fb2c4229a8feff213b2" +checksum = "acd45ac6eb1142c5690df63c4e0bdfb74f27c9f93a7af84f064dc2c0a2c2d6f7" dependencies = [ "cargo_toml", "dirs 5.0.1", @@ -1814,11 +1814,12 @@ dependencies = [ [[package]] name = "pgrx-pg-sys" -version = "0.11.0" +version = "0.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9032b517525ec71579cc68e92905b5f5f63e892c094834202313c42f2f1a669" +checksum = "81c6207939582934fc26fceb651cb5338e363c06ddc6b2d50ca71867f7c70ffe" dependencies = [ "bindgen", + "clang-sys", "eyre", "libc", "memoffset 0.9.0", @@ -1832,13 +1833,14 @@ dependencies = [ "shlex", "sptr", "syn 1.0.109", + "walkdir", ] [[package]] name = "pgrx-sql-entity-graph" -version = "0.11.0" +version = "0.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e4a88203974b887bca8bfdea17ab9936411fb7e84957763dc0124df78d07907" +checksum = "a50083de83b1fac2484e8f2c2a7da5fed0193904e2578fa6c4ce02262c455c2b" dependencies = [ "convert_case", "eyre", @@ -1851,9 +1853,9 @@ dependencies = [ [[package]] name = "pgrx-tests" -version = "0.11.0" +version = "0.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c80deb4310538e6ef14f4cbb30b56eb24b6d7aae66bfd4e516f153987159e65e" +checksum = "6ba0115cd80d9e3ca1d5d2a8ab8b7320d6ed614a53d025b86152696a8b3caa75" dependencies = [ "clap-cargo", "eyre", diff --git a/pgml-extension/Cargo.toml b/pgml-extension/Cargo.toml index a4da7bcbe..1acce9f58 100644 --- a/pgml-extension/Cargo.toml +++ b/pgml-extension/Cargo.toml @@ -19,39 +19,39 @@ python = ["pyo3"] cuda = ["xgboost/cuda", "lightgbm/cuda"] [dependencies] -pgrx = "=0.11.0" -pgrx-pg-sys = "=0.11.0" -xgboost = { git = "https://github.com/postgresml/rust-xgboost.git", branch = "master" } -once_cell = { version = "1", features = ["parking_lot"] } -rand = "0.8" -ndarray = { version = "0.15.6", features = ["serde", "blas"] } -ndarray-stats = "0.5.1" +anyhow = { version = "1.0" } +csv = "1.2" +flate2 = "1.0" blas = { version = "0.22" } blas-src = { version = "0.9", features = ["openblas"] } -openblas-src = { version = "0.10", features = ["cblas", "system"] } -serde = { version = "1.0" } -serde_json = { version = "1.0", features = ["preserve_order"] } -rmp-serde = { version = "1.1" } -typetag = "0.2" +indexmap = { version = "1.0", features = ["serde"] } +itertools = "0.11" pyo3 = { version = "0.17", features = ["auto-initialize"], optional = true } heapless = "0.7" lightgbm = { git = "https://github.com/postgresml/lightgbm-rs", branch = "main" } -parking_lot = "0.12" -itertools = "0.11" linfa = { path = "deps/linfa" } linfa-linear = { path = "deps/linfa/algorithms/linfa-linear", features = [ "serde", ] } linfa-logistic = { path = "deps/linfa/algorithms/linfa-logistic" } linfa-svm = { path = "deps/linfa/algorithms/linfa-svm", features = ["serde"] } -anyhow = { version = "1.0" } -indexmap = { version = "1.0", features = ["serde"] } +once_cell = { version = "1", features = ["parking_lot"] } +openblas-src = { version = "0.10", features = ["cblas", "system"] } +ndarray = { version = "0.15.6", features = ["serde", "blas"] } +ndarray-stats = "0.5.1" +parking_lot = "0.12" +pgrx = "=0.11.2" +pgrx-pg-sys = "=0.11.2" +rand = "0.8" +rmp-serde = { version = "1.1" } signal-hook = "0.3" -flate2 = "1.0" -csv = "1.2" +serde = { version = "1.0" } +serde_json = { version = "1.0", features = ["preserve_order"] } +typetag = "0.2" +xgboost = { git = "https://github.com/postgresml/rust-xgboost.git", branch = "master" } [dev-dependencies] -pgrx-tests = "=0.11.0" +pgrx-tests = "=0.11.2" [build-dependencies] vergen = { version = "8", features = ["build", "git", "gitcl"] } pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

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:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy