From 300bae712815f52b1a0ac7a497af3a669cb8e2fa Mon Sep 17 00:00:00 2001 From: Matthieu Meeus Date: Thu, 26 Mar 2026 14:14:11 -0700 Subject: [PATCH] Editing README of external PrivacyGuard github repo Summary: In diff [D96365690](https://www.internalfb.com/diff/D96365690?dst_version_fbid=824565110674273), we introduced codeBLEU as a similarity metric to compare different pieces of code. For this, we added codebleu==0.6.0 as a dependency, which requires tree-sitter==0.20.4 when codebleu is being built. While we had updated the `github/pyproject.toml` and the `github/reusable_test.yml` to account for this in the external PrivacyGuard repo, we did not update the corresponding installation instructions in the external README.md to accommodate this. I tried the current installation instructions and it failed because of the codebleu/tree-sitter dependency. This diff corrects the instructions. Differential Revision: D98360821 --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4506e2b..ac373ce 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,9 @@ To work and develop with PrivacyGuard, we recomemend cloning the repository and ``` git clone https://github.com/facebookresearch/PrivacyGuard.git --depth 1 cd PrivacyGuard -pip install -e +pip install tree-sitter==0.20.4 "setuptools<75" requests +pip install --no-build-isolation codebleu==0.6.0 +pip install -e . ```