Skip to content

Conversation

@awwad
Copy link
Contributor

@awwad awwad commented Apr 15, 2021

conda already having the latest version of root metadata built in is a normal and common case. It should not be generating a warning, so I dropped it to debug level and reworded it slightly. (Perhaps info is better?) It looks to folks like something is wrong when it's not.

Also clarified that the info line on fetching updated root metadata is looking to see if there is a newer root file. (There will almost always not be.)

@awwad awwad requested a review from a team as a code owner April 15, 2021 20:03
@anaconda-issue-bot anaconda-issue-bot added the cla-signed [bot] added once the contributor has signed the CLA label Apr 15, 2021
@awwad awwad force-pushed the av_noise_reduction branch 2 times, most recently from f2a2a8a to eed9aef Compare April 15, 2021 20:12
conda already having the latest version of root metadata built in
is a normal and common case, so it should not be generating a
warning.

Also clarified that the fetching root metadata line is looking to
see if there is a newer root file.  (There will usually not be.)

Signed-off-by: Sebastien Awwad <[email protected]>
@awwad awwad force-pushed the av_noise_reduction branch from eed9aef to 04859c5 Compare April 15, 2021 20:13
@awwad
Copy link
Contributor Author

awwad commented Apr 15, 2021

I do not like the linter's opinions about line continuation indents. Hehe. 😅

@dbast
Copy link
Member

dbast commented Apr 16, 2021

LGTM. Debug is better than warn in that case (I would use info to inform the user about important business decisions, which seems not the case here.)

Even though fstrings are now possible within the conda codebase as we ditched older python versions, we should keep in mind, that for logging fstrings are not always the best option, as the string is always computed, no matter if the log level is activate or not ... the old syntax can be better for expensive statements, see https://docs.python.org/3/howto/logging.html#optimization

@dbast dbast merged commit b6d32c8 into conda:master Apr 16, 2021
@github-actions
Copy link

Hi there, thank you for your contribution!

This pull request has been automatically locked because it has not had recent activity after being closed.

Please open a new issue or pull request if needed.

Thanks!

@github-actions github-actions bot added the locked [bot] locked due to inactivity label Apr 18, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla-signed [bot] added once the contributor has signed the CLA locked [bot] locked due to inactivity

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants