upvote
It's usually enough but not always. Sometimes it happened that my customers using MacOS or WSL were not able to pass some tests or reproduce some bugs. That was due to some differences between the userland of the Linux servers, which are our build and deployment targets, and what they have on their Macs. I work on a Debian laptop (it used to be Ubuntu) and I can always run on it whatever sw runs on the servers. The languages are Python and Ruby, some bash.

The developers on WSL (the Python project, Django) tend to have a simplified environment. For example they don't run Celery (I never investigated why) and run all the background jobs synchronously or they don't run those jobs at all.

The ones on Macs (the Ruby project, Rails) have the full environment but I remember that they skipped some integration tests because they always failed on their Macs (Capybara and Chromedriver, I don't remember the details.) I was the one running the full test suite. By the way: all the CI services I used in the last 10 years are particularly bad at running those kind of tests. Maybe it's the amount of memory or the timing of the operations and those CI VMs (or containers?) don't play well with the assumptions of the test frameworks. Any language, any framework.

reply
Which doesn’t make it Linux, which is what op wants. It’s based on a BSD-based mach kernel. You might as well say someone asking for Linux should just run Irix, because hey, it’s UNIX!
reply
Who cares about the kernel? That only matters for hardware support, which is going to be much better with macOS on mac hardware. Macs can easily run 99%+ of the software that people use linux for, because *nix. The only real reasons to require linux in this situation are ideological (free software/GPL vs proprietary Apple) and aesthetic (you're used to X/wayland/systemd/whatever system software and don't like Apple's solution). It would definitely be nice if Apple helped people out by documenting and releasing source for the bootloader and firmware to make it easier to install third-party OSes on their hardware... but they're not a hacker-hobbyist nonprofit doing it for the love, so why would they?
reply
well it's a hell of a lot closer than wsl
reply