-
Notifications
You must be signed in to change notification settings - Fork 0
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: use shutil instead of disutils and fix template syntax #75
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Alec4r, this looks good. Can we please update the cover letter to explain why we are using shutil instead of distutils?
tvm/environment_manager/infrastructure/environment_manager_git_repository.py
Show resolved
Hide resolved
@Alec4r, From what I've been seeing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it be necessary to make a bump version?
Hey @Alec4r, can we merge this PR since we have two approves already? Although there's a comment that needs to be addressed: #75 (comment) |
Can we also add a test to python3.12 here: https://github.com/eduNEXT/tvm/blob/main/.github/workflows/tests.yml#L19 and improve the PR/commit message to show that we are supporting python3.12? |
Description
This PR is for:
File "/home/edunext/.local/share/pipx/venvs/tutor-version-manager/lib/python3.12/site-packages/tvm/environment_manager/infrastructure/environment_manager_git_repository.py", line 7, in <module> from distutils.dir_util import copy_tree # pylint: disable=W0402 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ModuleNotFoundError: No module named 'distutils'
/home/edunext/Documents/eduNEXT/tvm/tvm/templates/tvm_activate.py:4: SyntaxWarning: invalid escape sequence '\$' TEMPLATE = '''