Skip to content

Commit

Permalink
maturin old version for sdist
Browse files Browse the repository at this point in the history
  • Loading branch information
deadsoul44 committed Nov 1, 2024
1 parent 5d6b545 commit a9ce0c8
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
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

0 comments on commit a9ce0c8

Please sign in to comment.