Skip to content

Will python 3.11 or higher version be supported? #70

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

Open
h4n0 opened this issue Mar 24, 2025 · 6 comments
Open

Will python 3.11 or higher version be supported? #70

h4n0 opened this issue Mar 24, 2025 · 6 comments
Assignees
Labels
question Question

Comments

@h4n0
Copy link

h4n0 commented Mar 24, 2025

My python code includes some dependencies that require >=3.11 python. However, the default python version is 3.10. Should I create my own image for this to make 3.11 supported? Or are there some specific reasons not to use 3.11 or 3.12 in the default docker image?

Copy link

linear bot commented Mar 24, 2025

@mishushakov
Copy link
Member

You can try making your own image, I am not aware of any particular breaking changes to our code in 3.11

@h4n0
Copy link
Author

h4n0 commented Mar 24, 2025

You can try making your own image, I am not aware of any particular breaking changes to our code in 3.11

Should I use images from e2bdev/code-interpreter or does any debian image work?

@mishushakov
Copy link
Member

You can see here docs on creating custom sandbox templates: https://e2b.dev/docs/sandbox-template

@h4n0
Copy link
Author

h4n0 commented Mar 24, 2025

I got another issue while using e2bdev/code-interpreter:python-3.12.8 to build my own template but got the same error like this issue

[2025-03-24T12:55:48Z] Start postprocessing
[2025-03-24T12:55:48Z] Postprocessing
[2025-03-24T12:55:53Z] Postprocessing
E: Sub-process /usr/bin/dpkg returned an error code (2)
[2025-03-24T12:55:58Z] Postprocessing
[2025-03-24T12:56:01Z] Postprocessing finished.
Error building environment: error creating rootfs for env 'v5lhrdhjpcuespdby55c' during build 'dac5c1f9-98f2-4c77-a31f-92fba00fc9ed': error creating rootfs file: container exited with status 100:

@h4n0
Copy link
Author

h4n0 commented Mar 24, 2025

You can see here docs on creating custom sandbox templates: https://e2b.dev/docs/sandbox-template

Or can I use a template with the python 3.12.7 preinstalled? I'm looking for the template_id of python 3.12 but didn't find it from the documentation unfortunately

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

No branches or pull requests

3 participants