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

Python312 #290

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Python312 #290

wants to merge 3 commits into from

Conversation

tobiasjaster
Copy link

Description

Based on the PR from stefanor (#285) I have added a few more customizations which are needed to build mbed-os with all further python versions (8-12).
Because the mbed-os-tools are used as a library for mbed-os, I also had to resolve the fixed dependencies.

Pull request type

[x] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Docs update
[ ] Test update
[ ] Breaking change

Reviewers

stefanor and others added 2 commits November 13, 2022 10:35
setuptools 60 uses its own bundled version of distutils, by default. It
injects this into sys.modules, at import time. So we need to make sure
that it is imported, before anything else imports distutils, to ensure
everything is using the same distutils version.

This change in setuptools is to prepare for Python 3.12, which will drop
distutils.

In this case, the best way to deal with the problem is to just use
setuptools' setup().

Fixes: https://bugs.debian.org/1022482 and https://bugs.debian.org/1022538
@tobiasjaster tobiasjaster force-pushed the python312 branch 9 times, most recently from e25221a to 3d52549 Compare June 10, 2024 06:57
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.

2 participants