diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 284f51a..038d3ce 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,13 +26,10 @@ jobs: with: name: artifact path: dist/* - - name: Make sure version in pyproject.toml and pixi.toml are in sync - run: | - [ "$(yq '.project.version' pixi.toml)" = "$(yq '.project.version' pyproject.toml)" ] - uses: Quantco/ui-actions/version-metadata@v1 id: version-metadata with: - file: ./pixi.toml + file: ./pyproject.toml token: ${{ secrets.GITHUB_TOKEN }} version-extraction-override: 'regex:version = "(.*)"' diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5b3c5a0..58e9ace 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,6 +30,7 @@ jobs: - { 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: 'lightgbm=4.2' } - { 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 569d0ee..40badf6 100644 --- a/environment-deprecated.yml +++ b/environment-deprecated.yml @@ -4,7 +4,7 @@ channels: - conda-forge - nodefaults dependencies: - - lightgbm >=3.2,<4.2 + - lightgbm >=3.2,<4.3 - numpy - python >=3.8 - pre-commit diff --git a/pixi.toml b/pixi.toml index f67521e..1fc738d 100644 --- a/pixi.toml +++ b/pixi.toml @@ -1,6 +1,5 @@ [project] # TODO: move to pyproject.toml once pixi supports it name = "slim-trees" -version = "0.2.5" description = "A python package for efficient pickling of ML models." authors = ["Pavel Zwerschke "] channels = ["conda-forge"] @@ -14,7 +13,7 @@ lint = "pre-commit run -a" [dependencies] python = ">=3.8" pip = "*" -lightgbm = ">=3.2,<4.2" +lightgbm = ">=3.2,<4.3" numpy = "*" pre-commit = "*" pandas = "*" diff --git a/pyproject.toml b/pyproject.toml index 26d9fe8..a74da7b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ build-backend = "hatchling.build" [project] name = "slim-trees" description = "A python package for efficient pickling of ML models." -version = "0.2.5" +version = "0.2.6" readme = "README.md" license = "MIT" requires-python = ">=3.8" @@ -26,7 +26,7 @@ dependencies = [ [project.optional-dependencies] lightgbm = [ - "lightgbm >=3.2,<4.2", + "lightgbm >=3.2,<4.3", ] scikit-learn = [ "scikit-learn >=1.1.0,<1.4",