Skip to content

Automated Dependency Updates for Pip_requirements

Categories: python

Renovate supports updating Pip_requirements dependencies.

File Matching

By default, Renovate will check any files matching the following regular expression: (^|/)[\w-]*requirements([-.]\w+)?\.(txt|pip)$.

For details on how to extend a manager's fileMatch value, please follow this link.

Supported datasources

This manager supports extracting the following datasources: pypi, git-tags.

Default config

{
  "fileMatch": [
    "(^|/)[\\w-]*requirements([-.]\\w+)?\\.(txt|pip)$"
  ]
}

Additional Information

Supports requirements.txt and requirements.pip files. The default file pattern is fairly flexible, to try to catch similarly named ones too (eg requirements-*.txt requirements.*.txt requirements-*.pip and requirements.*.pip) but may be extended/changed.

Open items

The below list of features were current when this page was generated on May 26, 2024.

Feature requests

  • Support git dependencies in requirements.txt #26612
  • Extract python constraints per-dependency from pip requirements.txt files #26310