Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 713193 Details for
Bug 793683
dev-lang/spidermonkey-78.11.0: fails to compile on Python3.10
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
le noob patch
attribute_error.patch (text/plain), 2.56 KB, created by
Adjudicator Darren
on 2021-06-01 18:34:43 UTC
(
hide
)
Description:
le noob patch
Filename:
MIME Type:
Creator:
Adjudicator Darren
Created:
2021-06-01 18:34:43 UTC
Size:
2.56 KB
patch
obsolete
>https://bugs.gentoo.org/793683 >fix for python 3.10 with dev-lang/spidermonkey-78.11.0 > >AttributeError: module 'collections' has no attribute 'Sequence' > >Index: /var/tmp/portage/dev-lang/spidermonkey-78.11.0/work/firefox-78.11.0/python/mozbuild/mozbuild/backend/configenvironment.py >=================================================================== >--- firefox-78.11.0/python/mozbuild/mozbuild/backend/configenvironment.py >+++ spidermonkey-78.11.0_work_firefox-78.11.0/python/mozbuild/mozbuild/backend/configenvironment.py >@@ -9,7 +9,8 @@ import six > import sys > import json > >-from collections import Iterable, OrderedDict >+from collections import OrderedDict >+from collections.abc import Iterable > from types import ModuleType > > import mozpack.path as mozpath >Index: /var/tmp/portage/dev-lang/spidermonkey-78.11.0/work/firefox-78.11.0/python/mozbuild/mozbuild/util.py >=================================================================== >--- firefox-78.11.0/python/mozbuild/mozbuild/util.py >+++ firefox-78.11.0/python/mozbuild/mozbuild/util.py >@@ -22,6 +22,7 @@ import re > import stat > import sys > import time >+from collections.abc import Sequence > from collections import ( > OrderedDict, > ) >@@ -782,7 +783,7 @@ class HierarchicalStringList(object): > self._strings = StrictOrderingOnAppendList() > self._children = {} > >- class StringListAdaptor(collections.Sequence): >+ class StringListAdaptor(collections.abc.Sequence): > def __init__(self, hsl): > self._hsl = hsl > >Index: /var/tmp/portage/dev-lang/spidermonkey-78.11.0/work/firefox-78.11.0/python/mozbuild/mozbuild/makeutil.py >=================================================================== >--- firefox-78.11.0/python/mozbuild/mozbuild/makeutil.py >+++ firefox-78.11.0/python/mozbuild/mozbuild/makeutil.py >@@ -7,7 +7,7 @@ from __future__ import absolute_import, > import os > import re > import six >-from collections import Iterable >+from collections.abc import Iterable > > > class Makefile(object): >Index: /var/tmp/portage/dev-lang/spidermonkey-78.11.0/work/firefox-78.11.0/testing/mozbase/manifestparser/manifestparser/filters.py >=================================================================== >--- firefox-78.11.0/testing/mozbase/manifestparser/manifestparser/filters.py >+++ firefox-78.11.0/testing/mozbase/manifestparser/manifestparser/filters.py >@@ -12,7 +12,8 @@ from __future__ import absolute_import > > import itertools > import os >-from collections import defaultdict, MutableSequence >+from collections import defaultdict >+from collections.abc import MutableSequence > > import six > from six import string_types
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 793683
:
713112
|
713115
| 713193