Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

#issue-1846 fixed by updating imp to importlib. #2170

Merged
merged 1 commit into from
Mar 19, 2024

Conversation

teelrabbit
Copy link
Contributor

Updates imp to importlib in setup.py file. The load_source function being used was replaced with importlib's spec_from_file_location. This should address issues with future python support.

@YifanShenSZ
Copy link
Collaborator

@TobyRoseman Any thoughts?

@TobyRoseman
Copy link
Collaborator

Looks good to me.

CI: https://gitlab.com/coremltools1/coremltools/-/pipelines/1218409419

@teelrabbit
Copy link
Contributor Author

teelrabbit commented Mar 19, 2024

Looks good to me.

CI: https://gitlab.com/coremltools1/coremltools/-/pipelines/1218409419

Looks like its passed all tests. This MR still needs to be reviewed though 🤙
fry_dancing

@YifanShenSZ YifanShenSZ self-assigned this Mar 19, 2024
@YifanShenSZ YifanShenSZ self-requested a review March 19, 2024 23:54
Copy link
Collaborator

@YifanShenSZ YifanShenSZ left a comment

Choose a reason for hiding this comment

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

CI green ✅ Ready to merge

Thanks for contributing to coremltools!

@YifanShenSZ YifanShenSZ merged commit bb62da2 into apple:main Mar 19, 2024
@teelrabbit teelrabbit mentioned this pull request Mar 22, 2024
@glenn-jocher
Copy link

@YifanShenSZ this may resolve an issue we've seen publishing https://github.com/ultralytics/ultralytics to Conda once coremltools is updated on PyPI. Do you know when the next release will be?

Screenshot 2024-03-23 at 19 47 03

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants