[issue43569] test_importlib failed on installed Python

2021-03-22 Thread STINNER Victor


STINNER Victor  added the comment:

I confirm that aarch64 Fedora Stable Clang Installed 3.x is back to green, 
thanks for the fix.

--

___
Python tracker 

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



[issue43569] test_importlib failed on installed Python

2021-03-21 Thread Jason R. Coombs


Jason R. Coombs  added the comment:

Assuming Antoine is correct (a likely story), I'm closing and will only re-open 
if a subsequent failure is confirmed to have run and failed after the 
submission. Sorry for the noise.

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



[issue43569] test_importlib failed on installed Python

2021-03-21 Thread Jason R. Coombs


Jason R. Coombs  added the comment:

Okay, I think you may be right. I saw your name on the build and assumed that 
meant the merge triggered that build. I'll trigger a build now.

--

___
Python tracker 

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



[issue43569] test_importlib failed on installed Python

2021-03-21 Thread Antoine Pitrou


Antoine Pitrou  added the comment:

I don't think that build includes your change.
Here are the builds that have been triggered (the list seems incomplete for 
now):
https://buildbot.python.org/all/#/changes/3355

--

___
Python tracker 

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



[issue43569] test_importlib failed on installed Python

2021-03-21 Thread Jason R. Coombs


Jason R. Coombs  added the comment:

Unfortunately, it seems the patch didn't have the intended effect. The [build 
is still failing](https://buildbot.python.org/all/#/builders/14/builds/810). So 
I'm left without a way to test without committing code to the main branch.

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



[issue43569] test_importlib failed on installed Python

2021-03-21 Thread Antoine Pitrou


Change by Antoine Pitrou :


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



[issue43569] test_importlib failed on installed Python

2021-03-21 Thread Antoine Pitrou


Antoine Pitrou  added the comment:


New changeset 9a50ef43e42ee32450a81ce13ed5a0729d3b84e8 by Jason R. Coombs in 
branch 'master':
bpo-43569: Add test/test_importlib/namespacedata01 to TESTSUBDIRS (GH-24952)
https://github.com/python/cpython/commit/9a50ef43e42ee32450a81ce13ed5a0729d3b84e8


--

___
Python tracker 

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



[issue43569] test_importlib failed on installed Python

2021-03-21 Thread Antoine Pitrou


Antoine Pitrou  added the comment:

You can find your submitted change here by looking here:
https://buildbot.python.org/all/#/changes

For some reason, though, it seems that no build was triggered:
https://buildbot.python.org/all/#/changes/3344

In any case, the fix is a no-brainer.

--
nosy: +pitrou

___
Python tracker 

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



[issue43569] test_importlib failed on installed Python

2021-03-20 Thread Jason R. Coombs


Jason R. Coombs  added the comment:

I've submitted a PR and triggered build by buildbots, but I don't see that the 
indicated builder is building the PR. Shall I just submit and see what happens? 
Any other ideas how to verify the installed builder buildbots?

--

___
Python tracker 

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



[issue43569] test_importlib failed on installed Python

2021-03-20 Thread Jason R. Coombs


Change by Jason R. Coombs :


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

___
Python tracker 

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



[issue43569] test_importlib failed on installed Python

2021-03-20 Thread Jason R. Coombs


Jason R. Coombs  added the comment:

Oh, "installed python". So maybe Python requires one register files in more 
than one place to add them to the installation.

--

___
Python tracker 

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



[issue43569] test_importlib failed on installed Python

2021-03-20 Thread Jason R. Coombs


Jason R. Coombs  added the comment:

Interestingly, the pull request never alerted to any buildbot failures.

Any idea how I can reproduce the issue locally? Is there a docker image that 
would likely replicate the environment in which the tests are failing?

--

___
Python tracker 

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



[issue43569] test_importlib failed on installed Python

2021-03-20 Thread Jason R. Coombs


Change by Jason R. Coombs :


--
assignee:  -> jaraco
nosy: +jaraco

___
Python tracker 

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



[issue43569] test_importlib failed on installed Python

2021-03-20 Thread STINNER Victor


STINNER Victor  added the comment:

It seems like tests were added by:

commit 67148254146948041a77d8a2989f41b88cdb2f99
Author: Jason R. Coombs 
Date:   Thu Mar 4 13:43:00 2021 -0500

bpo-42129: Add support for resources in namespaces (GH-24670)

* Unify behavior in ResourceReaderDefaultsTests and align with the behavior 
found in importlib_resources.
* Equip NamespaceLoader with a NamespaceReader.
* Apply changes from importlib_resources 5.0.4

--

___
Python tracker 

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



[issue43569] test_importlib failed on installed Python

2021-03-20 Thread STINNER Victor


New submission from STINNER Victor :

Example on aarch64 Fedora Stable Clang Installed 3.x:
https://buildbot.python.org/all/#/builders/14/builds/804

==
ERROR: test_open_binary (test.test_importlib.test_open.OpenDiskNamespaceTests)
--
Traceback (most recent call last):
  File 
"/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang-installed/build/target/lib/python3.10/test/test_importlib/test_open.py",
 line 67, in setUp
from . import namespacedata01
ImportError: cannot import name 'namespacedata01' from 'test.test_importlib' 
(/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang-installed/build/target/lib/python3.10/test/test_importlib/__init__.py)

==
ERROR: test_open_binary_FileNotFoundError 
(test.test_importlib.test_open.OpenDiskNamespaceTests)
--
Traceback (most recent call last):
  File 
"/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang-installed/build/target/lib/python3.10/test/test_importlib/test_open.py",
 line 67, in setUp
from . import namespacedata01
ImportError: cannot import name 'namespacedata01' from 'test.test_importlib' 
(/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang-installed/build/target/lib/python3.10/test/test_importlib/__init__.py)

==
ERROR: test_open_text_FileNotFoundError 
(test.test_importlib.test_open.OpenDiskNamespaceTests)
--
Traceback (most recent call last):
  File 
"/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang-installed/build/target/lib/python3.10/test/test_importlib/test_open.py",
 line 67, in setUp
from . import namespacedata01
ImportError: cannot import name 'namespacedata01' from 'test.test_importlib' 
(/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang-installed/build/target/lib/python3.10/test/test_importlib/__init__.py)

==
ERROR: test_open_text_default_encoding 
(test.test_importlib.test_open.OpenDiskNamespaceTests)
--
Traceback (most recent call last):
  File 
"/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang-installed/build/target/lib/python3.10/test/test_importlib/test_open.py",
 line 67, in setUp
from . import namespacedata01
ImportError: cannot import name 'namespacedata01' from 'test.test_importlib' 
(/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang-installed/build/target/lib/python3.10/test/test_importlib/__init__.py)

==
ERROR: test_open_text_given_encoding 
(test.test_importlib.test_open.OpenDiskNamespaceTests)
--
Traceback (most recent call last):
  File 
"/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang-installed/build/target/lib/python3.10/test/test_importlib/test_open.py",
 line 67, in setUp
from . import namespacedata01
ImportError: cannot import name 'namespacedata01' from 'test.test_importlib' 
(/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang-installed/build/target/lib/python3.10/test/test_importlib/__init__.py)

==
ERROR: test_open_text_with_errors 
(test.test_importlib.test_open.OpenDiskNamespaceTests)
--
Traceback (most recent call last):
  File 
"/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang-installed/build/target/lib/python3.10/test/test_importlib/test_open.py",
 line 67, in setUp
from . import namespacedata01
ImportError: cannot import name 'namespacedata01' from 'test.test_importlib' 
(/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang-installed/build/target/lib/python3.10/test/test_importlib/__init__.py)

==
ERROR: test_is_dir (test.test_importlib.test_reader.MultiplexedPathTest)
--
Traceback (most recent call last):
  File 
"/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang-installed/build/target/lib/python3.10/test/test_importlib/test_reader.py",
 line 48, in test_is_dir
self.assertEqual(MultiplexedPath(self.folder).is_dir(), True)
  File 
"/home/buildbot/buildarea/3.x.cstratak-fedora-stable-aarch64.clang-installed/build/target/lib/python3.10/importlib/readers.py",
 line 63, in __init__
raise NotADirectoryError('MultiplexedPath only supports directories')
Not