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

[Bazel Python3.11] Update Bazel dependencies for Python 3.11 #33318

Merged
merged 1 commit into from
Jun 1, 2023

Conversation

XuanWang-Amos
Copy link
Contributor

@XuanWang-Amos XuanWang-Amos commented Jun 1, 2023

We just found out that our current Bazel setup does not support Python 3.11.

This PR updates some dependencies to allow using Bazel in Python 3.11.

Cython:

Gevent:

Testing

  • Tested locally using Python 3.11 virtual environment, was able to reproduce the issue and verified that those changes were able to fix it.

@XuanWang-Amos XuanWang-Amos self-assigned this Jun 1, 2023
@XuanWang-Amos XuanWang-Amos changed the title [Bazel Python3.11] Update dependencies to run Bazel in Python3.11 [Bazel Python3.11] Update Bazel dependencies for Python3.11 Jun 1, 2023
@XuanWang-Amos XuanWang-Amos added the release notes: no Indicates if PR should not be in release notes label Jun 1, 2023
@XuanWang-Amos XuanWang-Amos changed the title [Bazel Python3.11] Update Bazel dependencies for Python3.11 [Bazel Python3.11] Update Bazel dependencies for Python 3.11 Jun 1, 2023
@XuanWang-Amos XuanWang-Amos marked this pull request as ready for review June 1, 2023 21:54
@XuanWang-Amos XuanWang-Amos enabled auto-merge (squash) June 1, 2023 21:56
@XuanWang-Amos XuanWang-Amos merged commit 0c6902e into grpc:master Jun 1, 2023
70 of 73 checks passed
@XuanWang-Amos XuanWang-Amos deleted the SupportPy311 branch June 1, 2023 22:32
gnossen pushed a commit to gnossen/grpc that referenced this pull request Jun 1, 2023
)

We just found out that our current Bazel setup does not support Python
3.11.

Thus PR updates some dependencies to allow using Bazel in Python 3.11.

Cython:
* Cython [backported Python 3.11 support change to
0.29x](cython/cython#4500), but it appears
that the Cython version we are using in Bazel does not include the fix,
so we're using the latest stable version instead.

Gevent:
* The first version of gevent that supports [Python 3.11 is
22.08.0](gevent/gevent#1903 (comment)).

#### Testing
* Tested locally using Python 3.11 virtual environment, was able to
reproduce the issue and verified that those changes were able to fix it.
veblush pushed a commit that referenced this pull request Jun 1, 2023
XuanWang-Amos added a commit to XuanWang-Amos/grpc that referenced this pull request Jun 2, 2023
)

We just found out that our current Bazel setup does not support Python
3.11.

Thus PR updates some dependencies to allow using Bazel in Python 3.11.

Cython:
* Cython [backported Python 3.11 support change to
0.29x](cython/cython#4500), but it appears
that the Cython version we are using in Bazel does not include the fix,
so we're using the latest stable version instead.

Gevent:
* The first version of gevent that supports [Python 3.11 is
22.08.0](gevent/gevent#1903 (comment)).

#### Testing
* Tested locally using Python 3.11 virtual environment, was able to
reproduce the issue and verified that those changes were able to fix it.
@copybara-service copybara-service bot added the imported Specifies if the PR has been imported to the internal repository label Jun 2, 2023
XuanWang-Amos added a commit that referenced this pull request Jun 2, 2023
… backport) (#33329)

Backport of #33318 to v1.56.x.
---
We just found out that our current Bazel setup does not support Python
3.11.

This PR updates some dependencies to allow using Bazel in Python 3.11.

Cython:
* Cython [backported Python 3.11 support change to
0.29x](cython/cython#4500), but it appears
that the Cython version we are using in Bazel does not include the fix,
so we're using the latest stable version instead.

Gevent:
* The first version of gevent that supports [Python 3.11 is
22.08.0](gevent/gevent#1903 (comment)).

#### Testing
* Tested locally using Python 3.11 virtual environment, was able to
reproduce the issue and verified that those changes were able to fix it.
eugeneo pushed a commit to eugeneo/grpc that referenced this pull request Jun 7, 2023
)

We just found out that our current Bazel setup does not support Python
3.11.

Thus PR updates some dependencies to allow using Bazel in Python 3.11.

Cython:
* Cython [backported Python 3.11 support change to
0.29x](cython/cython#4500), but it appears
that the Cython version we are using in Bazel does not include the fix,
so we're using the latest stable version instead.

Gevent:
* The first version of gevent that supports [Python 3.11 is
22.08.0](gevent/gevent#1903 (comment)).

#### Testing
* Tested locally using Python 3.11 virtual environment, was able to
reproduce the issue and verified that those changes were able to fix it.
eugeneo pushed a commit to eugeneo/grpc that referenced this pull request Jun 7, 2023
)

We just found out that our current Bazel setup does not support Python
3.11.

Thus PR updates some dependencies to allow using Bazel in Python 3.11.

Cython:
* Cython [backported Python 3.11 support change to
0.29x](cython/cython#4500), but it appears
that the Cython version we are using in Bazel does not include the fix,
so we're using the latest stable version instead.

Gevent:
* The first version of gevent that supports [Python 3.11 is
22.08.0](gevent/gevent#1903 (comment)).

#### Testing
* Tested locally using Python 3.11 virtual environment, was able to
reproduce the issue and verified that those changes were able to fix it.
mario-vimal pushed a commit to mario-vimal/grpc that referenced this pull request Jun 15, 2023
)

We just found out that our current Bazel setup does not support Python
3.11.

Thus PR updates some dependencies to allow using Bazel in Python 3.11.

Cython:
* Cython [backported Python 3.11 support change to
0.29x](cython/cython#4500), but it appears
that the Cython version we are using in Bazel does not include the fix,
so we're using the latest stable version instead.

Gevent:
* The first version of gevent that supports [Python 3.11 is
22.08.0](gevent/gevent#1903 (comment)).

#### Testing
* Tested locally using Python 3.11 virtual environment, was able to
reproduce the issue and verified that those changes were able to fix it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bloat/none imported Specifies if the PR has been imported to the internal repository lang/Python per-call-memory/neutral per-channel-memory/neutral release notes: no Indicates if PR should not be in release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants