-
-
Notifications
You must be signed in to change notification settings - Fork 30.9k
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
importlib/test_metadata_api fails on Windows buildbots #103661
Comments
Failure message is:
The tests are failing on Windows buildbots, but I struggle to think of what might be different about the buildbot environments that would affect this test. I'm also unsure how to replicate the failure. Tests clearly pass on Windows in general. What is it about this test that makes it fail in the buildbot environments only? Since I don't have a way to triage the failure further, I'm going to mark the test as "xfail" for now to stop the buildbot failures. |
Good news is I've been able to replicate the issue on a local build of CPython for Windows, so I ought to be able to inspect for the root cause. |
Interestingly, it seems
|
Aah. |
The issue is here, where Windows-separated paths are generated. |
I also learned that the |
importlib_metadata 6.5.1 has that when applied here will overwrite the workaround. |
…5.0 to version 6.6.0 David Hotham (2): type annotations code review Jason R. Coombs (9): Update compatibility for Python 3.12 (python/cpython#103584). Resolve the located directory and remove suppression of Exceptions. Ref python/cpython#103661. Wrap 'subdir/line' in PosixPath to ensure the output uses posix path separators. Ref python/cpython#103661. Update changelog Rename 'line' to 'name' for better context. Reword to prefer imperative voice and more a more concise description. Use generator expression for paths. Remove nitpick_ignore no longer needed. Update changelog
v6.6.0 ====== * #449: Expanded type annotations. v6.5.1 ====== * python/cpython#103661: Removed excess error suppression in ``_read_files_egginfo_installed`` and fixed path handling on Windows. v6.5.0 ====== * #422: Removed ABC metaclass from ``Distribution`` and instead deprecated construction of ``Distribution`` objects without concrete methods. v6.4.1 ====== * Updated docs with tweaks from upstream CPython. v6.4.0 ====== * Consolidated some behaviors in tests around ``_path``. * Added type annotation for ``Distribution.read_text``. v6.3.0 ====== * #115: Support ``installed-files.txt`` for ``Distribution.files`` when present. v6.2.1 ====== * #442: Fixed issue introduced in v6.1.0 where non-importable names (metadata dirs) began appearing in ``packages_distributions``. v6.2.0 ====== * #384: ``PackageMetadata`` now stipulates an additional ``get`` method allowing for easy querying of metadata keys that may not be present.
…4915 https://build.opensuse.org/request/show/1084915 by user dirkmueller + dimstar_suse - update to 6.6.0: * Expanded type annotations. * python/cpython#103661: Removed excess error suppression in ``_read_files_egginfo_installed`` and fixed path handling on Windows. * #422: Removed ABC metaclass from ``Distribution`` and instead deprecated construction of ``Distribution`` objects without concrete methods. * Updated docs with tweaks from upstream CPython. * Consolidated some behaviors in tests around ``_path``. * Added type annotation for ``Distribution.read_text``.
Hi! The buildbot AMD64 Windows10 3.x has failed when building commit 3e0fec7.
What do you need to do:
You can take a look at the buildbot page here:
https://buildbot.python.org/all/#builders/146/builds/4915
Failed tests:
Failed subtests:
Summary of the results of the build (if available):
== Tests result: FAILURE then FAILURE ==
399 tests OK.
10 slowest tests:
1 test failed:
test_importlib
34 tests skipped:
test_clinic test_curses test_dbm_gnu test_dbm_ndbm test_devpoll
test_epoll test_fcntl test_fork1 test_gdb test_grp test_ioctl
test_kqueue test_multiprocessing_fork
test_multiprocessing_forkserver test_nis test_openpty
test_ossaudiodev test_peg_generator test_perf_profiler test_pipes
test_poll test_posix test_pty test_pwd test_readline test_resource
test_spwd test_syslog test_threadsignals test_wait3 test_wait4
test_xxlimited test_xxtestfuzz test_zipfile64
1 re-run test:
test_importlib
Total duration: 20 min 48 sec
Click to see traceback logs
Originally posted by @bedevere-bot in #103584 (comment)
Linked PRs
The text was updated successfully, but these errors were encountered: