purduesigbots / homebrew-pros

Homebrew tap for PROS
2 stars 1 forks source link

`ERROR: Could not build wheels for pyzmq, which is required to install pyproject.toml-based projects` #11

Open monomycelium opened 11 months ago

monomycelium commented 11 months ago

I was installing pros-cli on my MacBook Air (M1, 2020) running macOS 14.0 (23A344) when there was an error:

val@ay ~ % brew install pros-cli
==> Fetching purduesigbots/pros/pros-cli
==> Downloading https://files.pythonhosted.org/packages/49/c9/5791269161be47eacca42f
Already downloaded: /Users/val/Library/Caches/Homebrew/downloads/52746bcef351c15d8002b06b01b2cc3f7a844621d3a6447a98a9db5236b4dd40--cachetools-4.2.0.tar.gz
==> Downloading https://files.pythonhosted.org/packages/06/a9/cd1fd8ee13f73a4d4f491e
Already downloaded: /Users/val/Library/Caches/Homebrew/downloads/5b39e89e658280724d3e7e62657dd61dfa5d3df9becc746281731ff56371d5bd--certifi-2020.12.5.tar.gz
==> Downloading https://files.pythonhosted.org/packages/ee/2d/9cdc2b527e127b4c9db64b
Already downloaded: /Users/val/Library/Caches/Homebrew/downloads/51522c1f11159adb9f042370134bd27b149ad2fbc237e8110785b0beccd23444--chardet-4.0.0.tar.gz
==> Downloading https://files.pythonhosted.org/packages/95/d9/c3336b6b5711c3ab9d1d3a
Already downloaded: /Users/val/Library/Caches/Homebrew/downloads/c739d653db384d188c5bd32b0bd6c24284fe00b9ef467ccd8944da2cf0db27dc--click-6.7.tar.gz
==> Downloading https://files.pythonhosted.org/packages/46/49/e49f943433faae9e6b6e80
Already downloaded: /Users/val/Library/Caches/Homebrew/downloads/30f26e3a2b4298c0734cd6bd9e5934943b942ad89a28b5f398561a7d9defc28f--cobs-1.1.4.tar.gz
==> Downloading https://files.pythonhosted.org/packages/1f/bb/5d3246097ab77fa083a61b
Already downloaded: /Users/val/Library/Caches/Homebrew/downloads/e7330193254dd730e7650c6e56161b9c00ccada445384cda90e60194c734a7a4--colorama-0.4.4.tar.gz
==> Downloading https://files.pythonhosted.org/packages/65/c4/80f97e9c9628f3cac9b98b
Already downloaded: /Users/val/Library/Caches/Homebrew/downloads/aba6aff23ff0ee31279add4664bd5f407a590ad2a0ac29747f5e569a51e8cedf--idna-2.7.tar.gz
==> Downloading https://files.pythonhosted.org/packages/63/df/8072fb98c12d78dd29b4a5
Already downloaded: /Users/val/Library/Caches/Homebrew/downloads/106670a164226a44e49195d49d6c6510ec879ec0f62bb33475fa54c8351d9c57--jsonpickle-1.4.2.tar.gz
==> Downloading https://files.pythonhosted.org/packages/bb/89/5acd0982ca17258d13df85
Already downloaded: /Users/val/Library/Caches/Homebrew/downloads/73e5ea8fde48daa920e6c8856d9503ef4fe346e3977c1166304d8e1132cc5aab--LEPL-5.1.3.tar.gz
==> Downloading https://files.pythonhosted.org/packages/bc/fb/f719f1ac965e2101aa6ea6
Already downloaded: /Users/val/Library/Caches/Homebrew/downloads/31579a80e7d4c9388fa57504cd0c3bd738eb3e137539d793502071b60daee316--pypng-0.0.20.tar.gz
==> Downloading https://files.pythonhosted.org/packages/1e/7d/ae3f0a63f41e4d2f6cb66a
Already downloaded: /Users/val/Library/Caches/Homebrew/downloads/9539dfa1f22434f69c7dc3a036dd8901eab0d487816cb11aa706e220b6d967ca--pyserial-3.5.tar.gz
==> Downloading https://files.pythonhosted.org/packages/bf/7f/24a55c3393d54570f26fa8
Already downloaded: /Users/val/Library/Caches/Homebrew/downloads/a89b378b54081709a576ff6356dc20f084031fc8992cda7d4b55cc24f002dee4--pyzmq-25.0.2.tar.gz
==> Downloading https://files.pythonhosted.org/packages/6b/47/c14abc08432ab22dc18b98
Already downloaded: /Users/val/Library/Caches/Homebrew/downloads/eaeb250177f81428299a85564f5381217171b41a0d39a3e4d9c45fcf071ed485--requests-2.25.1.tar.gz
==> Downloading https://files.pythonhosted.org/packages/0c/24/60edf9808f2461e108f514
Already downloaded: /Users/val/Library/Caches/Homebrew/downloads/72cde5071c79c46c431ceac8ff80e46e498c645432a9a8febc2ca01c721be1f7--sentry-sdk-0.19.5.tar.gz
==> Downloading https://files.pythonhosted.org/packages/24/57/013c2610cf93f9ae87e522
Already downloaded: /Users/val/Library/Caches/Homebrew/downloads/cb2a8a4fb3decee550ac91630420bb3fde87f9032c36beb4096937ce528dc034--observable-1.0.3.tar.gz
==> Downloading https://files.pythonhosted.org/packages/7e/94/c8235245aee84953a03ed4
Already downloaded: /Users/val/Library/Caches/Homebrew/downloads/33756d46860c6eaf8fbef59646b24c61c45a3cd1aeb534f26e1ee730eeb621f0--scan-build-2.0.13.tar.gz
==> Downloading https://files.pythonhosted.org/packages/d4/52/3be868c7ed1f408cb822bc
Already downloaded: /Users/val/Library/Caches/Homebrew/downloads/08984b51cefb42a88bad3ed40a8a6a2d654a72a69f64fd7beb84a8187beb3258--semantic_version-2.8.5.tar.gz
==> Downloading https://files.pythonhosted.org/packages/ec/fe/802052aecb21e3797b8f79
Already downloaded: /Users/val/Library/Caches/Homebrew/downloads/a402eec1bf74b3a30527551638dfe8b8828183c9af4d4cd3d7fd96af76ebe499--tabulate-0.9.0.tar.gz
==> Downloading https://files.pythonhosted.org/packages/05/d9/6eebe19d46bd05360c9a9a
Already downloaded: /Users/val/Library/Caches/Homebrew/downloads/ca52dfcaa57baec03c919bfb5afa8f9865a6ce4b4b7cd1990648f7fa54090ce9--typing-3.7.4.3.tar.gz
==> Downloading https://files.pythonhosted.org/packages/29/e6/d1a1d78c439cad688757b7
Already downloaded: /Users/val/Library/Caches/Homebrew/downloads/da43719394702e7234280f15eeec0263868f8c3c831ff5cabf310a8e3419ae3c--urllib3-1.26.2.tar.gz
==> Downloading https://files.pythonhosted.org/packages/36/95/32b67f2b6945c344005242
Already downloaded: /Users/val/Library/Caches/Homebrew/downloads/8371e22c07da2daa25191ee2ed503e1ab7ef8643dd7738e9e9acf8664bc73957--pyinstaller-5.6.2.tar.gz
==> Downloading https://files.pythonhosted.org/packages/46/92/bffe4576b383f20995ffb1
Already downloaded: /Users/val/Library/Caches/Homebrew/downloads/107bc2d2781424698f61c7573aea66a182c55487da19f5044fe639987b413989--macholib-1.16.2.tar.gz
==> Downloading https://files.pythonhosted.org/packages/ff/c0/2555fdf01cb9fb1757e9cf
Already downloaded: /Users/val/Library/Caches/Homebrew/downloads/65f2463c9f599c72ff2b3d23ea12dffb12f0e739b638d79c079ffff145cefbe9--pyinstaller-hooks-contrib-2022.13.tar.gz
==> Downloading https://files.pythonhosted.org/packages/a9/f1/62830c4915178dbc694868
Already downloaded: /Users/val/Library/Caches/Homebrew/downloads/e6fb353fc40bb33d057535ca77edb5774a4ba9b631020a0398d81ce2a985b524--altgraph-0.17.2.tar.gz
==> Downloading https://files.pythonhosted.org/packages/47/c4/fd48d1ac5110a5457c71ac
Already downloaded: /Users/val/Library/Caches/Homebrew/downloads/2e19deb7f4e3290de451d3a4a12bb800132534112097a74b203db787df4034d9--requests-futures-1.0.0.tar.gz
==> Downloading https://github.com/purduesigbots/pros-cli/archive/3.4.3.tar.gz
Already downloaded: /Users/val/Library/Caches/Homebrew/downloads/fe1b79def3fbaa3a5eba65a9d91231e7bcf94d5cb74927a38e53fc3069f89fdc--pros-cli-3.4.3.tar.gz
==> Installing pros-cli from purduesigbots/pros
==> python3 -m venv --system-site-packages --without-pip /opt/homebrew/Cellar/pros-c
==> python3 -m pip --python=/opt/homebrew/Cellar/pros-cli/3.4.3/libexec/bin/python i
==> python3 -m pip --python=/opt/homebrew/Cellar/pros-cli/3.4.3/libexec/bin/python i
==> python3 -m pip --python=/opt/homebrew/Cellar/pros-cli/3.4.3/libexec/bin/python i
==> python3 -m pip --python=/opt/homebrew/Cellar/pros-cli/3.4.3/libexec/bin/python i
==> python3 -m pip --python=/opt/homebrew/Cellar/pros-cli/3.4.3/libexec/bin/python i
==> python3 -m pip --python=/opt/homebrew/Cellar/pros-cli/3.4.3/libexec/bin/python i
==> python3 -m pip --python=/opt/homebrew/Cellar/pros-cli/3.4.3/libexec/bin/python i
==> python3 -m pip --python=/opt/homebrew/Cellar/pros-cli/3.4.3/libexec/bin/python i
==> python3 -m pip --python=/opt/homebrew/Cellar/pros-cli/3.4.3/libexec/bin/python i
==> python3 -m pip --python=/opt/homebrew/Cellar/pros-cli/3.4.3/libexec/bin/python i
==> python3 -m pip --python=/opt/homebrew/Cellar/pros-cli/3.4.3/libexec/bin/python i
==> python3 -m pip --python=/opt/homebrew/Cellar/pros-cli/3.4.3/libexec/bin/python i
Last 15 lines from /Users/val/Library/Logs/Homebrew/pros-cli/13.python3:
  ************************************************
  error: command '/opt/homebrew/Library/Homebrew/shims/mac/super/clang++' failed with exit code 1
  error: subprocess-exited-with-error

  × Building wheel for pyzmq (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> See above for output.

  note: This error originates from a subprocess, and is likely not a problem with pip.
  full command: /opt/homebrew/Cellar/pros-cli/3.4.3/libexec/bin/python /opt/homebrew/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py build_wheel /private/tmp/tmptds215p7
  cwd: /private/tmp/pros-cli--pyzmq-20231108-13450-5to8g/pyzmq-25.0.2
  Building wheel for pyzmq (pyproject.toml): finished with status 'error'
  ERROR: Failed building wheel for pyzmq
Failed to build pyzmq
ERROR: Could not build wheels for pyzmq, which is required to install pyproject.toml-based projects

If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core):
  https://github.com/purduesigbots/homebrew-pros/issues

Any help is appreciated!

PavanCodesNY commented 8 months ago

Same problem

PavanCodesNY commented 8 months ago

I have the latest version of CLion installed and it sucks to have to download it into the cli

ayushuk commented 8 months ago

We tried to fix this issue by changing the python version required, can you send your output? The original issue seems to be using python 3.11 which I was able to reproduce but moving back to 3.10 fixed the issue on my computer.

alexDickhans commented 7 months ago

I still have the issue with 3.10 on my computer

alex@Alexs-Laptop kernel-testing % brew install pros-cli
==> Fetching purduesigbots/pros/pros-cli
==> Downloading https://files.pythonhosted.org/packages/49/c9/5791269161be47eacca42ffa0a87e0a4a1007b6dfbec0400ae36d43c08f7/cachetools-4.2.0.tar.gz
Already downloaded: /Users/alex/Library/Caches/Homebrew/downloads/52746bcef351c15d8002b06b01b2cc3f7a844621d3a6447a98a9db5236b4dd40--cachetools-4.2.0.tar.gz
==> Downloading https://files.pythonhosted.org/packages/06/a9/cd1fd8ee13f73a4d4f491ee219deeeae20afefa914dfb4c130cfc9dc397a/certifi-2020.12.5.tar.gz
Already downloaded: /Users/alex/Library/Caches/Homebrew/downloads/5b39e89e658280724d3e7e62657dd61dfa5d3df9becc746281731ff56371d5bd--certifi-2020.12.5.tar.gz
==> Downloading https://files.pythonhosted.org/packages/ee/2d/9cdc2b527e127b4c9db64b86647d567985940ac3698eeabc7ffaccb4ea61/chardet-4.0.0.tar.gz
Already downloaded: /Users/alex/Library/Caches/Homebrew/downloads/51522c1f11159adb9f042370134bd27b149ad2fbc237e8110785b0beccd23444--chardet-4.0.0.tar.gz
==> Downloading https://files.pythonhosted.org/packages/95/d9/c3336b6b5711c3ab9d1d3a80f1a3e2afeb9d8c02a7166462f6cc96570897/click-6.7.tar.gz
Already downloaded: /Users/alex/Library/Caches/Homebrew/downloads/c739d653db384d188c5bd32b0bd6c24284fe00b9ef467ccd8944da2cf0db27dc--click-6.7.tar.gz
==> Downloading https://files.pythonhosted.org/packages/46/49/e49f943433faae9e6b6e802a04f1004b0013bca2cafeb1f3c6a13b1deb18/cobs-1.1.4.tar.gz
Already downloaded: /Users/alex/Library/Caches/Homebrew/downloads/30f26e3a2b4298c0734cd6bd9e5934943b942ad89a28b5f398561a7d9defc28f--cobs-1.1.4.tar.gz
==> Downloading https://files.pythonhosted.org/packages/1f/bb/5d3246097ab77fa083a61bd8d3d527b7ae063c7d8e8671b1cf8c4ec10cbe/colorama-0.4.4.tar.gz
Already downloaded: /Users/alex/Library/Caches/Homebrew/downloads/e7330193254dd730e7650c6e56161b9c00ccada445384cda90e60194c734a7a4--colorama-0.4.4.tar.gz
==> Downloading https://files.pythonhosted.org/packages/65/c4/80f97e9c9628f3cac9b98bfca0402ede54e0563b56482e3e6e45c43c4935/idna-2.7.tar.gz
Already downloaded: /Users/alex/Library/Caches/Homebrew/downloads/aba6aff23ff0ee31279add4664bd5f407a590ad2a0ac29747f5e569a51e8cedf--idna-2.7.tar.gz
==> Downloading https://files.pythonhosted.org/packages/63/df/8072fb98c12d78dd29b4a52c50af7ab548f84166b8a3d363c1c754c14af0/jsonpickle-1.4.2.tar.gz
Already downloaded: /Users/alex/Library/Caches/Homebrew/downloads/106670a164226a44e49195d49d6c6510ec879ec0f62bb33475fa54c8351d9c57--jsonpickle-1.4.2.tar.gz
==> Downloading https://files.pythonhosted.org/packages/bb/89/5acd0982ca17258d13df855114364140712ac59ccdb835093c385ddc8dca/LEPL-5.1.3.tar.gz
Already downloaded: /Users/alex/Library/Caches/Homebrew/downloads/73e5ea8fde48daa920e6c8856d9503ef4fe346e3977c1166304d8e1132cc5aab--LEPL-5.1.3.tar.gz
==> Downloading https://files.pythonhosted.org/packages/bc/fb/f719f1ac965e2101aa6ea6f54ef8b40f8fbb033f6ad07c017663467f5147/pypng-0.0.20.tar.gz
Already downloaded: /Users/alex/Library/Caches/Homebrew/downloads/31579a80e7d4c9388fa57504cd0c3bd738eb3e137539d793502071b60daee316--pypng-0.0.20.tar.gz
==> Downloading https://files.pythonhosted.org/packages/1e/7d/ae3f0a63f41e4d2f6cb66a5b57197850f919f59e558159a4dd3a818f5082/pyserial-3.5.tar.gz
Already downloaded: /Users/alex/Library/Caches/Homebrew/downloads/9539dfa1f22434f69c7dc3a036dd8901eab0d487816cb11aa706e220b6d967ca--pyserial-3.5.tar.gz
==> Downloading https://files.pythonhosted.org/packages/bf/7f/24a55c3393d54570f26fa8845e8e42e813bf1b7fb668ed5d3de76b71dbe9/pyzmq-25.0.2.tar.gz
Already downloaded: /Users/alex/Library/Caches/Homebrew/downloads/a89b378b54081709a576ff6356dc20f084031fc8992cda7d4b55cc24f002dee4--pyzmq-25.0.2.tar.gz
==> Downloading https://files.pythonhosted.org/packages/6b/47/c14abc08432ab22dc18b9892252efaf005ab44066de871e72a38d6af464b/requests-2.25.1.tar.gz
Already downloaded: /Users/alex/Library/Caches/Homebrew/downloads/eaeb250177f81428299a85564f5381217171b41a0d39a3e4d9c45fcf071ed485--requests-2.25.1.tar.gz
==> Downloading https://files.pythonhosted.org/packages/0c/24/60edf9808f2461e108f5148b9093ec2de5957fe42502759804ac88b440d5/sentry-sdk-0.19.5.tar.gz
Already downloaded: /Users/alex/Library/Caches/Homebrew/downloads/72cde5071c79c46c431ceac8ff80e46e498c645432a9a8febc2ca01c721be1f7--sentry-sdk-0.19.5.tar.gz
==> Downloading https://files.pythonhosted.org/packages/24/57/013c2610cf93f9ae87e522be17d679bcba0e7cee2cd8da4dc8efddef1138/observable-1.0.3.tar.gz
Already downloaded: /Users/alex/Library/Caches/Homebrew/downloads/cb2a8a4fb3decee550ac91630420bb3fde87f9032c36beb4096937ce528dc034--observable-1.0.3.tar.gz
==> Downloading https://files.pythonhosted.org/packages/7e/94/c8235245aee84953a03ed49e2bb6985afa03099a3a0b190a9a0db74701bb/scan-build-2.0.13.tar.gz
Already downloaded: /Users/alex/Library/Caches/Homebrew/downloads/33756d46860c6eaf8fbef59646b24c61c45a3cd1aeb534f26e1ee730eeb621f0--scan-build-2.0.13.tar.gz
==> Downloading https://files.pythonhosted.org/packages/d4/52/3be868c7ed1f408cb822bc92ce17ffe4e97d11c42caafce0589f05844dd0/semantic_version-2.8.5.tar.gz
Already downloaded: /Users/alex/Library/Caches/Homebrew/downloads/08984b51cefb42a88bad3ed40a8a6a2d654a72a69f64fd7beb84a8187beb3258--semantic_version-2.8.5.tar.gz
==> Downloading https://files.pythonhosted.org/packages/ec/fe/802052aecb21e3797b8f7902564ab6ea0d60ff8ca23952079064155d1ae1/tabulate-0.9.0.tar.gz
Already downloaded: /Users/alex/Library/Caches/Homebrew/downloads/a402eec1bf74b3a30527551638dfe8b8828183c9af4d4cd3d7fd96af76ebe499--tabulate-0.9.0.tar.gz
==> Downloading https://files.pythonhosted.org/packages/05/d9/6eebe19d46bd05360c9a9aae822e67a80f9242aabbfc58b641b957546607/typing-3.7.4.3.tar.gz
Already downloaded: /Users/alex/Library/Caches/Homebrew/downloads/ca52dfcaa57baec03c919bfb5afa8f9865a6ce4b4b7cd1990648f7fa54090ce9--typing-3.7.4.3.tar.gz
==> Downloading https://files.pythonhosted.org/packages/29/e6/d1a1d78c439cad688757b70f26c50a53332167c364edb0134cadd280e234/urllib3-1.26.2.tar.gz
Already downloaded: /Users/alex/Library/Caches/Homebrew/downloads/da43719394702e7234280f15eeec0263868f8c3c831ff5cabf310a8e3419ae3c--urllib3-1.26.2.tar.gz
==> Downloading https://files.pythonhosted.org/packages/36/95/32b67f2b6945c34400524284e582025269cf992c6994ff36ed8899e4cf58/pyinstaller-5.6.2.tar.gz
Already downloaded: /Users/alex/Library/Caches/Homebrew/downloads/8371e22c07da2daa25191ee2ed503e1ab7ef8643dd7738e9e9acf8664bc73957--pyinstaller-5.6.2.tar.gz
==> Downloading https://files.pythonhosted.org/packages/46/92/bffe4576b383f20995ffb15edccf1c97d2e39f9a8c72136836407f099277/macholib-1.16.2.tar.gz
Already downloaded: /Users/alex/Library/Caches/Homebrew/downloads/107bc2d2781424698f61c7573aea66a182c55487da19f5044fe639987b413989--macholib-1.16.2.tar.gz
==> Downloading https://files.pythonhosted.org/packages/ff/c0/2555fdf01cb9fb1757e9cf50ed62be721d88e50e05049e205e76e6dc594a/pyinstaller-hooks-contrib-2022.13.tar.gz
Already downloaded: /Users/alex/Library/Caches/Homebrew/downloads/65f2463c9f599c72ff2b3d23ea12dffb12f0e739b638d79c079ffff145cefbe9--pyinstaller-hooks-contrib-2022.13.tar.gz
==> Downloading https://files.pythonhosted.org/packages/a9/f1/62830c4915178dbc6948687916603f1cd37c2c299634e4a8ee0efc9977e7/altgraph-0.17.2.tar.gz
Already downloaded: /Users/alex/Library/Caches/Homebrew/downloads/e6fb353fc40bb33d057535ca77edb5774a4ba9b631020a0398d81ce2a985b524--altgraph-0.17.2.tar.gz
==> Downloading https://files.pythonhosted.org/packages/47/c4/fd48d1ac5110a5457c71ac7cc4caa93da10a80b8de71112430e439bdee22/requests-futures-1.0.0.tar.gz
Already downloaded: /Users/alex/Library/Caches/Homebrew/downloads/2e19deb7f4e3290de451d3a4a12bb800132534112097a74b203db787df4034d9--requests-futures-1.0.0.tar.gz
==> Downloading https://github.com/purduesigbots/pros-cli/archive/3.5.0.tar.gz
Already downloaded: /Users/alex/Library/Caches/Homebrew/downloads/f1946758e68435f42444ce6712089af074492c05ab706dd404ce15d8cd004353--pros-cli-3.5.0.tar.gz
==> Installing pros-cli from purduesigbots/pros
==> python3.10 -m venv --system-site-packages --without-pip /opt/homebrew/Cellar/pros-cli/3.5.0/libexec
==> python3.10 -m pip --python=/opt/homebrew/Cellar/pros-cli/3.5.0/libexec/bin/python install /private/tmp/pros-cli--cachetools-20240305-37282-fdy2bd/cachetools-4.2.0
==> python3.10 -m pip --python=/opt/homebrew/Cellar/pros-cli/3.5.0/libexec/bin/python install /private/tmp/pros-cli--certifi-20240305-37282-ftofe3/certifi-2020.12.5
==> python3.10 -m pip --python=/opt/homebrew/Cellar/pros-cli/3.5.0/libexec/bin/python install /private/tmp/pros-cli--chardet-20240305-37282-1skhi7/chardet-4.0.0
==> python3.10 -m pip --python=/opt/homebrew/Cellar/pros-cli/3.5.0/libexec/bin/python install /private/tmp/pros-cli--click-20240305-37282-qmj6tq/click-6.7
==> python3.10 -m pip --python=/opt/homebrew/Cellar/pros-cli/3.5.0/libexec/bin/python install /private/tmp/pros-cli--cobs-20240305-37282-jq540t/cobs-1.1.4
==> python3.10 -m pip --python=/opt/homebrew/Cellar/pros-cli/3.5.0/libexec/bin/python install /private/tmp/pros-cli--colorama-20240305-37282-m18z8n/colorama-0.4.4
==> python3.10 -m pip --python=/opt/homebrew/Cellar/pros-cli/3.5.0/libexec/bin/python install /private/tmp/pros-cli--idna-20240305-37282-sxmnaj/idna-2.7
==> python3.10 -m pip --python=/opt/homebrew/Cellar/pros-cli/3.5.0/libexec/bin/python install /private/tmp/pros-cli--jsonpickle-20240305-37282-ftmyaq/jsonpickle-1.4.2
==> python3.10 -m pip --python=/opt/homebrew/Cellar/pros-cli/3.5.0/libexec/bin/python install /private/tmp/pros-cli--LEPL-20240305-37282-hjkmqi/LEPL-5.1.3
==> python3.10 -m pip --python=/opt/homebrew/Cellar/pros-cli/3.5.0/libexec/bin/python install /private/tmp/pros-cli--pypng-20240305-37282-fr7ery/pypng-0.0.20
==> python3.10 -m pip --python=/opt/homebrew/Cellar/pros-cli/3.5.0/libexec/bin/python install /private/tmp/pros-cli--pyserial-20240305-37282-voeozq/pyserial-3.5
==> python3.10 -m pip --python=/opt/homebrew/Cellar/pros-cli/3.5.0/libexec/bin/python install /private/tmp/pros-cli--pyzmq-20240305-37282-epmz6x/pyzmq-25.0.2
Last 15 lines from /Users/alex/Library/Logs/Homebrew/pros-cli/13.python3.10:
  ************************************************
  error: command '/opt/homebrew/Library/Homebrew/shims/mac/super/clang++' failed with exit code 1
  error: subprocess-exited-with-error

  × Building wheel for pyzmq (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> See above for output.

  note: This error originates from a subprocess, and is likely not a problem with pip.
  full command: /opt/homebrew/Cellar/pros-cli/3.5.0/libexec/bin/python /opt/homebrew/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py build_wheel /private/tmp/tmp7g26m0uc
  cwd: /private/tmp/pros-cli--pyzmq-20240305-37282-epmz6x/pyzmq-25.0.2
  Building wheel for pyzmq (pyproject.toml): finished with status 'error'
  ERROR: Failed building wheel for pyzmq
Failed to build pyzmq
ERROR: Could not build wheels for pyzmq, which is required to install pyproject.toml-based projects

If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core):
  https://github.com/purduesigbots/homebrew-pros/issues
A9qx commented 4 months ago

Can confirm this is still a problem.

ayushuk commented 3 months ago

I tried to fix this a while back by adding missing dependencies, can you try running brew update and then brew install pros-cli? This works on my machine now

A9qx commented 3 months ago

Nope. It's broken. There's something wrong. For now everyone who has came to this thread looking for a solution my recommendation is to just create a virtual environment and install the CLI that way takes 2 seconds, until they fix this formulae.

ayushuk commented 3 months ago

I tried to fix this a while back and thought it worked since it started working for me, I wonder if it updated correctly I dont completely remember what command it was. Can you run cat /opt/homebrew/Library/Taps/purduesigbots/homebrew-pros/Formula/pros-cli.rb? I want to make sure everything there is up to date.