-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Not all packages support Python 3.12 yet #752
Comments
Full output... 2023-10-09T07:52:20.8591217Z Creating a deployment plan |
Just an update on this issue but worth flagging for future releases. It was caused by a compatibility issue with running Python 3.12 on the build VM. Reverted back to 3.11 and now all dependencies installed successfully. Once ensuring Microsoft Visual C++ 14.0 was installed the second error was (also tried updating to aiohttp 3.8.6) has trouble with a couple of wheel components, building 'aiohttp._websocket' extension note: This error originates from a subprocess, and is likely not a problem with pip. |
Ah, you're right, many packages need 3.12 support. Relevant issues for each: Most seem in progress except for tiktoken (I filed that issue myself). Hopefully it will be straightforward for them to support. |
Thanks @pamelafox, had fun and games trying to pin down what the underlying issue was on my pipeline but will keep an eye out for fixes on the those you have suggested. |
Workaround is straighforward, worked for me: Install python 3.11 in a virtual environment to your repository directory, then run python in a virtual environment within your directory, then run ./scripts/prepdocs.ps1 |
Great tip! You can also open in GitHub Codespaces or VS Code Dev Containers extension, as the devcontainer.json uses a python:3.11 image. |
All packages now support 3.12! The tests pass, but I need to do a test deployment before making 3.12 the default. You're welcome to try it yourself in the meantime. |
Dear Pamela, thanks for your effort keep testing the libraries.. and appreciate your effort on code enhancement. |
This issue is for a: (mark with an
x
)Minimal steps to reproduce
2023-10-09T07:53:17.3512919Z Building wheels for collected packages: aiohttp, frozenlist, multidict, regex, tiktoken, yarl
2023-10-09T07:53:17.3534552Z Building wheel for aiohttp (pyproject.toml): started
2023-10-09T07:53:18.1805466Z Building wheel for aiohttp (pyproject.toml): finished with status 'error'
2023-10-09T07:53:18.1865158Z error: subprocess-exited-with-error
2023-10-09T07:53:18.1865650Z
2023-10-09T07:53:18.1866025Z Building wheel for aiohttp (pyproject.toml) did not run successfully.
2023-10-09T07:53:18.1866406Z exit code: 1
2023-10-09T07:53:18.1866653Z
2023-10-09T07:53:18.1866907Z [94 lines of output]
2023-10-09T07:53:18.1867250Z *********************
2023-10-09T07:53:18.1867511Z * Accelerated build *
2023-10-09T07:53:18.1867769Z *********************
2023-10-09T07:53:18.1927912Z error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
2023-10-09T07:53:18.1928497Z [end of output]
2023-10-09T07:53:18.1928768Z
2023-10-09T07:53:18.1929103Z note: This error originates from a subprocess, and is likely not a problem with pip.
2023-10-09T07:53:18.1929492Z ERROR: Failed building wheel for aiohttp
2023-10-09T07:53:18.1929854Z Building wheel for frozenlist (pyproject.toml): started
2023-10-09T07:53:18.6072003Z Building wheel for frozenlist (pyproject.toml): finished with status 'error'
2023-10-09T07:53:18.6097284Z error: subprocess-exited-with-error
2023-10-09T07:53:18.6097623Z
2023-10-09T07:53:18.6098010Z Building wheel for frozenlist (pyproject.toml) did not run successfully.
2023-10-09T07:53:18.6098382Z exit code: 1
2023-10-09T07:53:18.6098635Z
2023-10-09T07:53:18.6132192Z note: This error originates from a subprocess, and is likely not a problem with pip.
2023-10-09T07:53:18.6145520Z ERROR: Failed building wheel for frozenlist
2023-10-09T07:53:18.6146252Z Building wheel for multidict (pyproject.toml): started
2023-10-09T07:53:19.0343149Z Building wheel for multidict (pyproject.toml): finished with status 'error'
2023-10-09T07:53:19.0384042Z error: subprocess-exited-with-error
2023-10-09T07:53:19.0384429Z
2023-10-09T07:53:19.0384821Z Building wheel for multidict (pyproject.toml) did not run successfully.
2023-10-09T07:53:19.0385142Z exit code: 1
No changes have been made to the application deployment
Any log messages given by the failure
Expected/desired behavior
OS and Version?
Running on Windows 2019 Server devops agent.
azd version?
Versions
Python (Windows) 3.10.10 (
Mention any other details that might be useful
The text was updated successfully, but these errors were encountered: