Skip to content

Add support for Python 3.13 and MacOS#1804

Merged
samet-akcay merged 13 commits intodevelopfrom
gppayend/py313_and_macos
Jul 28, 2025
Merged

Add support for Python 3.13 and MacOS#1804
samet-akcay merged 13 commits intodevelopfrom
gppayend/py313_and_macos

Conversation

@gdlg
Copy link
Copy Markdown
Contributor

@gdlg gdlg commented Jul 25, 2025

Summary

This PR adds support for Python 3.13 and MacOS. No changes to Datumaro itself but I had to disable the tensorflow tests for Python 3.13 since Tensorflow doesn’t suport 3.13 yet.

In theory, the tests already had support for running without Tensorflow and PyTorch; however, in practice, I found a few issues especially with parameterised test. So I have addressed those issues.

I have disabled the test test_can_release_resources_on_checkout on Windows because it is failing with Python 3.13 and the tested feature is already deprecated.

Resolves #1755

How to test

Checklist

  • I have added unit tests to cover my changes.​
  • I have added integration tests to cover my changes.​
  • I have added the description of my changes into CHANGELOG.​
  • I have updated the documentation accordingly

License

  • I submit my code changes under the same MIT License that covers the project.
    Feel free to contact the maintainers if that's a concern.
  • I have updated the license header for each file (see an example below).
# Copyright (C) 2025 Intel Corporation
#
# SPDX-License-Identifier: MIT

@gdlg gdlg changed the title Add support for Python 3.12 and MacOS [WIP] Add support for Python 3.12 and MacOS Jul 25, 2025
@gdlg gdlg closed this Jul 25, 2025
@gdlg gdlg reopened this Jul 25, 2025
@gdlg gdlg marked this pull request as ready for review July 25, 2025 10:03
@gdlg gdlg changed the title [WIP] Add support for Python 3.12 and MacOS [Draft] Add support for Python 3.12 and MacOS Jul 25, 2025
@gdlg gdlg closed this Jul 25, 2025
@gdlg gdlg reopened this Jul 25, 2025
@gdlg gdlg changed the title [Draft] Add support for Python 3.12 and MacOS [Draft] Add support for Python 3.13 and MacOS Jul 25, 2025
@gdlg gdlg changed the title [Draft] Add support for Python 3.13 and MacOS Add support for Python 3.13 and MacOS Jul 25, 2025
@gdlg gdlg requested a review from samet-akcay July 25, 2025 13:35
Copy link
Copy Markdown
Contributor

@samet-akcay samet-akcay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the effort!

@samet-akcay samet-akcay merged commit 14ad5e4 into develop Jul 28, 2025
15 checks passed
@gdlg gdlg deleted the gppayend/py313_and_macos branch August 18, 2025 08:31
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.

pip install datumaro does not work without rust installation

2 participants