Skip to content

Latest commit

 

History

History
47 lines (31 loc) · 1.1 KB

HACKING.md

File metadata and controls

47 lines (31 loc) · 1.1 KB

Changing the Project's Python Dependencies

To Add a New Dependency

Add the dependency to the appropriate requirements/*.in file(s) and then run:

make requirements

To Remove a Dependency

Remove the dependency from the appropriate requirements/*.in file(s) and then run:

make requirements

To Upgrade or Downgrade a Dependency

We rely on Dependabot to keep all our dependencies up to date by sending automated pull requests to all our repos. But if you need to upgrade or downgrade a dependency manually you can do that locally.

To upgrade a package to the latest version in all requirements/*.txt files:

make requirements --always-make args='--upgrade-package <FOO>'

To upgrade or downgrade a package to a specific version:

make requirements --always-make args='--upgrade-package <FOO>==<X.Y.Z>'

To upgrade all dependencies to their latest versions:

make requirements --always-make args=--upgrade