Skip to content
This repository has been archived by the owner on Jul 9, 2021. It is now read-only.

warn that dask-lightgbm is deprecated #30

Merged
merged 1 commit into from
Mar 23, 2021
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
8 changes: 8 additions & 0 deletions dask_lightgbm/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import lightgbm
import numpy as np
import pandas as pd
import warnings
from dask import delayed
from dask.distributed import wait, default_client, get_worker
from lightgbm.basic import _safe_call, _LIB
Expand All @@ -23,6 +24,13 @@

logger = logging.getLogger(__name__)

msg = (
"You are using the final release of dask-lightgbm. "
"dask-lightgbm functionality has been merged into lightgbm. "
"Consider switching to lightgbm."
)
warnings.warn(msg)


def parse_host_port(address):
parsed = urllib.parse.urlparse(address)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "dask-lightgbm"
version = "0.2.0.dev0"
version = "0.3.0"
description = "LightGBM distributed training on Dask"
authors = [
"Jan Stiborek <honza.stiborek@gmail.com>"
Expand Down