Changes between Initial Version and Version 1 of Ticket #36479
- Timestamp:
- Jun 25, 2025, 12:45:42 PM (2 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #36479
- Property Needs tests set
-
Ticket #36479 – Description
initial v1 8 8 However, it fails on the `Darwin` platform, at least on MacOS v14.7.2 (Sonoma) M1 machine. I tested on a Linux platform, and the test passed. 9 9 10 The root issue is due to the `subprocess.run` command, which yields different `OSError` results on different OSes when the test reaches the [https://github.com/django/django/blob/68a45d9a8078db642f0aca7ddab33af6df7ebeb3/django/core/management/utils.py#L175-L177 `subprocess.run(["nonexistent", "--fast", "--"]) `]10 The root issue is due to the `subprocess.run` command, which yields different `OSError` results on different OSes when the test reaches the [https://github.com/django/django/blob/68a45d9a8078db642f0aca7ddab33af6df7ebeb3/django/core/management/utils.py#L175-L177 `subprocess.run(["nonexistent", "--fast", "--"])]`. 11 11 12 12 For Darwin (at least on MacOS v14.7.2 - M1), it yields a `NotADirectoryError` / `OSError(20, "Not a directory")` which fails the test. … … 16 16 17 17 See failed test full stacktrace: https://dpaste.org/pY48h 18 19 Update: Please see https://github.com/django/django/pull/19591