You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by "damccorm (via GitHub)" <gi...@apache.org> on 2023/01/24 15:01:51 UTC

[GitHub] [beam] damccorm commented on a diff in pull request #25123: Update tox to 4.x.x

damccorm commented on code in PR #25123:
URL: https://github.com/apache/beam/pull/25123#discussion_r1085448799


##########
sdks/python/tox.ini:
##########
@@ -17,6 +17,8 @@
 
 [tox]
 # new environments will be excluded by default unless explicitly added to envlist.
+requires =
+  grpcio-tools==1.37.0

Review Comment:
   Do you know why we now need this dependency?



##########
.github/workflows/python_tests.yml:
##########
@@ -116,16 +116,19 @@ jobs:
       - name: Get build dependencies
         working-directory: ./sdks/python
         run: pip install -r build-requirements.txt
+      - name: Generate protos
+        working-directory: ./sdks/python
+        run: python gen_protos.py

Review Comment:
   Why do we need this step now when we didn't before?



##########
.github/workflows/python_tests.yml:
##########
@@ -116,16 +116,19 @@ jobs:
       - name: Get build dependencies
         working-directory: ./sdks/python
         run: pip install -r build-requirements.txt
+      - name: Generate protos
+        working-directory: ./sdks/python
+        run: python gen_protos.py
       - name: Install tox
-        run: pip install tox==3.27.1
+        run: pip install tox

Review Comment:
   Should we still pin to a 4.x version to avoid this possibly breaking when tox 5.x is released?



-- 
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: github-unsubscribe@beam.apache.org

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