From e30640d701b5267c7bf308729b644f688b263e38 Mon Sep 17 00:00:00 2001 From: Dante Catalfamo <43040593+dantecatalfamo@users.noreply.github.com> Date: Mon, 4 Mar 2024 14:32:32 -0500 Subject: [PATCH] Add mention of `distutils` in Building-Fleet (#17343) Python >= 3.12 no longer ships with the `distutils` module out of the box. It can be installed using `pip install setuptools`. This may be fixed when updating node packages that rely on python, but until then it may come up during `make deps`. Reference: https://stackoverflow.com/a/76691103 --- docs/Contributing/Building-Fleet.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/Contributing/Building-Fleet.md b/docs/Contributing/Building-Fleet.md index d9f3e57d6f..dd2365ad05 100644 --- a/docs/Contributing/Building-Fleet.md +++ b/docs/Contributing/Building-Fleet.md @@ -87,6 +87,16 @@ To do this, run the following from the root of the repository: make deps ``` +Note: If you are using python >= `3.12`, you may have to install `distutils` using pip. + +```sh +pip install setuptools +``` +or +```sh +pip3 install setuptools +``` + When pulling changes, it may be necessary to re-run `make deps` if a new Go or JavaScript dependency was added. ### Generating the packaged JavaScript