Skip to content

Update requirements.txt #71

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

Merged
merged 1 commit into from
Jan 11, 2025
Merged

Conversation

sstasik645
Copy link
Contributor

Adding support for legacy Linux distributions

@sstasik645
Copy link
Contributor Author

sstasik645 commented Dec 18, 2024

Hi,

I got the following error while running the following sync command:
docker run -e "SYNCARGS=--update-extension --extension-name $($extension)" -v ${OUTPUT_FOLDER}:/artifacts -it eitan77/vscsync:1.0.26

Added the missing library fixes the following exception:

Status: Downloaded newer image for lolinternet/vscsync:1.0.26
Traceback (most recent call last):
  File "/opt/vscoffline/sync.py", line 18, in <module>
    from distutils.dir_util import create_tree
ModuleNotFoundError: No module named 'distutils'

@pappasjfed
Copy link
Contributor

This fixes #72

@pappasjfed
Copy link
Contributor

Looks like same issue on vscgallery.

https://stackoverflow.com/questions/77247893/modulenotfounderror-no-module-named-distutils-in-python-3-12

Python 3.12, which removed distutils after it being deprecated since Python 3.10. See PEP 632 Deprecate distutils module and gh-92584 for more details about its removal.

If you want to use that distribution, you'll need to either

install setuptools, which now also provides distutils,

@tristan-morris tristan-morris merged commit c5865f5 into LOLINTERNETZ:main Jan 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants