Skip to content

Migrate to modern logger interface #537

New issue

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

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

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 2, 2025

Conversation

emmanuel-ferdman
Copy link
Contributor

PR Summary

The logger.warn() method is deprecated since Python2.7 and replaced with logger.warning(). It leads to those warnings:

DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead

Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
Copy link

codecov bot commented Jun 1, 2025

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 92.83%. Comparing base (b28e9a3) to head (912b367).
Report is 78 commits behind head on master.

Files with missing lines Patch % Lines
torch_frame/utils/infer_stype.py 0.00% 1 Missing ⚠️

❌ Your patch status has failed because the patch coverage (0.00%) is below the target coverage (80.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #537      +/-   ##
==========================================
- Coverage   93.58%   92.83%   -0.76%     
==========================================
  Files         126      129       +3     
  Lines        6592     6766     +174     
==========================================
+ Hits         6169     6281     +112     
- Misses        423      485      +62     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@akihironitta akihironitta merged commit 8d989d5 into pyg-team:master Jun 2, 2025
14 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants