Skip to content
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

Replace logger.warn w/ logger.warning #220

Merged
merged 1 commit into from
Jun 11, 2024
Merged

Conversation

zklaus
Copy link
Contributor

@zklaus zklaus commented Jun 11, 2024

Description

This replaces calls to logger.warn with logger.warning. The former has been deprecated since Python 3.3 and generates DeprecationWarnings that can make output particularly in debugging and testing more noisy than necessary.

Also see conda/conda#13963.

Checklist - did you ...

  • Add a file to the news directory (using the template) for the next release's release notes?
  • Add / update necessary tests?
  • Add / update outdated documentation?

@conda-bot conda-bot added the cla-signed [bot] added once the contributor has signed the CLA label Jun 11, 2024
@zklaus zklaus marked this pull request as ready for review June 11, 2024 08:57
@zklaus zklaus requested a review from a team as a code owner June 11, 2024 08:57
@jezdez jezdez merged commit 5bc9e49 into conda:main Jun 11, 2024
19 checks passed
@zklaus zklaus deleted the warn-to-warning branch June 11, 2024 11:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed [bot] added once the contributor has signed the CLA
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants