Skip to content

Commit

Permalink
Make CI use pre-release tabmat
Browse files Browse the repository at this point in the history
  • Loading branch information
stanmart committed Aug 16, 2023
1 parent 049943d commit 940b260
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 13 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/conda-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ jobs:
fail-fast: false
matrix:
include:
- { conda_build_yml: linux_64_numpy1.20python3.8.____cpython, os: ubuntu-latest, conda-build-args: '' }
- { conda_build_yml: linux_64_numpy1.20python3.9.____cpython, os: ubuntu-latest, conda-build-args: '' }
- { conda_build_yml: linux_64_numpy1.23python3.11.____cpython, os: ubuntu-latest, conda-build-args: '' }
- { conda_build_yml: osx_64_numpy1.20python3.9.____cpython, os: macos-latest, conda-build-args: '' }
- { conda_build_yml: osx_64_numpy1.23python3.11.____cpython, os: macos-latest, conda-build-args: '' }
- { conda_build_yml: osx_arm64_numpy1.20python3.8.____cpython, os: macos-latest, conda-build-args: ' --no-test' }
- { conda_build_yml: osx_arm64_numpy1.21python3.10.____cpython, os: macos-latest, conda-build-args: ' --no-test' }
- { conda_build_yml: win_64_numpy1.20python3.8.____cpython, os: windows-latest, conda-build-args: '' }
- { conda_build_yml: win_64_numpy1.23python3.11.____cpython, os: windows-latest, conda-build-args: '' }
- { conda_build_yml: linux_64_numpy1.20python3.8.____cpython, os: ubuntu-latest, conda-build-args: ' -c conda-forge/label/tabmat_dev -c conda-forge' }
- { conda_build_yml: linux_64_numpy1.20python3.9.____cpython, os: ubuntu-latest, conda-build-args: ' -c conda-forge/label/tabmat_dev -c conda-forge' }
- { conda_build_yml: linux_64_numpy1.23python3.11.____cpython, os: ubuntu-latest, conda-build-args: ' -c conda-forge/label/tabmat_dev -c conda-forge' }
- { conda_build_yml: osx_64_numpy1.20python3.9.____cpython, os: macos-latest, conda-build-args: ' -c conda-forge/label/tabmat_dev -c conda-forge' }
- { conda_build_yml: osx_64_numpy1.23python3.11.____cpython, os: macos-latest, conda-build-args: ' -c conda-forge/label/tabmat_dev -c conda-forge' }
- { conda_build_yml: osx_arm64_numpy1.20python3.8.____cpython, os: macos-latest, conda-build-args: ' -c conda-forge/label/tabmat_dev -c conda-forge --no-test' }
- { conda_build_yml: osx_arm64_numpy1.21python3.10.____cpython, os: macos-latest, conda-build-args: ' -c conda-forge/label/tabmat_dev -c conda-forge --no-test' }
- { conda_build_yml: win_64_numpy1.20python3.8.____cpython, os: windows-latest, conda-build-args: ' -c conda-forge/label/tabmat_dev -c conda-forge' }
- { conda_build_yml: win_64_numpy1.23python3.11.____cpython, os: windows-latest, conda-build-args: ' -c conda-forge/label/tabmat_dev -c conda-forge' }
steps:
- name: Checkout branch
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
done
echo Install tabmat nightly
micromamba remove -y --force tabmat
pip install git+https://github.com/Quantco/tabmat
pip install git+https://github.com/Quantco/tabmat@tabmat-v4
- name: Install repository
shell: bash -el {0}
run: pip install --no-use-pep517 --no-deps --disable-pip-version-check -e .
Expand Down
2 changes: 1 addition & 1 deletion conda.recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ requirements:
- pandas
- scikit-learn >=0.23
- scipy
- tabmat >=3.1.0
- tabmat >=4.0.0a

test:
requires:
Expand Down
1 change: 1 addition & 0 deletions environment-benchmark.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: glum
channels:
- conda-forge/label/tabmat_dev
- conda-forge
- nodefaults
dependencies:
Expand Down
3 changes: 2 additions & 1 deletion environment.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: glum
channels:
- conda-forge/label/tabmat_dev
- conda-forge
- nodefaults
dependencies:
Expand All @@ -8,7 +9,7 @@ dependencies:
- libblas>=0=*mkl # comment this line out for macOS arm64
- numexpr
- pandas>=0.21
- tabmat>=3.1.0
- tabmat>=4.0.0a
- scikit-learn>=0.23
- scipy
- tqdm
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
"pandas",
"scikit-learn>=0.23",
"scipy",
"tabmat>=3.1.0",
"tabmat>=4.0.0a",
],
entry_points=None
if os.environ.get("CONDA_BUILD")
Expand Down

0 comments on commit 940b260

Please sign in to comment.