From 09c16b30fdcfa8aeb990dcbb9afe66a959e83fe2 Mon Sep 17 00:00:00 2001 From: Tyler Thomas <36181311+tylerjthomas9@users.noreply.github.com> Date: Fri, 2 Jun 2023 11:20:52 -0700 Subject: [PATCH] Update catboost version to `>=1.1` (#27) * Update catboost version to `>=1.1` * Bump to v0.3.2, and add `catboost` versioning info * reword README --- CondaPkg.toml | 2 +- Project.toml | 2 +- README.md | 11 +++++++++++ 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/CondaPkg.toml b/CondaPkg.toml index aa91286..7a515d2 100644 --- a/CondaPkg.toml +++ b/CondaPkg.toml @@ -1,3 +1,3 @@ [deps.catboost] channel = "conda-forge" -version = "=1.1" +version = ">=1.1" diff --git a/Project.toml b/Project.toml index b353354..f556248 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "CatBoost" uuid = "e2e10f9a-a85d-4fa9-b6b2-639a32100a12" authors = ["Beacon Biosignals, Inc."] -version = "0.3.1" +version = "0.3.2" [deps] MLJModelInterface = "e80e1ace-859a-464e-9ed9-23947d8ae3ea" diff --git a/README.md b/README.md index 3ce0ac8..ce5344a 100644 --- a/README.md +++ b/README.md @@ -58,3 +58,14 @@ preds = predict(model, eval_data) end # module ``` + +# Restricting Python catboost version + +By default, `CatBoost.jl` installs the latest compatible version of `catboost` (version `>=1.1`) in your current `CondaPkg.jl` environment. To install a specific version, create a `CondaPkg.toml` file using `CondaPkg.jl`. Below is an example for specifying `catboost` version `v1.1`: + +```julia +using CondaPkg +CondaPkg.add("catboost"; version="=1.1") +``` + +This will create a `CondaPkg.toml` file in your current envrionment with the restricted `catboost` version. For more information on managing Conda environments with `CondaPkg.jl`, refer to the [official documentation](https://github.com/cjdoris/CondaPkg.jl).