Skip to content

Conversation

emmanuel-ferdman
Copy link

PR Checklist

  • The commit message follows our guidelines: Code of conduct
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • Does this PR introduce a breaking change?
  • Include PR in release notes?

PR Type

  • Bugfix
  • Feature
  • Refactoring
  • Build /CI
  • Documentation
  • Others

What is the current behavior?

The logger.warn method is deprecated so the library throws different deprecation warning:

/home/runner/work/patchwork/patchwork/patchwork/steps/ExtractModelResponse/ExtractModelResponse.py:33: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead

What is the new behavior?

This small PR migrates from logger.warn to logger.warning.

Other information

Signed-off-by: Emmanuel Ferdman <[email protected]>
@CLAassistant
Copy link

CLAassistant commented Apr 30, 2025

CLA assistant check
All committers have signed the CLA.

@emmanuel-ferdman
Copy link
Author

@whoisarpit could you please review this small PR when you get the chance? thanks 🙌

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.

2 participants