Explorar el Código

Update grpcio (#83)

* Removed grpc building

* Added \n
Vsevolod-pl hace 5 años
padre
commit
59421eb4c0
Se han modificado 2 ficheros con 3 adiciones y 13 borrados
  1. 1 12
      .circleci/config.yml
  2. 2 1
      requirements.txt

+ 1 - 12
.circleci/config.yml

@@ -9,18 +9,7 @@ jobs:
     steps:
       - checkout
       - python/load-cache
-      - run:
-          command: |
-            if [[ $(pip show grpcio | grep Version) != *1.31* ]]; then
-              git clone https://github.com/grpc/grpc --recurse-submodules
-              cd grpc
-              sudo pip install -r requirements.txt
-              export GRPC_PYTHON_BUILD_WITH_CYTHON=1
-              sudo pip install .
-              cd -
-            fi
-          name: compile-grpc  # remove this command when v1.31 becomes available via pip install -r requirements.txt
-      - run: sudo pip install codecov pytest grpcio-tools tqdm scikit-learn
+      - run: sudo pip install codecov pytest tqdm scikit-learn
       - python/install-deps
       - python/save-cache
       - run:

+ 2 - 1
requirements.txt

@@ -1,7 +1,8 @@
+PyYAML
 torch>=1.3.0
 numpy>=1.17
 prefetch_generator>=1.0.1
 umsgpack
 uvloop>=0.14.0
-grpcio
+grpcio>=1.31
 grpcio-tools>=1.30.0