Skip to content
This repository has been archived by the owner on May 21, 2022. It is now read-only.

Commit

Permalink
Deprecate >= notation in compat section
Browse files Browse the repository at this point in the history
>= is now interpreted as \infty. Although this reduces maintainance
work, it can easily break the package due to package incompatibility.

CompatHelper can help detect new dependency versions and open a PR for
that, thus using the caret specifiers (e.g., `0.24`) is recommended.
  • Loading branch information
johnnychen94 committed Jan 12, 2020
1 parent cbc24db commit 5336000
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 2 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/CompatHelper.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: CompatHelper

on:
schedule:
- cron: '20 00 * * *'
issues:
types: [opened, reopened]

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
julia-version: ["1.0"]
julia-arch: [x86]
os: [ubuntu-latest]
steps:
- uses: julia-actions/setup-julia@latest
with:
version: ${{ matrix.julia-version }}
- name: Pkg.add("CompatHelper")
run: julia -e 'using Pkg; Pkg.add("CompatHelper")'
- name: CompatHelper.main()
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: julia -e 'using CompatHelper; CompatHelper.main()'
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91"

[compat]
LearnBase = "~0.2.0"
MLLabelUtils = "0.4.0"
StatsBase = "0.24.0"
MLLabelUtils = "0.4, 0.5"
StatsBase = "0.24, 0.25, 0.26, 0.27, 0.28, 0.29, 0.30, 0.31, 0.32"
julia = "0.7, 1"

[extras]
Expand Down

0 comments on commit 5336000

Please sign in to comment.