From bdf0cdbbdc696b833e6f066fe71847324d3675fe Mon Sep 17 00:00:00 2001 From: Pavel Zwerschke Date: Wed, 25 Oct 2023 18:52:31 +0200 Subject: [PATCH] Add support for lightgbm 4.1 (#91) --- .github/workflows/ci.yml | 1 + environment-deprecated.yml | 2 +- pixi.toml | 2 +- pyproject.toml | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 20db915..a5cea7b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,6 +29,7 @@ jobs: - { PYTHON_VERSION: '3.8', SKLEARN_VERSION: '', LGBM_VERSION: 'lightgbm=3.2' } - { PYTHON_VERSION: '3.8', SKLEARN_VERSION: '', LGBM_VERSION: 'lightgbm=3.3' } - { PYTHON_VERSION: '3.8', SKLEARN_VERSION: '', LGBM_VERSION: 'lightgbm=4.0' } + - { PYTHON_VERSION: '3.8', SKLEARN_VERSION: '', LGBM_VERSION: 'lightgbm=4.1' } - { PYTHON_VERSION: '3.8', SKLEARN_VERSION: '', LGBM_VERSION: '' } - { PYTHON_VERSION: '3.9', SKLEARN_VERSION: '', LGBM_VERSION: '' } - { PYTHON_VERSION: '3.10', SKLEARN_VERSION: '', LGBM_VERSION: '' } diff --git a/environment-deprecated.yml b/environment-deprecated.yml index 2fe3139..569d0ee 100644 --- a/environment-deprecated.yml +++ b/environment-deprecated.yml @@ -4,7 +4,7 @@ channels: - conda-forge - nodefaults dependencies: - - lightgbm >=3.2,<4.1 + - lightgbm >=3.2,<4.2 - numpy - python >=3.8 - pre-commit diff --git a/pixi.toml b/pixi.toml index 8a72341..aea5e2d 100644 --- a/pixi.toml +++ b/pixi.toml @@ -14,7 +14,7 @@ lint = "pre-commit run -a" [dependencies] python = ">=3.8" pip = "*" -lightgbm = ">=3.2,<4.1" +lightgbm = ">=3.2,<4.2" numpy = "*" pre-commit = "*" pandas = "*" diff --git a/pyproject.toml b/pyproject.toml index f7989d8..7542b72 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,7 +25,7 @@ dependencies = [ [project.optional-dependencies] lightgbm = [ - "lightgbm >=3.2,<4.1", + "lightgbm >=3.2,<4.2", ] scikit-learn = [ "scikit-learn >=1.1.0,<1.4",