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鈥檒l 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
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
21 checks passed
@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>
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.

None yet

3 participants