[issue39482] Write 2to3 fixer for MutableMapping
Orion Poplawski
report at bugs.python.org
Tue Jan 28 23:03:13 EST 2020
New submission from Orion Poplawski <orion at cora.nwra.com>:
fail2ban currently relies on 2to3 for python 3 support. Build now fails with python 3.9:
Traceback (most recent call last):
File "/builddir/build/BUILD/fail2ban-0.11.1/bin/fail2ban-testcases", line 61, in <module>
tests = gatherTests(regexps, opts)
File "./fail2ban/tests/utils.py", line 373, in gatherTests
from . import clientreadertestcase
File "./fail2ban/tests/clientreadertestcase.py", line 34, in <module>
from ..client.jailreader import JailReader, extractOptions, splitWithOptions
File "./fail2ban/client/jailreader.py", line 34, in <module>
from .actionreader import ActionReader
File "./fail2ban/client/actionreader.py", line 31, in <module>
from ..server.action import CommandAction
File "./fail2ban/server/action.py", line 33, in <module>
from collections import MutableMapping
ImportError: cannot import name 'MutableMapping' from 'collections' (/usr/lib64/python3.9/collections/__init__.py)
----------
components: 2to3 (2.x to 3.x conversion tool)
messages: 360936
nosy: opoplawski
priority: normal
severity: normal
status: open
title: Write 2to3 fixer for MutableMapping
type: enhancement
versions: Python 3.9
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39482>
_______________________________________
More information about the Python-bugs-list
mailing list