Skip to content
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

Tests failing on macOS #547

Closed
jaraco opened this issue Nov 24, 2021 · 4 comments · Fixed by #548
Closed

Tests failing on macOS #547

jaraco opened this issue Nov 24, 2021 · 4 comments · Fixed by #548
Labels

Comments

@jaraco
Copy link
Owner

jaraco commented Nov 24, 2021

Sometime between https://github.com/jaraco/keyring/actions/runs/1226964522 and https://github.com/jaraco/keyring/actions/runs/1373384293, CI tests started failing on macOS. The tests pass for me locally on macOS Monterey, so something likely changed in the CI environment.

@jaraco jaraco added the macOS label Nov 24, 2021
@jaraco
Copy link
Owner Author

jaraco commented Nov 24, 2021

Correction - the tests are failing for me on Python 3.6 and 3.7, but not 3.8.

@jaraco
Copy link
Owner Author

jaraco commented Nov 24, 2021

Error message is:

__________________________________________________________ ERROR collecting keyring/backends/macOS/api.py ___________________________________________________________
keyring/backends/macOS/api.py:45: in <module>
    SecItemAdd = _sec.SecItemAdd
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ctypes/__init__.py:377: in __getattr__
    func = self.__getitem__(name)
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ctypes/__init__.py:382: in __getitem__
    func = self._FuncPtr((name_or_ordinal, self))
E   AttributeError: dlsym(RTLD_DEFAULT, SecItemAdd): symbol not found

@jaraco
Copy link
Owner Author

jaraco commented Nov 24, 2021

This appears to be a manifestation of #525 now in CI, presumably because GHA upgraded to macOS 11.

@jaraco
Copy link
Owner Author

jaraco commented Nov 24, 2021

Confirmed - between those two CI runs, macOS updated from 10.15 to 11.6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant