Message396051
Hello.
When we attempted to upgrade to Python 3.10.0b3 on Fedora 33 and 34, we see the following test failure:
======================================================================
ERROR: test_entry_points_by_index (test.test_importlib.test_metadata_api.APITests)
Prior versions of Distribution.entry_points would return a
----------------------------------------------------------------------
Traceback (most recent call last):
File "/builddir/build/BUILD/Python-3.10.0b3/Lib/test/test_importlib/test_metadata_api.py", line 145, in test_entry_points_by_index
expected = next(iter(caught))
StopIteration
----------------------------------------------------------------------
Ran 1402 tests in 2.125s
FAILED (errors=1, skipped=18, expected failures=1)
I've reproduced it without any Fedora's patches:
$ cd cpython
$ git switch -d v3.10.0b3 # or the tip of 3.10 today, 77eaf14d27
$ ./configure --enable-shared && make
$ LD_LIBRARY_PATH=. ./python -m test test_importlib
0:00:00 load avg: 13.59 Run tests sequentially
0:00:00 load avg: 13.59 [1/1] test_importlib
test test_importlib failed -- Traceback (most recent call last):
File "/home/churchyard/Dokumenty/RedHat/cpython/Lib/test/test_importlib/test_metadata_api.py", line 145, in test_entry_points_by_index
expected = next(iter(caught))
StopIteration
test_importlib failed
== Tests result: FAILURE ==
1 test failed:
test_importlib
Total duration: 11.0 sec
Tests result: FAILURE |
|
Date |
User |
Action |
Args |
2021-06-18 12:08:37 | hroncok | set | recipients:
+ hroncok, jaraco |
2021-06-18 12:08:37 | hroncok | set | messageid: <1624018117.88.0.819441595689.issue44451@roundup.psfhosted.org> |
2021-06-18 12:08:37 | hroncok | link | issue44451 messages |
2021-06-18 12:08:37 | hroncok | create | |
|