[issue44784] test_importlib uses deprecated SelectableGroups interface

2021-07-31 Thread Jason R. Coombs


Change by Jason R. Coombs :


--
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



[issue44784] test_importlib uses deprecated SelectableGroups interface

2021-07-31 Thread Jason R. Coombs


Jason R. Coombs  added the comment:


New changeset 21d5897982698a461215203ab51f56ad05648001 by Miss Islington (bot) 
in branch '3.10':
bpo-44784: Apply changes from importlib_metadata 4.6.3 (GH-27508) (#27510)
https://github.com/python/cpython/commit/21d5897982698a461215203ab51f56ad05648001


--

___
Python tracker 

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



[issue44784] test_importlib uses deprecated SelectableGroups interface

2021-07-31 Thread miss-islington


Change by miss-islington :


--
pull_requests: +26024
pull_request: https://github.com/python/cpython/pull/27510

___
Python tracker 

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



[issue44784] test_importlib uses deprecated SelectableGroups interface

2021-07-31 Thread miss-islington


miss-islington  added the comment:


New changeset 1cf8424a62db38a041d421a46618e025bbb87f89 by Jason R. Coombs in 
branch 'main':
bpo-44784: Apply changes from importlib_metadata 4.6.3 (GH-27508)
https://github.com/python/cpython/commit/1cf8424a62db38a041d421a46618e025bbb87f89


--
nosy: +miss-islington

___
Python tracker 

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



[issue44784] test_importlib uses deprecated SelectableGroups interface

2021-07-31 Thread Jason R. Coombs


Change by Jason R. Coombs :


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

___
Python tracker 

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



[issue44784] test_importlib uses deprecated SelectableGroups interface

2021-07-30 Thread Jason R. Coombs


Jason R. Coombs  added the comment:

Patch at https://github.com/python/importlib_metadata/pull/333.

--

___
Python tracker 

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



[issue44784] test_importlib uses deprecated SelectableGroups interface

2021-07-30 Thread Jason R. Coombs


Jason R. Coombs  added the comment:

All four of those tests had used `capture_warnings` in an attempt to capture 
them, but it did not alter the warnings filter.

--

___
Python tracker 

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



[issue44784] test_importlib uses deprecated SelectableGroups interface

2021-07-30 Thread Jason R. Coombs


Jason R. Coombs  added the comment:

In addition to the two reported, there are two others:

- test_entry_points_dict_construction
- test_entry_points_by_index

that also fail. I've been able to replicate the issue in importlib_metadata, so 
I'll fix it there first.

--

___
Python tracker 

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



[issue44784] test_importlib uses deprecated SelectableGroups interface

2021-07-30 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
nosy: +jaraco

___
Python tracker 

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



[issue44784] test_importlib uses deprecated SelectableGroups interface

2021-07-30 Thread Irit Katriel


Change by Irit Katriel :


--
versions: +Python 3.11

___
Python tracker 

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



[issue44784] test_importlib uses deprecated SelectableGroups interface

2021-07-30 Thread Irit Katriel


New submission from Irit Katriel :

% ./python.exe -E -We -m test -v test_importlib



==
ERROR: test_entry_points_groups_get 
(test.test_importlib.test_metadata_api.APITests)
--
Traceback (most recent call last):
  File 
"/Users/iritkatriel/src/cpython-1/Lib/test/test_importlib/test_metadata_api.py",
 line 165, in test_entry_points_groups_get
entry_points().get('missing', 'default') == 'default'

  File "/Users/iritkatriel/src/cpython-1/Lib/importlib/metadata/__init__.py", 
line 400, in get
self._warn()

DeprecationWarning: SelectableGroups dict interface is deprecated. Use select.

==
ERROR: test_entry_points_groups_getitem 
(test.test_importlib.test_metadata_api.APITests)
--
Traceback (most recent call last):
  File 
"/Users/iritkatriel/src/cpython-1/Lib/test/test_importlib/test_metadata_api.py",
 line 155, in test_entry_points_groups_getitem
entry_points()['entries'] == entry_points(group='entries')
~~^^^
  File "/Users/iritkatriel/src/cpython-1/Lib/importlib/metadata/__init__.py", 
line 396, in __getitem__
self._warn()

DeprecationWarning: SelectableGroups dict interface is deprecated. Use select.

--

--
components: Tests
messages: 398598
nosy: iritkatriel
priority: normal
severity: normal
status: open
title: test_importlib uses deprecated SelectableGroups interface

___
Python tracker 

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