Skip to content

Commit ec6e6ea

Browse files
committed
refactor: organize dev-time dependencies
1 parent a4ec27e commit ec6e6ea

File tree

6 files changed

+13
-12
lines changed

6 files changed

+13
-12
lines changed

.github/dependabot.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ updates:
1515
actions:
1616
patterns:
1717
- "*"
18-
# - package-ecosystem: pip
19-
# directory: .github/
20-
# schedule:
21-
# interval: "monthly"
22-
# groups:
23-
# pip:
24-
# patterns:
25-
# - "*"
18+
- package-ecosystem: pip
19+
directory: .github/
20+
schedule:
21+
interval: "monthly"
22+
groups:
23+
pip:
24+
patterns:
25+
- "*"

.github/workflows/wheels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
platforms: linux/ppc64le
7878

7979
- name: Install cibuildwheel
80-
run: python -m pip install cibuildwheel~=3.3
80+
run: python -m pip install -r requirements-wheel.txt
8181

8282
- name: Build wheels
8383
run: python -m cibuildwheel --output-dir wheelhouse

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ if [ "$1" = "mypy" ]; then
268268
if [ -n "$WHEELDIR" ]; then
269269
$PREFIX/bin/pip install $WHEELDIR/pygit2*-$PYTHON_TAG-*.whl
270270
fi
271-
$PREFIX/bin/pip install -r requirements-test.txt
271+
$PREFIX/bin/pip install -r requirements-test.txt -r requirements-typing.txt
272272
$PREFIX/bin/mypy pygit2 test
273273
fi
274274

requirements-test.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
11
pytest
22
pytest-cov
3-
mypy
4-
types-cffi

requirements-typing.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
mypy
2+
types-cffi

requirements-wheel.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
cibuildwheel ~= 3.3

0 commit comments

Comments
 (0)