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

Python 3.13 compatibility: Rename deprecated .warn() to .warning() #168

Closed
wants to merge 1 commit into from

Conversation

robert-scheck
Copy link
Contributor

Without this patch, building latest Pyzor using Python 3.13.0b2 fails like this:

AttributeError: 'Logger' object has no attribute 'warn'

See also: https://docs.python.org/3.13/whatsnew/3.13.html#logging
Fixes: #164

Without this patch, building latest Pyzor using Python 3.13.0b2 fails
like this: AttributeError: 'Logger' object has no attribute 'warn'

See also: https://docs.python.org/3.13/whatsnew/3.13.html#logging
@MugurAnghel MugurAnghel self-requested a review July 5, 2024 12:16
@MugurAnghel
Copy link
Contributor

I am closing this as I already included the deprecated .warn() change in the PRs for the new release.

@robert-scheck
Copy link
Contributor Author

Commit 32e66c5 contains the mentioned changes.

@robert-scheck robert-scheck deleted the python3.13 branch October 26, 2024 17:10
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.

deprecation warning with python 3.11
3 participants