New submission from Orion Poplawski <[email protected]>:
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 <[email protected]>
<https://bugs.python.org/issue39482>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com