Skip to content

Commit

Permalink
release-prep-v0.6.1 (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
kainkad authored Jun 13, 2023
1 parent 17110e2 commit 7b56d82
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 24 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
import importlib
import sys
req = importlib.import_module("urllib") if sys.version_info < (3, ) else importlib.import_module("urllib.request")
req.urlretrieve("https://github.com/microsoft/LightGBM/archive/v2.3.1.tar.gz", "lgbm.tar")
req.urlretrieve("https://github.com/microsoft/LightGBM/archive/v3.3.5.tar.gz", "lgbm.tar")
- run: tar -xvf lgbm.tar
shell: bash
name: Untar LGBM examples
Expand All @@ -47,7 +47,7 @@ jobs:
- run: julia --color=yes --project -e 'using Pkg; Pkg.build(); Pkg.test(coverage=true);'
continue-on-error: false
env:
LIGHTGBM_EXAMPLES_PATH: LightGBM-2.3.1
LIGHTGBM_EXAMPLES_PATH: LightGBM-3.3.5
MLJ:
name: MLJ Interface enabled -- Julia ${{ matrix.version }}
runs-on: ubuntu-latest
Expand All @@ -60,10 +60,10 @@ jobs:
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.version }}
- run: wget -O lgbm.tar https://github.com/microsoft/LightGBM/archive/v2.3.1.tar.gz && tar -xf lgbm.tar
- run: wget -O lgbm.tar https://github.com/microsoft/LightGBM/archive/v3.3.5.tar.gz && tar -xf lgbm.tar
- run: julia --color=yes --project -e 'using Pkg; Pkg.build(); Pkg.test(coverage=true);'
env:
LIGHTGBM_EXAMPLES_PATH: LightGBM-2.3.1
LIGHTGBM_EXAMPLES_PATH: LightGBM-3.3.5
docs:
name: Documentation
runs-on: ubuntu-latest
Expand Down
12 changes: 6 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# This is also pinned to some internal hackery for travis windows setup
language: julia
before_install:
- wget -O /tmp/lgbm.tar https://github.com/microsoft/LightGBM/archive/v3.2.0.tar.gz
- wget -O /tmp/lgbm.tar https://github.com/microsoft/LightGBM/archive/v3.3.5.tar.gz
- tar -xf /tmp/lgbm.tar -C /tmp/
julia:
- 1.0
Expand All @@ -15,8 +15,8 @@ os:
- osx
- windows
env:
- LIGHTGBM_EXAMPLES_PATH=/tmp/LightGBM-3.2.0
- LIGHTGBM_EXAMPLES_PATH=C:\\Users\\travis\\AppData\\Local\\Temp\\LightGBM-3.2.0
- LIGHTGBM_EXAMPLES_PATH=/tmp/LightGBM-3.3.5
- LIGHTGBM_EXAMPLES_PATH=C:\\Users\\travis\\AppData\\Local\\Temp\\LightGBM-3.3.5
notifications:
email: false
after_success:
Expand All @@ -27,10 +27,10 @@ jobs:
exclude:
- os: linux
env:
- LIGHTGBM_EXAMPLES_PATH=C:\\Users\\travis\\AppData\\Local\\Temp\\LightGBM-3.2.0
- LIGHTGBM_EXAMPLES_PATH=C:\\Users\\travis\\AppData\\Local\\Temp\\LightGBM-3.3.5
- os: windows
env:
- LIGHTGBM_EXAMPLES_PATH=/tmp/LightGBM-3.2.0
- LIGHTGBM_EXAMPLES_PATH=/tmp/LightGBM-3.3.5
- os: osx
env:
- LIGHTGBM_EXAMPLES_PATH=C:\\Users\\travis\\AppData\\Local\\Temp\\LightGBM-3.2.0
- LIGHTGBM_EXAMPLES_PATH=C:\\Users\\travis\\AppData\\Local\\Temp\\LightGBM-3.3.5
2 changes: 2 additions & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ Thank you to our Amazing :star: Contributors:
<td align="center"><a href="https://github.com/msekino"><img src="https://avatars3.githubusercontent.com/u/31726040" width="100px;" alt=""/><br /><sub><b>msekino</b></sub></a><br /></td>
<td align="center"><a href="https://github.com/chilledgeek"><img src="https://avatars2.githubusercontent.com/u/44337585" width="100px;" alt=""/><br /><sub><b>chilledgeek</b></sub></a><br /></td>
<td align="center"><a href="https://github.com/ablaom"><img src="https://avatars.githubusercontent.com/u/30517088" width="100px;" alt=""/><br /><sub><b>ablaom</b></sub></a><br /></td>
<td align="center"><a href="https://github.com/kollienne"><img src="https://avatars.githubusercontent.com/u/20397647" width="100px" alt=""/><br /><sub><b>kollienne</b></sub></a><br /></td>
<td align="center"><a href="https://github.com/artemsolod"><img src="https://avatars.githubusercontent.com/u/1939268" width="100px" alt=""/><br /><sub><b>artemsolod</b></sub></a><br /></td>
<td align="center"><a href="https://github.com/yalwan-sage"><img src="https://avatars.githubusercontent.com/u/82372549" width="100px;" alt=""/><br /><sub><b>yalwan-sage</b></sub></a><br /></td>
</tr>

Expand Down
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "LightGBM"
uuid = "7acf609c-83a4-11e9-1ffb-b912bcd3b04a"
version = "0.6.0"
version = "0.6.1"

[deps]
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ Pkg.add("LightGBM")
```
## Tests
Running tests for the package requires the use of the LightGBM example files,
download and extract the [LightGBM source](https://github.com/microsoft/LightGBM/archive/v2.3.1.zip)
and set the enviroment variable `LIGHTGBM_EXAMPLES_PATH` to the root of the source installation.
download and extract the [LightGBM source](https://github.com/microsoft/LightGBM/archive/v3.3.5.zip)
and set the environment variable `LIGHTGBM_EXAMPLES_PATH` to the root of the source installation.
Then you can run the tests by simply doing
```julia
Pkg.test("LightGBM")
Expand All @@ -53,20 +53,20 @@ To skip MLJ testing when running tests, set the env var `DISABLE_MLJ_TESTS` to a

# A simple example using LightGBM example files

First, download [LightGBM source](https://github.com/microsoft/LightGBM/archive/v3.2.0.zip)
First, download [LightGBM source](https://github.com/microsoft/LightGBM/archive/v3.3.5.zip)
and untar it somewhere.

```bash
cd ~
wget https://github.com/microsoft/LightGBM/archive/v3.2.0.tar.gz
tar -xf v3.2.0.tar.gz
wget https://github.com/microsoft/LightGBM/archive/v3.3.5.tar.gz
tar -xf v3.3.5.tar.gz
```

```julia
using LightGBM
using DelimitedFiles

LIGHTGBM_SOURCE = abspath("~/LightGBM-3.2.0")
LIGHTGBM_SOURCE = abspath("~/LightGBM-3.3.5")

# Load LightGBM's binary classification example.
binary_test = readdlm(joinpath(LIGHTGBM_SOURCE, "examples", "binary_classification", "binary.test"), '\t')
Expand Down
2 changes: 1 addition & 1 deletion deps/build.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ using Libdl
savepath = normpath(joinpath(@__DIR__, "..", "src", "lib_lightgbm.$(Libdl.dlext)"))

# These precompiled ones are CPU-only, can incorporate stuff later for user-built GPU capable binaries
GH_URL = "https://github.com/microsoft/LightGBM/releases/download/v3.3.2/lib_lightgbm.$(Libdl.dlext)"
GH_URL = "https://github.com/microsoft/LightGBM/releases/download/v3.3.5/lib_lightgbm.$(Libdl.dlext)"

download(GH_URL, savepath)

Expand Down
12 changes: 6 additions & 6 deletions docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,29 +39,29 @@ Pkg.add("LightGBM")
```

Running tests for the package requires the use of the LightGBM example files,
download and extract the [LightGBM source](https://github.com/microsoft/LightGBM/archive/v2.3.1.zip)
and set the enviroment variable `LIGHTGBM_EXAMPLES_PATH` to the root of the source installation.
download and extract the [LightGBM source](https://github.com/microsoft/LightGBM/archive/v3.3.5.zip)
and set the environment variable `LIGHTGBM_EXAMPLES_PATH` to the root of the source installation.
Then you can run the tests by simply doing
```julia
Pkg.test("LightGBM")
```

# A simple example using LightGBM example files

First, download [LightGBM source](https://github.com/microsoft/LightGBM/archive/v2.3.1.zip)
First, download [LightGBM source](https://github.com/microsoft/LightGBM/archive/v3.3.5.zip)
and untar it somewhere.

```bash
cd ~
wget https://github.com/microsoft/LightGBM/archive/v2.3.1.tar.gz
tar -xf v2.3.1.tar.gz
wget https://github.com/microsoft/LightGBM/archive/v3.3.5.tar.gz
tar -xf v3.3.5.tar.gz
```

```julia
using LightGBM
using DelimitedFiles

LIGHTGBM_SOURCE = abspath("~/LightGBM-2.3.1")
LIGHTGBM_SOURCE = abspath("~/LightGBM-3.3.5")

# Load LightGBM's binary classification example.
binary_test = readdlm(joinpath(LIGHTGBM_SOURCE, "examples", "binary_classification", "binary.test"), '\t')
Expand Down

0 comments on commit 7b56d82

Please sign in to comment.