Migrate to modern logger interface#80
Merged
rgsl888prabhu merged 1 commit intoNVIDIA:branch-25.05from Jun 9, 2025
emmanuel-ferdman:branch-25.05
Merged
Migrate to modern logger interface#80rgsl888prabhu merged 1 commit intoNVIDIA:branch-25.05from emmanuel-ferdman:branch-25.05
rgsl888prabhu merged 1 commit intoNVIDIA:branch-25.05from
emmanuel-ferdman:branch-25.05
Conversation
Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
Collaborator
|
/ok to test |
@rgsl888prabhu, there was an error processing your request: See the following link for more information: https://docs.gha-runners.nvidia.com/cpr/e/1/ |
Collaborator
|
/ok to test 7b4403f |
Collaborator
rgsl888prabhu
left a comment
There was a problem hiding this comment.
Thank you @emmanuel-ferdman, appreciate your contribution to cuOpt. Please feel free to make PRs to improve cuOpt and suggest any features that would enhance cuOpt to serve the community better.
Collaborator
|
/merge |
jieyibi
pushed a commit
to yining043/cuopt
that referenced
this pull request
Mar 26, 2026
## Description The `logger.warn()` method is deprecated since Python2.7 and replaced with `logger.warning()`. It leads to those warnings: ```python DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead ``` This small PR resolves those warnings. It also fixes a few typos along the way. Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
The
logger.warn()method is deprecated since Python2.7 and replaced withlogger.warning(). It leads to those warnings:This small PR resolves those warnings. It also fixes a few typos along the way.