treeherder/requirements
Olivier Giorgis af973d247d Bug 1926918 - fix error 500 on https://treeherder.mozilla.org/docs/ 2024-11-08 17:42:54 +01:00
..
README.md fix pip-tools, upgrade others (#6527) 2020-06-17 11:36:22 -04:00
common.in Bug 1926918 - fix error 500 on https://treeherder.mozilla.org/docs/ 2024-11-08 17:42:54 +01:00
common.txt Bug 1926918 - fix error 500 on https://treeherder.mozilla.org/docs/ 2024-11-08 17:42:54 +01:00
dev.in Bump pytest-cov from 5.0.0 to 6.0.0 2024-11-06 12:57:48 +01:00
dev.txt Bump pytest-cov from 5.0.0 to 6.0.0 2024-11-06 12:57:48 +01:00

README.md

Requirements

This is a directory of requirements files. They are maintained using pip-tools:

  • *.in - for developers to enter required packages
  • *.txt - autogenerated by pip-tools hash-lock the specific versions for production

Upgrading

When you want to upgrade (be sure to run from main treeherder directory, than this directory)

pip-compile --upgrade --generate-hashes --output-file requirements/common.txt requirements/common.in
pip-compile --upgrade --generate-hashes --allow-unsafe --output-file requirements/dev.txt requirements/dev.in

see pip-tools for more information