-
Notifications
You must be signed in to change notification settings - Fork 6
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
Support macOS 14 #55
Support macOS 14 #55
Conversation
Looks like this needs some work--the tests fail in CI but not my development machine. I'm on the case. |
macOS version 14 removed the `/usr/local/var/` directory. `/run/` and `/var/run/` are defined by the Filesystem Hierarchy Standard for the purpose of UNIX-domain sockets [1]. However, macOS 14 does not include `/run/`, and `/var/run/` is not world-writable on that platform. In order to support macOS 14, use the `/tmp/` directory, instead. Extend the configuration of the project's continuous integration environment to include macOS 14. [1] https://refspecs.linuxfoundation.org/FHS_3.0/index.html
This is ready for review, now! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't realize that macOS 14 gets rid usr/local/var
. That seems like an odd and consequential change. Switching to tmp
makes sense for this task. Tested.Thanks for handling it!
node-version: ['18.x'] | ||
test-command: | ||
- npm run test-style | ||
- npm run test-types | ||
- npm run test-unit | ||
exclude: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good call!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
macOS version 14 removed the `/usr/local/var/` directory. `/run/` and `/var/run/` are defined by the Filesystem Hierarchy Standard for the purpose of UNIX-domain sockets [1]. However, macOS 14 does not include `/run/`, and `/var/run/` is not world-writable on that platform. In order to support macOS 14, use the `/tmp/` directory, instead. Extend the configuration of the project's continuous integration environment to include macOS 14. This commit has been cherry-picked from the "aria-at-automation-driver" project, where it was previously reviewed and approved [2]. [1] https://refspecs.linuxfoundation.org/FHS_3.0/index.html [2] w3c/aria-at-automation-driver#55
macOS version 14 removed the
/usr/local/var/
directory./run/
and/var/run/
are defined by the Filesystem Hierarchy Standard for the purpose of UNIX-domain sockets 1. However, macOS 14 does not include/run/
, and/var/run/
is not world-writable on that platform. In order to support macOS 14, use the/tmp/
directory, instead. Extend the configuration of the project's continuous integration environment to include macOS 14.Footnotes
https://refspecs.linuxfoundation.org/FHS_3.0/index.html ↩