You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/09/21 07:11:55 UTC

[GitHub] [pulsar] tisonkun commented on issue #17468: [Bug] Cannot build Python wheels for macOS

tisonkun commented on issue #17468:
URL: https://github.com/apache/pulsar/issues/17468#issuecomment-1253298596

   @BewareMyPower I'm running the `build-mac-wheels.sh` script on macOS with Apple M1 silicon. It seems that old versions of Python don't support new arch.
   
   After comment out the old version:
   
   ```diff
   diff --git a/pulsar-client-cpp/python/build-mac-wheels.sh b/pulsar-client-cpp/python/build-mac-wheels.sh
   index 6a4dae7117..21e37ca887 100755
   --- a/pulsar-client-cpp/python/build-mac-wheels.sh
   +++ b/pulsar-client-cpp/python/build-mac-wheels.sh
   @@ -21,9 +21,9 @@
    set -e
    
    PYTHON_VERSIONS=(
   -   '3.7  3.7.13'
   -   '3.8  3.8.13'
   -   '3.9  3.9.10'
   +#   '3.7  3.7.13'
   +#   '3.8  3.8.13'
   +#   '3.9  3.9.10'
       '3.10 3.10.2'
    )
   ```
   
   I build `pulsar_client-2.11.0-cp310-cp310-macosx_10_15_universal2.whl` successfully to `pulsar-client-cpp/python/dist`.
   
   You may try to reproduce and I suggest we release more Python client as possible for resolvin #15477 & #16849. Perhaps no supports for old Python versions.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org