Skip to content

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

2 participants