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

Unable to pip install grpcio>=1.45.0 on linux. #29329

Closed
ChameleonRed opened this issue Apr 6, 2022 · 8 comments
Closed

Unable to pip install grpcio>=1.45.0 on linux. #29329

ChameleonRed opened this issue Apr 6, 2022 · 8 comments

Comments

@ChameleonRed
Copy link

What version of gRPC and what language are you using?

Python

What operating system (Linux, Windows,...) and version?

Linux

What runtime / compiler are you using (e.g. python version or version of gcc)

Not using.

What did you do?

Please provide either 1) A unit test for reproducing the bug or 2) Specific steps for us to follow to reproduce the bug. If there’s not enough information to debug the problem, gRPC team may close the issue at their discretion. You’re welcome to re-open the issue once you have a reproduction.
docker pull python

root@270c281aeb4a:/# pip install "grpcio>=1.45.0" --verbose

Using pip 22.0.4 from /usr/local/lib/python3.10/site-packages/pip (python 3.10)
ERROR: Could not find a version that satisfies the requirement grpcio>=1.45.0 (from versions: 0.4.0a0, 0.4.0a1, 0.4.0a2, 0.4.0a3, 0.4.0a4, 0.4.0a5, 0.4.0a6, 0.4.0a7, 0.4.0a8, 0.4.0a13, 0.4.0a14, 0.5.0a0, 0.5.0a1, 0.5.0a2, 0.9.0a0, 0.9.0a1, 0.10.0a0, 0.11.0b0, 0.11.0b1, 0.12.0b0, 0.13.0, 0.13.1rc1, 0.13.1, 0.14.0rc1, 0.14.0, 0.15.0, 1.0.0rc1, 1.0.0rc2, 1.0.0, 1.0.1rc1, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.1.0, 1.1.3, 1.2.0, 1.2.1, 1.3.0, 1.3.5, 1.4.0, 1.6.0, 1.6.3, 1.7.0, 1.7.3, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.8.6, 1.9.0rc1, 1.9.0rc2, 1.9.0rc3, 1.9.0, 1.9.1, 1.10.0rc1, 1.10.0rc2, 1.10.0, 1.10.1rc1, 1.10.1rc2, 1.10.1, 1.11.0rc1, 1.11.0rc2, 1.11.0, 1.11.1rc1, 1.11.1, 1.12.0rc1, 1.12.0, 1.12.1, 1.13.0rc1, 1.13.0rc2, 1.13.0rc3, 1.13.0, 1.14.0rc1, 1.14.0rc2, 1.14.0, 1.14.1, 1.14.2rc1, 1.14.2, 1.15.0rc1, 1.15.0, 1.16.0rc1, 1.16.0, 1.16.1, 1.17.0, 1.17.1, 1.18.0, 1.19.0, 1.20.0rc1, 1.20.0rc2, 1.20.0rc3, 1.20.0, 1.20.1, 1.21.0rc1, 1.21.1rc1, 1.21.1, 1.22.0rc1, 1.22.0, 1.22.1, 1.23.0rc1, 1.23.0, 1.23.1, 1.24.0rc1, 1.24.0, 1.24.1, 1.24.3, 1.25.0rc1, 1.25.0, 1.26.0rc1, 1.26.0, 1.27.0rc1, 1.27.0rc2, 1.27.1, 1.27.2, 1.28.0.dev0, 1.28.0rc1, 1.28.0rc2, 1.28.0rc3, 1.28.1, 1.29.0, 1.30.0rc1, 1.30.0, 1.31.0rc1, 1.31.0rc2, 1.31.0, 1.32.0rc1, 1.32.0, 1.33.0rc1, 1.33.0rc2, 1.33.1, 1.33.2, 1.34.0rc1, 1.34.0, 1.34.1, 1.35.0rc1, 1.35.0, 1.36.0rc1, 1.36.0, 1.36.1, 1.37.0rc1, 1.37.0, 1.37.1, 1.38.0rc1, 1.38.0, 1.38.1, 1.39.0rc1, 1.39.0, 1.40.0rc1, 1.40.0, 1.41.0rc2, 1.41.0, 1.41.1, 1.42.0rc1, 1.42.0, 1.43.0rc1, 1.43.0, 1.44.0rc1, 1.44.0rc2, 1.44.0, 1.45.0rc1, 1.45.0)
ERROR: No matching distribution found for grpcio>=1.45.0

What did you expect to see?

Installed package like in Windows.

What did you see instead?

Failure.

Make sure you include information that can help us debug (full error message, exception listing, stack trace, logs).

See TROUBLESHOOTING.md for how to diagnose problems better.

Anything else we should know about your project / environment?

docker pull python

@gnossen
Copy link
Contributor

gnossen commented Apr 6, 2022

1.45.0 has been yanked due to issues causing segfaults. Is there a reason why you're explicitly trying to pull in grpcio>=1.45.0?

@Mezzle
Copy link

Mezzle commented Apr 6, 2022

1.45.1 has been released, but this isn't showing in pypi yet.

djtimca/hagooglewifi#66

@alancleary
Copy link

alancleary commented Apr 7, 2022

I'm having the same issue. In my case I told setuptools to use grpcio-tools>=1.39,<2 and it chose 1.45.0 for the grpcio dependency. This appears to be a pip bug (pypa/pip#8262) that's triggered by the fact that the yanked 1.45.0 release is the only non-prerelease choice.

Update: My build appears to be succeeding now. Not sure what resolved it since 1.45.* still isn't on PyPI...

@mwtian
Copy link

mwtian commented Apr 15, 2022

Is there a plan to release grpcio 1.45.2 on pypi?

@sshishov
Copy link

sshishov commented Apr 18, 2022

Yes, the question is even more generic. Why we are not publishing released version like 1.45.1 and 1.45.2 on PyPi?

The latest available version 1.44.0 has a lot of distracting warnings (or according to the code it is Errors) which we would like to fix:

E0418 20:14:08.577601764    2971 fork_posix.cc:70]           Fork support is only compatible with the epoll1 and poll polling strategies

@chyzzqo2
Copy link

@lidizheng or @gnossen Any updates on the release status for the python packages? Are there outstanding issues blocking the latest versions from getting releases or is it just a CI issue? Basically should we be avoiding building and using all 1.45.x versions?

@ben9923
Copy link

ben9923 commented May 13, 2022

1.46.0/1.46.1 are available on PyPI :)

(Another issue that may be closed now @lidizheng )

@lidizheng
Copy link
Contributor

@ben9923 Thanks for the ping.

Closing this PR as v1.46.x releases are coming out. Apology that we had to yank v1.45.0 a month ago.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants