aboutsummaryrefslogtreecommitdiff
path: root/python/requirements.in
diff options
context:
space:
mode:
authorambrosin <ambrosin@google.com>2022-10-20 14:10:43 -0700
committerCopybara-Service <copybara-worker@google.com>2022-10-20 14:11:55 -0700
commitc68c0bbdc038742dd52517274fb88ee146b72811 (patch)
tree8dc58a169dc1054c6c3c944caa4f3ee6273f7747 /python/requirements.in
parent53ba1091c82266a1b1ab305b6f8eb8e19afeeb0c (diff)
downloadtink-c68c0bbdc038742dd52517274fb88ee146b72811.tar.gz
Generate requirements.txt using pip-tools
The convention is: - requirements.in declares the direct dependencies - requirements.txt is a locked set of the pinned direct and indirect deps - constraints.in has specific constraints (for examples, constraints the version of google-api-core==2.10.1 because 2.10.2 has incompatible requirements on protobuf) The requirements.txt file was generated with: ``` cd /path/to/tink_py python3 -m venv "${SOME_VIRT_ENV_FOLDER}" source "${SOME_VIRT_ENV_FOLDER}"/bin/activate (venv) python -m pip install pip-tools (venv) pip-compile -o requirements.txt requirements.in \ --generate-hashes ``` Also: - bump protobuf to 3.20.2 - pin absl-py to 1.3.0 PiperOrigin-RevId: 482593752
Diffstat (limited to 'python/requirements.in')
-rw-r--r--python/requirements.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/requirements.in b/python/requirements.in
new file mode 100644
index 000000000..dc31b2c55
--- /dev/null
+++ b/python/requirements.in
@@ -0,0 +1,2 @@
+absl-py==1.3.0
+protobuf==3.20.2