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

gh-105376: Remove logging.Logger.warn() method #105377

Merged
merged 1 commit into from
Jun 6, 2023

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Jun 6, 2023

@vstinner
Copy link
Member Author

vstinner commented Jun 6, 2023

cc @vsajip

@vstinner vstinner force-pushed the remove_logging_warn branch from 184375d to 0ff0444 Compare June 6, 2023 18:06
@vstinner
Copy link
Member Author

vstinner commented Jun 6, 2023

Oh, I forgot to mention that the method was deprecated since Python 3.3. I updated the PR.

@vstinner vstinner enabled auto-merge (squash) June 6, 2023 18:12
@vstinner vstinner merged commit 6c54e5d into python:main Jun 6, 2023
@vstinner vstinner deleted the remove_logging_warn branch June 14, 2023 15:46
lewisemm added a commit to lewisemm/django-pipeline that referenced this pull request Jan 15, 2024
- `logging.Logger.warn()` has been deprecated since Python 3.3 and
will not be available in Python 3.13 as per this pull request
(python/cpython#105377).
lewisemm added a commit to lewisemm/edx-platform that referenced this pull request Jan 15, 2024
The `logging.Logger.warn` method has been deprecated since Python 3.3
and is due to be removed all together in Python 3.13. See
python/cpython#105377

`logging.Logger.warning` is the preferred and recommended way to log
warnings.

Fixes openedx/public-engineering#149
peymanslh pushed a commit to jazzband/django-pipeline that referenced this pull request Jan 15, 2024
- `logging.Logger.warn()` has been deprecated since Python 3.3 and
will not be available in Python 3.13 as per this pull request
(python/cpython#105377).

Co-authored-by: Lewis M. Kabui <lewisemm@users.noreply.github.com>
UsamaSadiq pushed a commit to openedx/edx-platform that referenced this pull request Jan 16, 2024
The `logging.Logger.warn` method has been deprecated since Python 3.3
and is due to be removed all together in Python 3.13. See
python/cpython#105377

`logging.Logger.warning` is the preferred and recommended way to log
warnings.

Fixes openedx/public-engineering#149

Co-authored-by: Lewis M. Kabui <lewisemm@users.noreply.github.com>
mariajgrimaldi pushed a commit to eduNEXT/edunext-platform that referenced this pull request Jan 23, 2024
The `logging.Logger.warn` method has been deprecated since Python 3.3
and is due to be removed all together in Python 3.13. See
python/cpython#105377

`logging.Logger.warning` is the preferred and recommended way to log
warnings.

Fixes openedx/public-engineering#149

Co-authored-by: Lewis M. Kabui <lewisemm@users.noreply.github.com>
vstinner added a commit to vstinner/cpython that referenced this pull request Aug 7, 2024
…105377)"

This reverts commit dcc028d and
commit 6c54e5d.

Keep warn() method 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

Successfully merging this pull request may close these issues.

3 participants