Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

maturin old version for sdist #23

Merged
merged 1 commit into from
Nov 1, 2024
Merged
Show file tree
Hide file tree
Changes from all 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
6 changes: 3 additions & 3 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
with:
target: x86_64
command: build
args: --release --strip --interpreter python --manifest-path python-package/Cargo.toml --out dist
args: --release --strip --interpreter python --manifest-path python-package/Cargo.toml --out dist --sdist
- name: Install wheel
run: pip install perpetual --no-index --find-links dist --no-deps --force-reinstall
- name: Run Package Tests
Expand Down Expand Up @@ -80,7 +80,7 @@ jobs:
uses: PyO3/maturin-action@v1
with:
command: build
args: --release --strip --interpreter python --manifest-path python-package/Cargo.toml --out dist
args: --release --strip --interpreter python --manifest-path python-package/Cargo.toml --out dist --sdist
- name: Install wheel
run: pip install perpetual --no-index --find-links dist --no-deps --force-reinstall
- name: Run Package Tests
Expand Down Expand Up @@ -129,7 +129,7 @@ jobs:
target: x86_64
manylinux: auto
command: build
args: --release --strip --interpreter python${{ matrix.pyversion }} --manifest-path python-package/Cargo.toml --out dist
args: --release --strip --interpreter python${{ matrix.pyversion }} --manifest-path python-package/Cargo.toml --out dist --sdist
- name: Install wheel
run: pip install perpetual --no-index --find-links dist --no-deps --force-reinstall
- name: Run Package Tests
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "perpetual"
version = "0.6.1"
version = "0.6.2"
edition = "2021"
authors = ["Mutlu Simsek <[email protected]>"]
homepage = "https://perpetual-ml.com"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ pip install perpetual
To use in a Rust project, add the following to your Cargo.toml file to get the package from [crates.io](https://crates.io/crates/perpetual).

```toml
perpetual = "0.6.1"
perpetual = "0.6.2"
```

## Paper
Expand Down
4 changes: 2 additions & 2 deletions python-package/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "py-perpetual"
version = "0.6.1"
version = "0.6.2"
edition = "2021"
authors = ["Mutlu Simsek <[email protected]>"]
homepage = "https://perpetual-ml.com"
Expand All @@ -19,7 +19,7 @@ crate-type = ["cdylib", "rlib"]

[dependencies]
pyo3 = { version = "0.22.5", features = ["extension-module"] }
perpetual_rs = {package="perpetual", version = "0.6.1", path = "../" }
perpetual_rs = {package="perpetual", version = "0.6.2", path = "../" }
numpy = "0.22.0"
ndarray = "0.16.1"
serde_plain = { version = "1.0" }
Expand Down
6 changes: 3 additions & 3 deletions python-package/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[build-system]
requires = ["maturin>=1.0.0,<2.0.0"]
requires = ["maturin>=1.0.0,<1.7.0"]
build-backend = "maturin"

[project]
name = "perpetual"
version = "0.6.1"
version = "0.6.2"
description = "A self-generalizing gradient boosting machine which doesn't need hyperparameter optimization"
license = { file = "LICENSE" }
keywords = [
Expand All @@ -30,7 +30,7 @@ classifiers = [
]

[project.optional-dependencies]
dev = ["pandas", "polars", "pyarrow", "maturin", "pytest", "seaborn", "scikit-learn", "mkdocs-material", "mkdocstrings[python]", "mkdocs-autorefs", "ruff", "typing-extensions"]
dev = ["pandas", "polars", "pyarrow", "maturin==1.6.0", "pytest", "seaborn", "scikit-learn", "mkdocs-material", "mkdocstrings[python]", "mkdocs-autorefs", "ruff"]

[tool.maturin]
sdist-include = ["LICENSE", "README.md"]
Expand Down
Loading