Fix missing distutils module error during build
While trying to spawn the devcontainer in VSCode and Codespace, I encountered an error during the build process related to the missing distutils package for some reason.
After investigating further,~~I discovered that the build tool failed to read the configuration from the .devcontainer/environment.yml file.~~ (after have another look this file is for conda to use but the build doesn't use conda at all) it was using a base Python version higher than 3.10, which is deprecated and no longer includes the distutils package as outlined in PEP-632 . Also, some packages already included in the container image.
This pull request addresses this issue by removing some dependencies instead and add rust compiler to satisfy tiktoken requirement.
Please have a look.
EDIT: change the approach since I couldn't reproduce the build anymore.
👋 Thanks for contributing @Wingless-Archangel! We will review the pull request and get back to you soon.
@microsoft-github-policy-service agree
Hi @koreyspace,
Is there something wrong with my pull request?
Apologies on the delay @Wingless-Archangel , thanks for the contribution. merged!