From a9ce0c8a9a0542a258c5d53e2c916297ce4ce88c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?mutlu=20=C5=9Fim=C5=9Fek?= Date: Fri, 1 Nov 2024 21:40:26 +0300 Subject: [PATCH] maturin old version for sdist --- .github/workflows/CI.yml | 6 +++--- Cargo.toml | 2 +- README.md | 2 +- python-package/Cargo.toml | 4 ++-- python-package/pyproject.toml | 6 +++--- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 3b0ca80..4f5f29a 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -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 @@ -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 @@ -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 diff --git a/Cargo.toml b/Cargo.toml index 60934b4..892e32e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "perpetual" -version = "0.6.1" +version = "0.6.2" edition = "2021" authors = ["Mutlu Simsek "] homepage = "https://perpetual-ml.com" diff --git a/README.md b/README.md index abd816d..31aa758 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/python-package/Cargo.toml b/python-package/Cargo.toml index 6f5dab6..d185ac1 100644 --- a/python-package/Cargo.toml +++ b/python-package/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "py-perpetual" -version = "0.6.1" +version = "0.6.2" edition = "2021" authors = ["Mutlu Simsek "] homepage = "https://perpetual-ml.com" @@ -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" } diff --git a/python-package/pyproject.toml b/python-package/pyproject.toml index 41ad96b..fcdb278 100644 --- a/python-package/pyproject.toml +++ b/python-package/pyproject.toml @@ -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 = [ @@ -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"]