Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

update cargo pgrx to 0.8.2 to match app#610

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
montanalow merged 1 commit intomasterfrommontana/t
Apr 29, 2023
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion.github/workflows/ci.yml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -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
Expand Down
2 changes: 1 addition & 1 deletion.github/workflows/package-extension.yml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -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:
Expand Down
2 changes: 1 addition & 1 deletionpgml-docs/docs/developer_guide/overview.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -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
```

Expand Down
4 changes: 2 additions & 2 deletionspgml-docs/docs/user_guides/setup/v2/installation.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -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
```
Expand All@@ -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
```
Expand Down
2 changes: 1 addition & 1 deletionpgml-extension/Dockerfile
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -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'
Expand Down
6 changes: 3 additions & 3 deletionspgml-extension/docker/Cargo.toml.cuda
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -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"
Expand DownExpand Up@@ -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"
Expand Down
6 changes: 3 additions & 3 deletionspgml-extension/docker/Cargo.toml.no-python
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -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"
Expand DownExpand Up@@ -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"
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp