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

Python 3.11 prints Could not find platform dependent libraries <exec_prefix> #2320

Closed
mejrs opened this issue Apr 19, 2022 · 5 comments
Closed
Labels

Comments

@mejrs
Copy link
Member

mejrs commented Apr 19, 2022

See #2314 (comment)

Ever since 3.11 was added to the workflow, it has been printing Could not find platform dependent libraries <exec_prefix>. I also get this warning locally (on Window) as the python interpreter is initialized.

@mejrs mejrs added the bug label Apr 19, 2022
@davidhewitt
Copy link
Member

@mejrs do you still see this issue with latest Python 3.11 betas? I haven't noticed this in our CI for a while, I wonder if we can close this?

@mejrs
Copy link
Member Author

mejrs commented Aug 10, 2022

I still see it in the CI logs. (for example, here)

@davidhewitt
Copy link
Member

Ah thanks, I was looking in the wrong spot 👍

@davidhewitt
Copy link
Member

Well I asked upstream in python/cpython#98790, no response yet. It looks like this warning is mostly benign, the documentation for Py_GetExecPrefix even implies that exec_prefix is meaningless on Windows.

I think given that the PyO3 test suite completes without issue on 3.11 I'm thinking we can go ahead and release announcing 3.11 support, and this can get resolved here or upstream later on.

@davidhewitt
Copy link
Member

This has been resolved upstream.

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

No branches or pull requests

2 participants