Changes between Initial Version and Version 1 of Ticket #36479


Ignore:
Timestamp:
Jun 25, 2025, 12:45:42 PM (2 months ago)
Author:
Roelzkie
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #36479

    • Property Needs tests set
  • Ticket #36479 – Description

    initial v1  
    88However, 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.
    99
    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", "--"])`]
     10The 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", "--"])]`.
    1111
    1212For Darwin (at least on MacOS v14.7.2 - M1), it yields a `NotADirectoryError` / `OSError(20, "Not a directory")` which fails the test.
     
    1616
    1717See failed test full stacktrace: https://dpaste.org/pY48h
     18
     19Update: Please see https://github.com/django/django/pull/19591
Back to Top