[MacPorts] #69262: py310-grpcio @1.48.4: ERROR Source build is not a directory
MacPorts
noreply at macports.org
Sun May 19 15:05:26 UTC 2024
#69262: py310-grpcio @1.48.4: ERROR Source build is not a directory
---------------------------+--------------------------
Reporter: ryandesign | Owner: emcrisostomo
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.9.1
Resolution: | Keywords:
Port: py310-grpcio |
---------------------------+--------------------------
Comment (by ryandesign):
Replying to [comment:3 FlyingSamson]:
> leaving me with a classic "How did that ever work" feeling.
It got broken when the python portgroup's default value of `python.pep517`
changed from `no` to `yes` for python versions 3.7–3.10
[changeset:3173d46b9a29bc9d79ddb6970e7f083ebe3f79c0/macports-ports last
year]. The fix for that would be simply:
{{{#!diff
diff --git a/devel/grpc/Portfile b/devel/grpc/Portfile
index 52d989224e4..cf5969e22e6 100644
--- a/devel/grpc/Portfile
+++ b/devel/grpc/Portfile
@@ -234,6 +234,8 @@ if {[string match "py*" ${subport}]} {
GRPC_PYTHON_BUILD_WITH_CYTHON=1
}
+ python.pep517 no
+
# Build instructions:
# https://github.com/grpc/grpc/tree/master/src/python/grpcio
#installing-from-source
}}}
But I expect you're right that it also needs to be updated to build with
cython 3. Subports for python 3.11 and 3.12 should be added then as well.
--
Ticket URL: <https://trac.macports.org/ticket/69262#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list