Skip to content

Commit 4e0a722

Browse files
committed
rename vendoring folder
1 parent 7840140 commit 4e0a722

14 files changed

Lines changed: 152 additions & 28 deletions

File tree

.github/workflows/release.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ jobs:
9696
python-version: ${{ matrix.pyversion }}
9797
architecture: x64
9898
- name: Install deps
99-
run: pip install numpy pandas seaborn scikit-learn toml
99+
run: pip install numpy pandas seaborn scikit-learn toml requests
100100
- run: |
101101
cp README.md package-python/README.md
102102
cp LICENSE package-python/LICENSE
@@ -132,7 +132,7 @@ jobs:
132132
python-version: ${{ matrix.pyversion }}
133133
architecture: arm64
134134
- name: Install deps
135-
run: pip install numpy pandas seaborn scikit-learn toml
135+
run: pip install numpy pandas seaborn scikit-learn toml requests
136136
- run: |
137137
cp README.md package-python/README.md
138138
cp LICENSE package-python/LICENSE
@@ -174,10 +174,12 @@ jobs:
174174
r-version: 'release'
175175

176176
- uses: r-lib/actions/setup-pandoc@v2
177+
178+
- name: Install Python Requests
179+
run: pip install requests
177180

178181
- uses: r-lib/actions/setup-r-dependencies@v2
179182
with:
180-
extra-packages: any::rcmdcheck, any::devtools
181183
working-directory: package-r
182184
use-public-rspm: true
183185
cache: true
@@ -194,14 +196,14 @@ jobs:
194196
# Run check on the built tarball
195197
tarball=$(ls perpetual_*.tar.gz)
196198
echo "Checking $tarball"
197-
Rscript -e "rcmdcheck::rcmdcheck(path = '$tarball', args = c('--as-cran', '--no-tests', '--no-manual', '--no-vignettes'), error_on = 'error')"
199+
R CMD check --as-cran --no-tests --no-manual --no-vignettes "$tarball"
198200
199201
- name: Submit to CRAN
200202
if: github.event.release.prerelease == false
201203
run: |
202204
tarball=$(ls perpetual_*.tar.gz)
203205
echo "Submitting $tarball to CRAN"
204-
Rscript -e "devtools::submit_cran(pkg = '$tarball')"
206+
python scripts/submit_cran.py "$tarball"
205207
206208
- name: Upload Release Asset
207209
if: github.event_name == 'release'

.gitignore

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,8 @@ typescript
4141
wsl_*.sh
4242

4343
# Rust vendoring artifacts
44-
package-r/src/rust/.cargo/
45-
package-r/inst/vendor/
46-
package-r/inst/cargo_home/
44+
package-r/inst/v/
45+
package-r/inst/c/
4746
package-r/src/rust/core/
4847

4948
# Python cache

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ members = [
66

77
[package]
88
name = "perpetual"
9-
version = "1.0.16"
9+
version = "1.0.17"
1010
edition = "2021"
1111
authors = ["Mutlu Simsek <msimsek@perpetual-ml.com>", "Serkan Korkmaz <serkor1@duck.com>", "Pieter Pel <pelpieter@gmail.com>"]
1212
homepage = "https://perpetual-ml.com"

package-python/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "py-perpetual"
3-
version = "1.0.16"
3+
version = "1.0.17"
44
edition = "2021"
55
authors = ["Mutlu Simsek <msimsek@perpetual-ml.com>", "Serkan Korkmaz <serkor1@duck.com>", "Pieter Pel <pelpieter@gmail.com>"]
66
homepage = "https://perpetual-ml.com"
@@ -18,7 +18,7 @@ name = "perpetual"
1818
crate-type = ["cdylib", "rlib"]
1919

2020
[dependencies]
21-
perpetual_rs = {package="perpetual", version = "1.0.16", path = "../" }
21+
perpetual_rs = {package="perpetual", version = "1.0.17", path = "../" }
2222
pyo3 = { version = "0.27.2", features = ["extension-module"] }
2323
numpy = "0.27.1"
2424
ndarray = "0.17.2"

package-python/docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
author = "Mutlu Simsek, Serkan Korkmaz, Pieter Pel"
1111

1212
# The full version, including alpha/beta/rc tags
13-
release = "1.0.16"
13+
release = "1.0.17"
1414

1515
# -- General configuration ---------------------------------------------------
1616

package-python/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "maturin"
44

55
[project]
66
name = "perpetual"
7-
version = "1.0.16"
7+
version = "1.0.17"
88
description = "A self-generalizing gradient boosting machine that doesn't need hyperparameter optimization"
99
keywords = [
1010
"rust",

package-python/uv.lock

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

package-r/DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: perpetual
22
Type: Package
33
Title: PerpetualBooster
4-
Version: 1.0.16
4+
Version: 1.0.17
55
Authors@R: c(
66
person("Mutlu", "Simsek", email = "msimsek@perpetual-ml.com", role = c("aut", "cre")),
77
person("Serkan", "Korkmaz", email = "serkor1@duck.com", role = "aut"),

package-r/src/Makevars

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ $(SHLIB): $(STATLIB)
77
$(STATLIB):
88
@echo "Building Rust library for Unix/macOS..."
99
rustc --version
10-
cd rust && CARGO_HOME=../../inst/cargo_home cargo build --release --lib --verbose
10+
cd rust && CARGO_HOME=../../inst/c cargo build --release --lib --verbose
1111

1212
clean:
1313
rm -rf rust/target

package-r/src/Makevars.win

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ all: rust-target
88
rust-target:
99
@echo "Building Rust library for Windows (target: $(TARGET))..."
1010
rustc --version
11-
cd rust && CARGO_HOME=../../inst/cargo_home cargo build --release --lib --manifest-path Cargo.toml --target $(TARGET) --verbose
11+
cd rust && CARGO_HOME=../../inst/c cargo build --release --lib --manifest-path Cargo.toml --target $(TARGET) --verbose
1212
@if [ -f rust/target/$(TARGET)/release/libperpetual_r.a ]; then \
1313
cp rust/target/$(TARGET)/release/libperpetual_r.a .; \
1414
else \

0 commit comments

Comments
 (0)