Skip to content

Commit 574d240

Browse files
committed
Migrate to uv
1 parent 548edd6 commit 574d240

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+9
-6
lines changed

.github/workflows/ci-cd.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@ jobs:
3333
sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d
3434
3535
# Cache dependencies from poetry to speed things up
36-
# - name: Load cached venv
37-
# id: cached-poetry-dependencies
38-
# uses: actions/cache@v3
39-
# with:
40-
# path: .venv
41-
# key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}
36+
- name: Load cached venv
37+
id: cached-poetry-dependencies
38+
uses: actions/cache@v3
39+
with:
40+
path: .venv
41+
key: venv-${{ runner.os }}-${{ hashFiles('**/uv.lock') }}
4242

4343
- name: Install and upgrade pip and uv
4444
run: python -m pip install --upgrade pip uv

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ dependencies = [
3232
"scikit_learn==1.*"
3333
]
3434

35+
[tool.setuptools]
36+
package-dir = {"" = "src"}
37+
3538
[project.scripts]
3639
diffcrash = "lasso.diffcrash.run:main"
3740
dimred = "lasso.dimred.run:main"
File renamed without changes.

0 commit comments

Comments
 (0)