xorbitsai / xoscar

Python actor framework for heterogeneous computing.
https://xoscar.dev
Apache License 2.0
113 stars 23 forks source link

ENH: Fix deprecation warning caused by pkgutil.find_loader #109

Closed hucorz closed 4 weeks ago

hucorz commented 4 weeks ago

What do these changes do?

fix deprecation warning by pkgutil.find_loader

DeprecationWarning: 'pkgutil.find_loader' is deprecated and slated for removal in Python 3.14; use importlib.util.find_spec() instead

Related issue number

Check code requirements

codecov[bot] commented 4 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 84.79%. Comparing base (d6465c9) to head (d7cd8d3). Report is 17 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #109 +/- ## ========================================== - Coverage 88.97% 84.79% -4.19% ========================================== Files 48 53 +5 Lines 4038 4558 +520 Branches 770 494 -276 ========================================== + Hits 3593 3865 +272 - Misses 358 595 +237 - Partials 87 98 +11 ``` | [Flag](https://app.codecov.io/gh/xorbitsai/xoscar/pull/109/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=xorbitsai) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/xorbitsai/xoscar/pull/109/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=xorbitsai) | `84.57% <ø> (-4.23%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=xorbitsai#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.