Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(agw): Downgrade grpcio to fix pylint #13946

Merged
merged 1 commit into from
Sep 19, 2022

Conversation

sebathomas
Copy link
Contributor

@sebathomas sebathomas commented Sep 19, 2022

Summary

The latest version of grpcio released last week breaks the pylint test. I downgraded grpcio and grpcio-tools in

  • setup.py
  • build script
  • bazel setup

Bazel is not relevant for the pylint test but I wanted to keep the version boundaries consistent. Unfortunately, regenerating requirements.txt seems to have led to a lot of unrelated upgrades on the Bazel side. Not sure if this can be avoided but if they don't cause any issues it's probably okay.

Test Plan

The pylint test is green again. It runs as part of the PR's CI.

Additional Information

  • This change is backwards-breaking

@pull-request-size pull-request-size bot added the size/XS Denotes a PR that changes 0-9 lines. label Sep 19, 2022
@github-actions
Copy link
Contributor

Thanks for opening a PR! 💯

A couple initial guidelines

Howto

  • Reviews. The "Reviewers" listed for this PR are the Magma maintainers who will shepherd it.
  • Checks. All required CI checks must pass before merge.
  • Merge. Once approved and passing CI checks, use the ready2merge label to indicate the maintainers can merge your PR.

More info

Please take a moment to read through the Magma project's

If this is your first Magma PR, also consider reading

@github-actions github-actions bot added component: agw Access gateway-related issue component: orc8r Orchestrator-related issue labels Sep 19, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Sep 19, 2022

feg-workflow

    2 files  203 suites   40s ⏱️
374 tests 374 ✔️ 0 💤 0
388 runs  388 ✔️ 0 💤 0

Results for commit b128cb0.

♻️ This comment has been updated with latest results.

@github-actions
Copy link
Contributor

github-actions bot commented Sep 19, 2022

cloud-workflow

1 135 tests   1 135 ✔️  2m 8s ⏱️
   365 suites         0 💤
       7 files           0

Results for commit b128cb0.

♻️ This comment has been updated with latest results.

@github-actions
Copy link
Contributor

github-actions bot commented Sep 19, 2022

dp-workflow

14 tests   14 ✔️  2m 14s ⏱️
  1 suites    0 💤
  1 files      0

Results for commit b128cb0.

♻️ This comment has been updated with latest results.

@github-actions
Copy link
Contributor

github-actions bot commented Sep 19, 2022

agw-workflow

615 tests   611 ✔️  5m 17s ⏱️
    2 suites      4 💤
    2 files        0

Results for commit cd50cec.

♻️ This comment has been updated with latest results.

@pull-request-size pull-request-size bot added size/XL Denotes a Pull Request that changes 500-999 lines. and removed size/XS Denotes a PR that changes 0-9 lines. labels Sep 19, 2022
@sebathomas sebathomas marked this pull request as ready for review September 19, 2022 11:31
@sebathomas sebathomas requested a review from a team September 19, 2022 11:31
@sebathomas sebathomas requested a review from a team as a code owner September 19, 2022 11:31
@mpfirrmann
Copy link
Contributor

Semi-related:
There is an installation step for grpcio-tools during the preburn of the python_dev ansible role (magma/orc8r/tools/ansible/roles/python_dev/tasks/main.yml). Maybe pin this one as well?

@sebathomas sebathomas enabled auto-merge (squash) September 19, 2022 12:08
@sebathomas
Copy link
Contributor Author

Semi-related: There is an installation step for grpcio-tools during the preburn of the python_dev ansible role (magma/orc8r/tools/ansible/roles/python_dev/tasks/main.yml). Maybe pin this one as well?

Removing this change again because it pulls in the orc8r approvers group which is hard to fulfill right now. 😞
(The other /orc8r/ files belong to both approvers-orc8r and approvers-agw so those should be fine.)

Downgrade grpcio in
- setup.py
- build script
- bazel setup

Signed-off-by: Sebastian Thomas <sebastian.thomas@tngtech.com>
MoritzThomasHuebner pushed a commit to MoritzThomasHuebner/magma that referenced this pull request Oct 10, 2022
Downgrade grpcio in
- setup.py
- build script
- bazel setup

Signed-off-by: Sebastian Thomas <sebastian.thomas@tngtech.com>

(cherry picked from commit 1d34f11)
Signed-off-by: Moritz Huebner <moritz.huebner@tngtech.com>
MoritzThomasHuebner pushed a commit to MoritzThomasHuebner/magma that referenced this pull request Nov 4, 2022
Downgrade grpcio in
- setup.py
- build script
- bazel setup

Signed-off-by: Sebastian Thomas <sebastian.thomas@tngtech.com>

(cherry picked from commit 1d34f11)
Signed-off-by: Moritz Huebner <moritz.huebner@tngtech.com>
MoritzThomasHuebner added a commit that referenced this pull request Nov 9, 2022
* fix(agw): Downgrade grpcio to fix pylint (#13946)

Downgrade grpcio in
- setup.py
- build script
- bazel setup

Signed-off-by: Sebastian Thomas <sebastian.thomas@tngtech.com>

(cherry picked from commit 1d34f11)
Signed-off-by: Moritz Huebner <moritz.huebner@tngtech.com>

* fix: py cryptography is pinned to a version that works with magma (#13960)

Signed-off-by: Nils Semmelrock <nils.semmelrock@tngtech.com>

Signed-off-by: Nils Semmelrock <nils.semmelrock@tngtech.com>

(cherry picked from commit c89642a)
Signed-off-by: Moritz Huebner <moritz.huebner@tngtech.com>

* fix: workflows on 1.8 are pinned to relevant bazel base image and are using own cache key

Signed-off-by: Nils Semmelrock <nils.semmelrock@tngtech.com>

* fix(ci): node is pinned to version 17 that can be used on xenial (#14343)

Signed-off-by: Nils Semmelrock <nils.semmelrock@tngtech.com>

Signed-off-by: Nils Semmelrock <nils.semmelrock@tngtech.com>
(cherry picked from commit a03db0f)

Signed-off-by: Moritz Huebner <moritz.huebner@tngtech.com>

Signed-off-by: Sebastian Thomas <sebastian.thomas@tngtech.com>
Signed-off-by: Moritz Huebner <moritz.huebner@tngtech.com>
Signed-off-by: Nils Semmelrock <nils.semmelrock@tngtech.com>
Co-authored-by: Sebastian Thomas <sebastian.thomas@tngtech.com>
Co-authored-by: Nils Semmelrock <42540177+nstng@users.noreply.github.com>
Co-authored-by: Nils Semmelrock <nils.semmelrock@tngtech.com>
jordanvrtanoski pushed a commit to jordanvrtanoski/magma that referenced this pull request Feb 8, 2023
* fix(agw): Downgrade grpcio to fix pylint (magma#13946)

Downgrade grpcio in
- setup.py
- build script
- bazel setup

Signed-off-by: Sebastian Thomas <sebastian.thomas@tngtech.com>

(cherry picked from commit 1d34f11)
Signed-off-by: Moritz Huebner <moritz.huebner@tngtech.com>

* fix: py cryptography is pinned to a version that works with magma (magma#13960)

Signed-off-by: Nils Semmelrock <nils.semmelrock@tngtech.com>

Signed-off-by: Nils Semmelrock <nils.semmelrock@tngtech.com>

(cherry picked from commit c89642a)
Signed-off-by: Moritz Huebner <moritz.huebner@tngtech.com>

* fix: workflows on 1.8 are pinned to relevant bazel base image and are using own cache key

Signed-off-by: Nils Semmelrock <nils.semmelrock@tngtech.com>

* fix(ci): node is pinned to version 17 that can be used on xenial (magma#14343)

Signed-off-by: Nils Semmelrock <nils.semmelrock@tngtech.com>

Signed-off-by: Nils Semmelrock <nils.semmelrock@tngtech.com>
(cherry picked from commit a03db0f)

Signed-off-by: Moritz Huebner <moritz.huebner@tngtech.com>

Signed-off-by: Sebastian Thomas <sebastian.thomas@tngtech.com>
Signed-off-by: Moritz Huebner <moritz.huebner@tngtech.com>
Signed-off-by: Nils Semmelrock <nils.semmelrock@tngtech.com>
Co-authored-by: Sebastian Thomas <sebastian.thomas@tngtech.com>
Co-authored-by: Nils Semmelrock <42540177+nstng@users.noreply.github.com>
Co-authored-by: Nils Semmelrock <nils.semmelrock@tngtech.com>
jordanvrtanoski pushed a commit to jordanvrtanoski/magma that referenced this pull request Feb 8, 2023
* fix(agw): Downgrade grpcio to fix pylint (magma#13946)

Downgrade grpcio in
- setup.py
- build script
- bazel setup

Signed-off-by: Sebastian Thomas <sebastian.thomas@tngtech.com>

(cherry picked from commit 1d34f11)
Signed-off-by: Moritz Huebner <moritz.huebner@tngtech.com>

* fix: py cryptography is pinned to a version that works with magma (magma#13960)

Signed-off-by: Nils Semmelrock <nils.semmelrock@tngtech.com>

Signed-off-by: Nils Semmelrock <nils.semmelrock@tngtech.com>

(cherry picked from commit c89642a)
Signed-off-by: Moritz Huebner <moritz.huebner@tngtech.com>

* fix: workflows on 1.8 are pinned to relevant bazel base image and are using own cache key

Signed-off-by: Nils Semmelrock <nils.semmelrock@tngtech.com>

* fix(ci): node is pinned to version 17 that can be used on xenial (magma#14343)

Signed-off-by: Nils Semmelrock <nils.semmelrock@tngtech.com>

Signed-off-by: Nils Semmelrock <nils.semmelrock@tngtech.com>
(cherry picked from commit a03db0f)

Signed-off-by: Moritz Huebner <moritz.huebner@tngtech.com>

Signed-off-by: Sebastian Thomas <sebastian.thomas@tngtech.com>
Signed-off-by: Moritz Huebner <moritz.huebner@tngtech.com>
Signed-off-by: Nils Semmelrock <nils.semmelrock@tngtech.com>
Co-authored-by: Sebastian Thomas <sebastian.thomas@tngtech.com>
Co-authored-by: Nils Semmelrock <42540177+nstng@users.noreply.github.com>
Co-authored-by: Nils Semmelrock <nils.semmelrock@tngtech.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: agw Access gateway-related issue component: orc8r Orchestrator-related issue size/XL Denotes a Pull Request that changes 500-999 lines.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants