Skip to content

Commit 6bc35f7

Browse files
committed
adds dependabot compatible lockfile and config
1 parent 5aac1bf commit 6bc35f7

File tree

3 files changed

+3779
-0
lines changed

3 files changed

+3779
-0
lines changed

.github/dependabot.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
version: 2
2+
updates:
3+
# # we do not want automatic PRs with dependency updates and dependency resolution for uv
4+
# # does not fully work
5+
# - package-ecosystem: uv
6+
# directory: "/"
7+
# schedule:
8+
# interval: daily
9+
10+
# use requirements.txt in tools/dependabot_lock synced with lockfile
11+
- package-ecosystem: pip
12+
directory: "tools/dependabot_lock"
13+
schedule:
14+
interval: daily
15+
# don't do PRs
16+
open-pull-requests-limit: 0

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ help:
1111

1212
dev:
1313
uv sync --reinstall-package dlt --upgrade-package dlt
14+
# export lockfile in widely recognized format
15+
uv export --format requirements-txt --all-extras --all-groups --no-editable --locked -q --output-file tools/dependabot_lock/requirements.txt
1416

1517
lint-dlt-init:
1618
uv run ./check-requirements.py

0 commit comments

Comments
 (0)