Skip to content

Commit a9aaf8e

Browse files
build(uv): remove uv.lock and migrate remaining areas to uv
1 parent 7185520 commit a9aaf8e

File tree

4 files changed

+11
-850
lines changed

4 files changed

+11
-850
lines changed

.github/dependabot.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55

66
version: 2
77
updates:
8-
- package-ecosystem: 'pip'
9-
directory: '/'
8+
- package-ecosystem: "uv"
9+
directory: "/"
1010
schedule:
11-
interval: 'daily'
11+
interval: "daily"
1212

13-
- package-ecosystem: 'github-actions'
14-
directory: '/'
13+
- package-ecosystem: "github-actions"
14+
directory: "/"
1515
schedule:
16-
interval: 'daily'
16+
interval: "daily"

.github/workflows/docs.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,14 @@ jobs:
1111
- name: Checkout repository
1212
uses: actions/checkout@v6
1313

14-
- name: Use Python
15-
uses: actions/setup-python@v6
16-
with:
17-
cache: pip
18-
python-version-file: pyproject.toml
14+
- name: Install uv
15+
uses: astral-sh/setup-uv@v7
1916

2017
- name: Install dependencies
21-
run: pip install -e .[docs]
18+
run: uv sync --extra docs
2219

2320
- name: Build docs
24-
run: pdoc src/python_package_template/ -o docs
21+
run: uv run pdoc src/python_package_template/ -o docs
2522

2623
- name: Deploy
2724
if: github.ref_name == 'master'

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ ipython_config.py
9898
# Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
9999
# This is especially recommended for binary packages to ensure reproducibility, and is more
100100
# commonly ignored for libraries.
101-
#uv.lock
101+
uv.lock
102102

103103
# poetry
104104
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.

0 commit comments

Comments
 (0)