Opened 2 weeks ago

Last modified 2 weeks ago

#72303 new defect

py313-scipy depends on python312 on Monterey

Reported by: msz59 Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: py313-scipy

Description

Contrary to what port page shows in "depends on" section, on my Monterey MacBookPro an attempt to install py313-scipy shows following dependency list:

$ sudo port install py313-scipy
--->  Computing dependencies for py313-scipy
The following dependencies will be installed: 
 boost181
 icu
 lz4
 lzma
 mypy_select
 py313-mypy
 py313-mypy_extensions
 py313-pybind11
 py313-typing_extensions
 python312
 python3_select-312
 python_select-312
 zstd
Continue? [Y/n]: n

Having to install python312 to get SciPy for Py313 does not make sense to me. NumPy (py313-numpy) installed smoothly, just with python313

NB. Monterey OS is installed on an older MBP using OpenCore although I doubt that could change the cross-dependiences

Change History (2)

comment:1 Changed 2 weeks ago by reneeotten (Renee Otten)

Please check the output of port rdeps py313-scipy - you will see that python312 is pulled in as a build dependency of clang-18. I agree that it might be beneficial to change this to python313 but I haven't investigated whether or not there is a reason for the current situation (other than nobody has changed it yet). So there isn't an issue here with py313-scipy specifically.

comment:2 Changed 2 weeks ago by jmroot (Joshua Root)

The clang ports depending on any python newer than 3.10 is actually kind of a problem because of the C11 requirement.

Note: See TracTickets for help on using tickets.