version: 2
updates:
# Update to the latest transformers version with dependabot
- package-ecosystem: "pip"
directory: "/.ci/docker/ci_commit_pins"
schedule:
interval: "daily"
target-branch: "main"
allow:
- dependency-name: "transformers"
ignore:
- dependency-name: "*"
update-types: ["version-update:semver-patch"]
commit-message:
prefix: "[Dependabot] Update"
include: "scope"
labels:
- "dependencies"
- "open source"
- "python"
- "topic: not user facing"
- "module: ci"
- "module: inductor"
- "ciflow/inductor"
# Weekly version updates for the CI image requirements. Minor and patch
# bumps are batched into one PR, so the image is rebuilt and tested once a
# week; a major bump gets its own PR. CI runs on each PR before a maintainer
# merges it. Security updates are separate and still arrive as individual
# PRs when an advisory is published.
- package-ecosystem: "pip"
directory: "/.ci/docker"
# Only requirements-ci.txt: transformers has its own entry above, and the
# docs and TPU requirements are tested by other jobs.
exclude-paths:
- ".ci/docker/ci_commit_pins/**"
- ".ci/docker/common/**"
- ".ci/docker/requirements-docs.txt"
schedule:
interval: "weekly"
day: "monday"
target-branch: "main"
# Bump == pins; leave lower bounds alone unless the new version needs it.
versioning-strategy: increase-if-necessary
# Only propose a release once it has been out for a week, so a compromised
# or broken release is more likely to be yanked or reported first.
cooldown:
default-days: 7
groups:
ci-image:
applies-to: version-updates
patterns: ["*"]
update-types: ["minor", "patch"]
ignore:
# Pinned to a different version per Python version with environment
# markers. Dependabot evaluates markers for a single Python version and
# would bump only the matching line, so bump these by hand. (Entries
# limited to other Python versions, such as numba, are never bumped.)
- dependency-name: "coremltools"
- dependency-name: "librosa"
- dependency-name: "lxml"
- dependency-name: "networkx"
- dependency-name: "numpy"
- dependency-name: "optree"
- dependency-name: "pandas"
- dependency-name: "pywavelets"
- dependency-name: "scikit-image"
- dependency-name: "scipy"
- dependency-name: "tensorboard"
# MKL is pinned in four places that have to move together (install_mkl.sh,
# requirements-ci.txt, build_pytorch.bat, build_install_deps.py), and
# intel-openmp is capped below 2026.2.0 for #201218. Bump these by hand.
- dependency-name: "mkl-static"
- dependency-name: "mkl-include"
- dependency-name: "intel-openmp"
commit-message:
prefix: "[Dependabot] Update"
include: "scope"
labels:
- "dependencies"
- "open source"
- "python"
- "topic: not user facing"
- "module: ci"
- "ciflow/trunk"
- "ciflow/inductor"