Skip to content
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.

Commit

Permalink
Merge pull request #4 from lenskit/tweak/lkbuild
Browse files Browse the repository at this point in the history
Use lenskit-build-helpers for build
  • Loading branch information
mdekstrand authored Jul 23, 2022
2 parents 213e041 + 04d4d48 commit 4b27cd5
Show file tree
Hide file tree
Showing 16 changed files with 15 additions and 280 deletions.
19 changes: 5 additions & 14 deletions .github/workflows/test-suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,20 +31,12 @@ jobs:
fetch-depth: 0
submodules: true

- name: Prepare Conda environment spec
id: conda-lock
shell: bash
run: |
bash lkbuild/lock-for-ci.sh -v $PYVER
env:
RUNNER: ${{runner.os}}
PYVER: ${{matrix.python}}

- name: Initialize Conda
uses: conda-incubator/setup-miniconda@v2
- name: 👢 Set up Conda environment
uses: lenskit/lkbuild/actions/setup-conda-env@main
id: setup
with:
activate-environment: lkpy
environment-file: ${{steps.conda-lock.outputs.environment-file}}
python-version: ${{matrix.python}}
conda-type: micromamba

- name: 🔎 Inspect environment
run: |
Expand Down Expand Up @@ -81,7 +73,6 @@ jobs:
- name: Install Python deps
run: |
pip install -U flit
flit install --deps=production --extras=dev
- name: Build distribution
run: flit build
Expand Down
Empty file removed lkbuild/__init__.py
Empty file.
11 changes: 0 additions & 11 deletions lkbuild/boot-env.yml

This file was deleted.

60 changes: 0 additions & 60 deletions lkbuild/bootstrap-env.sh

This file was deleted.

33 changes: 0 additions & 33 deletions lkbuild/datasets.py

This file was deleted.

22 changes: 0 additions & 22 deletions lkbuild/env.py

This file was deleted.

10 changes: 0 additions & 10 deletions lkbuild/lock-for-ci.sh

This file was deleted.

4 changes: 0 additions & 4 deletions lkbuild/mkl-spec.yml

This file was deleted.

3 changes: 0 additions & 3 deletions lkbuild/openblas-spec.yml

This file was deleted.

3 changes: 0 additions & 3 deletions lkbuild/python-3.10-spec.yml

This file was deleted.

3 changes: 0 additions & 3 deletions lkbuild/python-3.7-spec.yml

This file was deleted.

3 changes: 0 additions & 3 deletions lkbuild/python-3.8-spec.yml

This file was deleted.

3 changes: 0 additions & 3 deletions lkbuild/python-3.9-spec.yml

This file was deleted.

106 changes: 0 additions & 106 deletions lkbuild/tasks.py

This file was deleted.

14 changes: 10 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ readme = "README.md"
license = { file="LICENSE.md" }
requires-python = ">= 3.7"
dependencies = [
"lenskit[doc] @ git+https://github.com/lenskit/lkpy.git#main",
"lenskit ==0.14.*",
"implicit ==0.4.*"
]
dynamic = ["description", "version"]
Expand All @@ -35,13 +35,18 @@ test = [
"pytest-doctestplus >= 0.9",
]
dev = [
"lenskit-build-helpers >=0.1",
"flit >= 3.2",
"conda-lock",
"invoke",
"flake8 >= 3",
"coverage >= 5",
"pytest-cov >= 2.12",
]
doc = [
"sphinx >= 4.2",
"sphinxcontrib-bibtex >= 2.0",
"sphinx_rtd_theme >= 0.5",
"myst-nb >= 0.13",
]

[tool.flit.module]
name = "lenskit_implicit"
Expand All @@ -59,5 +64,6 @@ exclude = [

[tool.conda-lock]
channels = [
"conda-forge"
"conda-forge",
"lenskit",
]
1 change: 0 additions & 1 deletion tasks.py

This file was deleted.

0 comments on commit 4b27cd5

Please sign in to comment.