Skip to content

Commit ee67af3

Browse files
committed
ci(pip): externalize dependences
1 parent 76ffd3a commit ee67af3

File tree

3 files changed

+14
-3
lines changed

3 files changed

+14
-3
lines changed

.github/dependabot.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@ updates:
77
interval: "daily"
88
commit-message:
99
prefix: build(deps)
10+
- package-ecosystem: "pip"
11+
directory: "/csv"
12+
schedule:
13+
interval: "daily"
14+
cooldown:
15+
default-days: 7
16+
commit-message:
17+
prefix: build(deps)
1018
- package-ecosystem: "github-actions"
1119
directory: "/"
1220
schedule:

csv/Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,11 @@ RUN apk upgrade --no-cache \
3030
&& apk cache --no-cache clean \
3131
&& rm -rf /var/cache/apk/*
3232

33+
COPY requirements.txt requirements.txt
34+
3335
RUN pipx ensurepath --global \
34-
&& pipx install --global \
35-
csvkit==2.1.0 \
36-
remarshal==1.2.0
36+
&& xargs -a requirements.txt -n 1 pipx install --global \
37+
&& rm -f requirements.txt
3738

3839
RUN adduser \
3940
--home "${USER_HOME}" \

csv/requirements.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
csvkit==2.1.0
2+
remarshal==1.2.0

0 commit comments

Comments
 (0)