-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Python 3.10: third-party python modules need update (setuptools: No module named 'symbol', pex: cannot import name 'iterable' from 'collections') #2678
Comments
This pr might fix it, I didn't actually tried it though, I only read the code: 1e57b5c |
It fixes "No module named 'symbol'", but then
I made the title a bit more general. |
I think the real solution might be to upgrade the vendored PEX dep |
Could be related to this issue: Azure/azure-cli#20444 (comment) |
I believe Ref: https://docs.python.org/3/whatsnew/3.10.html which says:
|
Exactly. I believe that's what @jc65536 was referring to in his comment, where a solution is provided by importing the |
Absolutely, is this something you're planning to work on? If yes, then I'll just cancel my PR, otherwise we can ship this one to unblock people using python 3.10. |
I unfortunately don't have a good way to build Buck manually right now in my spare time and I have higher priority things when I'm at work. I want to help fix this but I just don't have the bandwidth :( I'm happy to review the PR though, unless someone from the Buck team is monitoring this problem. (I do work at Meta but I don't work anywhere near Buck, I just use Buck in a hobby project) |
I went ahead and just patched the |
@lisroach added support, and I ported this to the OSS version. This should be available in the next weekly release |
I just wanted to install Buck on Archlinux and got the mentioned error.
See also https://stackoverflow.com/questions/70836444/no-module-named-symbol
Buck has its own setuptools and would need to do without "symbol" to support systems with Python 3.10:
buck/third-party/py/setuptools/pkg_resources/__init__.py
Line 32 in 0e72e40
The text was updated successfully, but these errors were encountered: