[issue43864] [Windows] test_importlib logs: DeprecationWarning: WindowsRegistryFinder.find_module() is deprecated and slated for removal in Python 3.12; use find_spec() instead

2021-04-27 Thread Steve Dower


Change by Steve Dower :


--
resolution:  -> fixed
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue43864] [Windows] test_importlib logs: DeprecationWarning: WindowsRegistryFinder.find_module() is deprecated and slated for removal in Python 3.12; use find_spec() instead

2021-04-27 Thread Steve Dower


Steve Dower  added the comment:


New changeset e3bf179642a3445fb079454f382b93d0177f5012 by Shreyan Avigyan in 
branch 'master':
bpo-43864: Silence deprecation warning in test_importlib.test_module_found and 
test_importlib.test_module_not_found (GH-25656)
https://github.com/python/cpython/commit/e3bf179642a3445fb079454f382b93d0177f5012


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue43864] [Windows] test_importlib logs: DeprecationWarning: WindowsRegistryFinder.find_module() is deprecated and slated for removal in Python 3.12; use find_spec() instead

2021-04-27 Thread STINNER Victor


STINNER Victor  added the comment:

I reopen the issue for PR 25656.

--
resolution: fixed -> 
status: closed -> open

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue43864] [Windows] test_importlib logs: DeprecationWarning: WindowsRegistryFinder.find_module() is deprecated and slated for removal in Python 3.12; use find_spec() instead

2021-04-27 Thread STINNER Victor


STINNER Victor  added the comment:

commit 22556d84bca68a16e030e2337dcad80069d06f6b
Author: Brett Cannon 
Date:   Fri Apr 23 14:40:18 2021 -0700

Silence find_module() DeprecationWarning on Windows tests (GH-25563)

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue43864] [Windows] test_importlib logs: DeprecationWarning: WindowsRegistryFinder.find_module() is deprecated and slated for removal in Python 3.12; use find_spec() instead

2021-04-27 Thread Shreyan Avigyan


Change by Shreyan Avigyan :


--
pull_requests: +24347
pull_request: https://github.com/python/cpython/pull/25656

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue43864] [Windows] test_importlib logs: DeprecationWarning: WindowsRegistryFinder.find_module() is deprecated and slated for removal in Python 3.12; use find_spec() instead

2021-04-27 Thread Shreyan Avigyan


Shreyan Avigyan  added the comment:

Can you reopen this issue? Brett forgot to silence another warning in 
WindowsRegistryFinderTests class. I'm opening a PR for that.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue43864] [Windows] test_importlib logs: DeprecationWarning: WindowsRegistryFinder.find_module() is deprecated and slated for removal in Python 3.12; use find_spec() instead

2021-04-24 Thread Brett Cannon


Change by Brett Cannon :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue43864] [Windows] test_importlib logs: DeprecationWarning: WindowsRegistryFinder.find_module() is deprecated and slated for removal in Python 3.12; use find_spec() instead

2021-04-23 Thread Brett Cannon


Change by Brett Cannon :


--
keywords: +patch
pull_requests: +24283
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/25563

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue43864] [Windows] test_importlib logs: DeprecationWarning: WindowsRegistryFinder.find_module() is deprecated and slated for removal in Python 3.12; use find_spec() instead

2021-04-16 Thread Brett Cannon


Brett Cannon  added the comment:

Darn, forgot about Windows when I hunted down all the warnings on macOS.

--
assignee:  -> brett.cannon

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue43864] [Windows] test_importlib logs: DeprecationWarning: WindowsRegistryFinder.find_module() is deprecated and slated for removal in Python 3.12; use find_spec() instead

2021-04-16 Thread Shreyan Avigyan


Change by Shreyan Avigyan :


--
nosy: +shreyanavigyan

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue43864] [Windows] test_importlib logs: DeprecationWarning: WindowsRegistryFinder.find_module() is deprecated and slated for removal in Python 3.12; use find_spec() instead

2021-04-16 Thread STINNER Victor


New submission from STINNER Victor :

On Windows, test_importlib logs "DeprecationWarning: 
WindowsRegistryFinder.find_module() is deprecated (...)". Example:

vstinner@DESKTOP-DK7VBIL C:\vstinner\python\master>python -m test -v 
test_importlib 
(...)
test_find_module_missing 
(test.test_importlib.test_windows.Frozen_WindowsRegistryFinderTests) ... 
:848: DeprecationWarning: 
WindowsRegistryFinder.find_module() is deprecated and slated for 
removal in Python 3.12; use find_spec() instead
ok

(...)

test_find_module_missing 
(test.test_importlib.test_windows.Source_WindowsRegistryFinderTests) ... 
C:\vstinner\python\master\lib\importlib\_bootstrap_external.py:848: 
DeprecationWarning: WindowsRegistryFinder.find_module() is de
precated and slated for removal in Python 3.12; use find_spec() instead
  _warnings.warn("WindowsRegistryFinder.find_module() is deprecated and "
ok

(...)

--
components: Tests, Windows
messages: 391192
nosy: brett.cannon, paul.moore, steve.dower, tim.golden, vstinner, xtreak, 
zach.ware
priority: normal
severity: normal
status: open
title: [Windows] test_importlib logs: DeprecationWarning: 
WindowsRegistryFinder.find_module() is deprecated and slated for removal in 
Python 3.12; use find_spec() instead
versions: Python 3.10

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com