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

logging.warn is removed in Python 3.13 #4344

Open
jelly opened this issue Apr 28, 2024 · 0 comments
Open

logging.warn is removed in Python 3.13 #4344

jelly opened this issue Apr 28, 2024 · 0 comments

Comments

@jelly
Copy link

jelly commented Apr 28, 2024

Description of problem:

logging.warn is used in the Glusterfs Python code, this function has been deprecated since Python 3.3 and is an alias to logging.warning.

The exact command to reproduce the issue:

Run the syncdaemon scripts.

The full output of the command that failed:

None

Expected results:

No deprecation warning

Additional info:

https://docs.python.org/3.12/library/logging.html#logging.Logger.warning
https://docs.python.org/3.13/whatsnew/3.13.html#logging

jelly added a commit to jelly/glusterfs that referenced this issue Apr 28, 2024
)

logging.warn is an alias to logging.warning since Python 3.3 and will be
removed in Python 3.13.
jelly added a commit to jelly/glusterfs that referenced this issue Apr 29, 2024
)

logging.warn is an alias to logging.warning since Python 3.3 and will be
removed in Python 3.13.
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

No branches or pull requests

1 participant