[Bug 6261] New: Importing ABC directly from collections was removed in Python 3.9

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Sat Jan 25 15:37:11 UTC 2020


https://bz.mercurial-scm.org/show_bug.cgi?id=6261

            Bug ID: 6261
           Summary: Importing ABC directly from collections was removed in
                    Python 3.9
           Product: Mercurial
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: UNCONFIRMED
          Severity: feature
          Priority: wish
         Component: fsmonitor
          Assignee: bugzilla at mercurial-scm.org
          Reporter: tir.karthi at gmail.com
                CC: mercurial-devel at mercurial-scm.org
    Python Version: ---

Some of the vendored dependencies like selectors2 and watchman have ABC
imported directly from collections module that will stop working in Python 3.9
with https://github.com/python/cpython/pull/10596. I am not sure about the
process for vendored dependencies. Feel free to close this if it's not
relevant.

mercurial/thirdparty/selectors2.py - Repository is archived
https://github.com/sethmlarson/selectors2
hgext/fsmonitor/pywatchman/pybser.py - Reported upstream
https://github.com/facebook/watchman/issues/778

Thanks

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list