[issue41154] test_pkgutil:test_name_resolution fails on macOS HFS+ file systems

2021-02-03 Thread Steve Dower


Steve Dower  added the comment:

Distutils is now deprecated (see PEP 632) and all tagged issues are being 
closed. From now until removal, only release blocking issues will be considered 
for distutils.

If this issue does not relate to distutils, please remove the component and 
reopen it. If you believe it still requires a fix, most likely the issue should 
be re-reported at https://github.com/pypa/setuptools

--
nosy: +steve.dower
resolution:  -> out of date
stage:  -> 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



[issue41154] test_pkgutil:test_name_resolution fails on macOS HFS+ file systems

2020-08-31 Thread Brett Cannon


Brett Cannon  added the comment:

I think if we can craft a skip check that is targeted enough then that's our 
best solution, but barring that then skipping for all of macOS wouldn't be the 
end of the world (maybe a slightly less brute force is a macOS version check?).

--

___
Python tracker 

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



[issue41154] test_pkgutil:test_name_resolution fails on macOS HFS+ file systems

2020-08-31 Thread Ned Deily


Ned Deily  added the comment:

> I wonder if it's a problem from Unicode representation

That does seem to be the issue. In particular, there are differences in Unicode 
representation between file names on traditional HFS+ versus the newer APFS. 
APFS is the default for system file systems as of macOS 10.13; unlike HFS+, 
APFS is by default file name normalization insensitive. By creating two disk 
image files systems on a current macOS system, it's easy to demonstrate that 
test_name_resolution passes on APFS but fails on HFS+.  So the question becomes 
what to do about the test.  Without digging into it further, I suppose we could 
add something to test whether the file system where test temp files are created 
is normalization insensitive and, if so, skip. Or use brute force and always 
skip on macOS. In any case, while annoying, it probably doesn't need to be a 
"deferred blocker".

--
priority: deferred blocker -> critical
title: test_pkgutil:test_name_resolution fails on some platforms -> 
test_pkgutil:test_name_resolution fails on macOS HFS+ file systems

___
Python tracker 

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