Skip to content

Conversation

yedayak
Copy link
Collaborator

@yedayak yedayak commented Feb 24, 2025

See #726

@yedayak
Copy link
Collaborator Author

yedayak commented Feb 24, 2025

The CI run failed because for some reason it didn't manage to delete the temp directory it creates in test_unit_load.py using shutil.rmtree in prepare_fixture_dir

@scop
Copy link
Owner

scop commented Apr 18, 2025

Thanks for working on this! I think I've seen the temp dir removal issue myself as well. Would be great if we could figure out a workaround. If we can't, we should allow it to fail only on macOS.

@yedayak yedayak force-pushed the macos-ci branch 3 times, most recently from e94114a to 34a0d71 Compare May 12, 2025 20:55
@yedayak yedayak force-pushed the macos-ci branch 11 times, most recently from ad44019 to 2e6e2c9 Compare July 8, 2025 17:27
@yedayak yedayak force-pushed the macos-ci branch 3 times, most recently from 42e0b4d to 9153f95 Compare September 18, 2025 20:11
scop and others added 5 commits September 21, 2025 00:32
This is an interim hack to remove things from CI config unrelated to
beating the test suite into shape on macOS, for a bit faster turnaround.
To be cleaned up and properly integrated to check.yaml before merge.
brew/python doesn't like installing python packages globally:
```
error: externally-managed-environment
× This environment is externally managed
```
For some reason, even though the test succeeds, the actual file isn't
created like on linux. Maybe about versions/implementations of make?
Some of the files have unicode characters that can be represented in
multiple ways, so we normalize them. Specifically:
'e\u0301' ('e' + 'Combining Acute Accent') doesn't equal '\xe9' (LATIN SMALL
LETTER E WITH ACUTE) unless you normalize them.
vipw seems to have -d as an option on macos now.
Partially reverts ccf7bf6 "test(dmesg,vipw): expect no options on macOS"
The usage output on macos is in bsd style, not gnu style
It seems there is some behaviour differences regarding the order
completions are returned in between linux and macos, specifically
regarding sorting of upper case and lowercase letters. Sorting them
ourselves in the tests makes it consistent.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants