Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix missing distutils module error during build #672

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Wingless-Archangel
Copy link

@Wingless-Archangel Wingless-Archangel commented Feb 3, 2025

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.

Copy link

github-actions bot commented Feb 3, 2025

👋 Thanks for contributing @Wingless-Archangel! We will review the pull request and get back to you soon.

@Wingless-Archangel
Copy link
Author

@microsoft-github-policy-service agree

Copy link

@Vamsidarling Vamsidarling left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Amazing

@Wingless-Archangel
Copy link
Author

Hi @koreyspace,

Is there something wrong with my pull request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants