Latest conda seems incompatible with the brew cmake ninja

I am getting error in my development build. So I followed https://github.com/pytorch/pytorch#from-source:

 brew install cmake ninja

I get this error:

The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    conda-23.7.3               |  py310hbe9552e_0        1009 KB  conda-forge
    ------------------------------------------------------------
                                           Total:        1009 KB

The following packages will be UPDATED:

  conda                              23.5.0-py310hbe9552e_1 --> 23.7.3-py310hbe9552e_0 

The following packages will be DOWNGRADED:

  cryptography                       41.0.1-py310hdd3b5e7_0 --> 38.0.4-py310hfc83b78_0 


Proceed ([y]/n)? n

Following the PyTorch setup instructions looks like the latest conda is incompatible with the brew cmake ninja.

I have pressed y but am now not sure how sane my environment is.