Python 3.10: Talos tests fail with "AttributeError: module 'collections' has no attribute 'MutableSet'"
Categories
(Testing :: Talos, defect, P3)
Tracking
(Not tracked)
People
(Reporter: rmader, Unassigned)
References
(Blocks 1 open bug)
Details
Trying to run talos on Fedora 35 with Python 3.5 3.10 fails with the error
AttributeError: module 'collections' has no attribute 'MutableSet'
Firefox Wayland/EGL development mainly happens on Fedora - not being able to run talos is thus quite unfortunate.
IIUC the problem is the "hyperframe" package: https://searchfox.org/mozilla-central/source/testing/web-platform/tests/tools/third_party/hyper/hyper/packages/hyperframe/flags.py#14
Reporter | ||
Comment 1•3 years ago
|
||
P.S. apparently collections.MutableSet
has become collections.abc.MutableSet
Comment 2•3 years ago
|
||
Thanks for reporting this. Can you provide the command you used to run talos?
Reporter | ||
Comment 3•3 years ago
|
||
Err, sure, sorry that I forgot that.
./mach talos-test --enable-webrender --enable-fission --suite sessionrestore-many-windows
The corresponding build config:
ac_add_options --enable-optimize
ac_add_options --with-ccache=sccache
ac_add_options --with-ccache=$HOME/.mozbuild/sccache/sccache
Comment 4•3 years ago
|
||
I built with those options and attempted to run on my machine, and didn't get the same result though I am on Ubuntu 18.04 so that's not unexpected.
Tried to run Fedora 35 from a boot disk but had errors when it was loading up. I noticed that Fedora 35 is also still in beta
as for the python version, the test harness creates a virtual environment using a set version of python (in this case it should be python 3.6.9--likely visible in the log output), so it shouldn't be affected by your local python version
Comment 5•3 years ago
|
||
The severity field is not set for this bug.
:andrej, could you have a look please?
For more information, please visit auto_nag documentation.
Updated•3 years ago
|
Comment 6•2 years ago
|
||
(In reply to Robert Mader [:rmader] from comment #0)
Trying to run talos on Fedora 35 with Python 3.5 fails with the error
AttributeError: module 'collections' has no attribute 'MutableSet'
Could you clarify that you mean Python 3.10 (as stated in the summary?) and not 3.5 (as in comment 0)? Are you able to work around this by using an older Python version or are you blocked from running any Talos tests?
Reporter | ||
Comment 7•2 years ago
|
||
(In reply to Dave Hunt [:davehunt] [he/him] ⌚GMT from comment #6)
(In reply to Robert Mader [:rmader] from comment #0)
Trying to run talos on Fedora 35 with Python 3.5 fails with the error
AttributeError: module 'collections' has no attribute 'MutableSet'
Could you clarify that you mean Python 3.10 (as stated in the summary?) and not 3.5 (as in comment 0)? Are you able to work around this by using an older Python version or are you blocked from running any Talos tests?
Duh, indeed I meant 3.10, fixed that in comment 0. I was able to work around it by manually editing the offending files.
Comment 8•2 years ago
|
||
I managed to work around in Fedora 35 by installing Python 3.7 and using virtual env
sudo dnf install python3.7
/usr/bin/python3.7 -m venv <some_name>
source <some_name>/bin/activate
and then did a clobber build.
Updated•2 years ago
|
Description
•