[MacPorts] #74184: py310-scipy broken by bump of py-meson-python to 0.20.0
MacPorts
noreply at macports.org
Sat Jul 4 06:25:51 UTC 2026
#74184: py310-scipy broken by bump of py-meson-python to 0.20.0
-----------------------------------+--------------------
Reporter: a2ff | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.12.5
Resolution: | Keywords:
Port: py310-scipy py-scipy |
-----------------------------------+--------------------
Description changed by a2ff:
Old description:
> py310-scipy uses scipy 1.15.3 whose pyproject.toml requires meson-
> python<0.20.0 but now MacPorts has py-meson-python 0.20.0.
> A comment in the pyproject.toml says the upper version bound was putative
> as "chances or breakage are low".
> It does work with 0.20.0 so attached patch is just changing <0.20.0 to
> <=0.20.0 as i have no idea how high it is safe to bump the dependency.
> => see attached patch to be added to PortFile in branch python==310
>
> The build log error was:
> {{{
> :debug:build system: cd "/opt/local/var/macports/build/py310-scipy-
> bdae01e0/work/scipy-1.15.3" &&
> /opt/local/Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10
> -m build --no-isolation --wheel --outdir
> /opt/local/var/macports/build/py310-scipy-bdae01e0/work -Cbuild-dir=build
> -Csetup-args=-Dblas=accelerate -Csetup-args=-Dlapack=accelerate
> :info:build * Getting build dependencies for wheel...
> :info:build ERROR Missing dependencies:
> :info:build meson-python<0.20.0,>=0.15.0
> :info:build Command failed: cd "/opt/local/var/macports/build/py310
> -scipy-bdae01e0/work/scipy-1.15.3" &&
> /opt/local/Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10
> -m build --no-isolation --wheel --outdir
> /opt/local/var/macports/build/py310-scipy-bdae01e0/work -Cbuild-dir=build
> -Csetup-args=-Dblas=accelerate -Csetup-args=-Dlapack=accelerate
> }}}
New description:
py310-scipy uses scipy 1.15.3 whose pyproject.toml requires meson-
python<0.20.0 but now MacPorts has py-meson-python 0.20.0.
A comment in the pyproject.toml says the upper version bound was putative
as "chances or breakage are low".
It does work with 0.20.0 so attached patch is just changing <0.20.0 to
<=0.20.0 as i have no idea how high it is safe to bump the dependency.
The build log error was:
{{{
:debug:build system: cd "/opt/local/var/macports/build/py310-scipy-
bdae01e0/work/scipy-1.15.3" &&
/opt/local/Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10
-m build --no-isolation --wheel --outdir
/opt/local/var/macports/build/py310-scipy-bdae01e0/work -Cbuild-dir=build
-Csetup-args=-Dblas=accelerate -Csetup-args=-Dlapack=accelerate
:info:build * Getting build dependencies for wheel...
:info:build ERROR Missing dependencies:
:info:build meson-python<0.20.0,>=0.15.0
:info:build Command failed: cd "/opt/local/var/macports/build/py310
-scipy-bdae01e0/work/scipy-1.15.3" &&
/opt/local/Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10
-m build --no-isolation --wheel --outdir
/opt/local/var/macports/build/py310-scipy-bdae01e0/work -Cbuild-dir=build
-Csetup-args=-Dblas=accelerate -Csetup-args=-Dlapack=accelerate
}}}
Attached patch worked. This is where I appended the patch. Is this
sufficient or should I export a patchbomb from a git working copy?
{{{
diff -ru macports-ports/python/py-scipy/Portfile ports/python/py-
scipy/Portfile
--- macports-ports/python/py-scipy/Portfile 2026-07-04 00:30:21
+++ ports/python/py-scipy/Portfile 2026-07-04 08:01:11
@@ -54,7 +54,8 @@
sha256
eae3cf522bc7df64b42cad3925c876e1b0b6c35c1337c93e12c0f366f55b0eaf \
size 59419214
patchfiles-append \
- patch-v${version}-version-caps-
pyproject.toml.diff
+ patch-v${version}-version-caps-
pyproject.toml.diff \
+ patch-v${version}-meson-version.diff
if {${os.platform} eq "darwin" && ${os.major} < 11} {
# Use legacysupport for strnlen, but for select sources.
}}}
--
--
Ticket URL: <https://trac.macports.org/ticket/74184#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list