diff --git a/.github/dependabot.yml b/.github/dependabot.yml index faf726ef..a3d627a7 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -15,11 +15,11 @@ updates: actions: patterns: - "*" - # - package-ecosystem: pip - # directory: .github/ - # schedule: - # interval: "monthly" - # groups: - # pip: - # patterns: - # - "*" + - package-ecosystem: pip + directory: .github/ + schedule: + interval: "monthly" + groups: + pip: + patterns: + - "*" diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 13bfaf56..a951b3e7 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -77,7 +77,7 @@ jobs: platforms: linux/ppc64le - name: Install cibuildwheel - run: python -m pip install cibuildwheel~=3.3 + run: python -m pip install -r requirements-wheel.txt - name: Build wheels run: python -m cibuildwheel --output-dir wheelhouse diff --git a/build.sh b/build.sh index 3c9fb68a..6ac40d4b 100644 --- a/build.sh +++ b/build.sh @@ -268,7 +268,7 @@ if [ "$1" = "mypy" ]; then if [ -n "$WHEELDIR" ]; then $PREFIX/bin/pip install $WHEELDIR/pygit2*-$PYTHON_TAG-*.whl fi - $PREFIX/bin/pip install -r requirements-test.txt + $PREFIX/bin/pip install -r requirements-test.txt -r requirements-typing.txt $PREFIX/bin/mypy pygit2 test fi diff --git a/requirements-test.txt b/requirements-test.txt index 15e9ecf8..9955decc 100644 --- a/requirements-test.txt +++ b/requirements-test.txt @@ -1,4 +1,2 @@ pytest pytest-cov -mypy -types-cffi diff --git a/requirements-typing.txt b/requirements-typing.txt new file mode 100644 index 00000000..c16ede75 --- /dev/null +++ b/requirements-typing.txt @@ -0,0 +1,2 @@ +mypy +types-cffi diff --git a/requirements-wheel.txt b/requirements-wheel.txt new file mode 100644 index 00000000..e14d9f0a --- /dev/null +++ b/requirements-wheel.txt @@ -0,0 +1 @@ +cibuildwheel ~= 3.3