Bug 1718878 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0

Steps to reproduce:

Update the local hg repository for nightly in fedora rawhide
Try to run mach build


Actual results:

mach failed to start because did not find 'Iterables' in 'collections' when it tried to import it.
Traceback (most recent call last):
  File "/mnt/to_archive/accum/src/firefox-source/./mach", line 171, in <module>
    main(sys.argv[1:])
  File "/mnt/to_archive/accum/src/firefox-source/./mach", line 163, in main
    mach = check_and_get_mach(os.path.dirname(os.path.realpath(__file__)))
  File "/mnt/to_archive/accum/src/firefox-source/./mach", line 150, in check_and_get_mach
    return load_mach(dir_path, mach_path)
  File "/mnt/to_archive/accum/src/firefox-source/./mach", line 138, in load_mach
    return mach_bootstrap.bootstrap(dir_path)
  File "/mnt/to_archive/accum/src/firefox-source/build/mach_bootstrap.py", line 205, in bootstrap
    import mach.main
  File "/mnt/to_archive/accum/src/firefox-source/python/mach/mach/main.py", line 19, in <module>
    from collections import Iterable
ImportError: cannot import name 'Iterable' from 'collections' (/usr/lib64/python3.10/collections/__init__.py)



Expected results:

mach runs
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0

Steps to reproduce:

Update the local hg repository for nightly in fedora rawhide
Try to run mach build


Actual results:

```
mach failed to start because did not find 'Iterables' in 'collections' when it tried to import it.
Traceback (most recent call last):
  File "/mnt/to_archive/accum/src/firefox-source/./mach", line 171, in <module>
    main(sys.argv[1:])
  File "/mnt/to_archive/accum/src/firefox-source/./mach", line 163, in main
    mach = check_and_get_mach(os.path.dirname(os.path.realpath(__file__)))
  File "/mnt/to_archive/accum/src/firefox-source/./mach", line 150, in check_and_get_mach
    return load_mach(dir_path, mach_path)
  File "/mnt/to_archive/accum/src/firefox-source/./mach", line 138, in load_mach
    return mach_bootstrap.bootstrap(dir_path)
  File "/mnt/to_archive/accum/src/firefox-source/build/mach_bootstrap.py", line 205, in bootstrap
    import mach.main
  File "/mnt/to_archive/accum/src/firefox-source/python/mach/mach/main.py", line 19, in <module>
    from collections import Iterable
ImportError: cannot import name 'Iterable' from 'collections' (/usr/lib64/python3.10/collections/__init__.py)
```


Expected results:

mach runs

Back to Bug 1718878 Comment 0