From 351d77be59f766ad033397bc11420384c1671417 Mon Sep 17 00:00:00 2001 From: Michael Mogenson Date: Thu, 31 Aug 2023 14:01:14 -0400 Subject: [PATCH] Update grpcio and pip package versions The current grpcio version 1.51.1 fails to build on aarch64 based MacOS computers. Update the version of the grpcio and grpcio-tools packages to the latest 1.57.0 version. There are binary wheels available for this version from PyPi for aarch64 MacOS. Also update the pip version for the Conda environment. It seems a newer version of pip is required to detect and install these wheels. Testing: invoke test passes and I can start the bumble-pandora-server successfully. --- environment.yml | 2 +- setup.cfg | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/environment.yml b/environment.yml index 17b040c..2e927cb 100644 --- a/environment.yml +++ b/environment.yml @@ -3,7 +3,7 @@ channels: - defaults - conda-forge dependencies: - - pip=20 + - pip=23 - python=3.8 - pip: - --editable .[development,documentation,test] diff --git a/setup.cfg b/setup.cfg index 1072acc..53c28fd 100644 --- a/setup.cfg +++ b/setup.cfg @@ -36,7 +36,7 @@ install_requires = bt-test-interfaces >= 0.0.2; platform_system!='Emscripten' click == 8.1.3; platform_system!='Emscripten' cryptography == 39; platform_system!='Emscripten' - grpcio == 1.51.1; platform_system!='Emscripten' + grpcio == 1.57.0; platform_system!='Emscripten' humanize >= 4.6.0; platform_system!='Emscripten' libusb1 >= 2.0.1; platform_system!='Emscripten' libusb-package == 1.0.26.1; platform_system!='Emscripten' @@ -81,7 +81,7 @@ test = coverage >= 6.4 development = black == 22.10 - grpcio-tools >= 1.51.1 + grpcio-tools >= 1.57.0 invoke >= 1.7.3 mypy == 1.2.0 nox >= 2022