Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TOOLS/macos-sdk-version: use packaging instead of distutils for version
Python 3.10 deprecated disutils and then removed it in 3.12. The macos sdk check uses the version compare from there, so it needs to be replaced with something else. So instead use the API from the packaging module which is also widely available and a fit replacement. Fixes mpv-player#12762.
- Loading branch information