Skip to content

Commit

Permalink
Merge branch 'py-3-10-alpha-5' into 0.10
Browse files Browse the repository at this point in the history
  • Loading branch information
sebres committed Feb 17, 2021
2 parents 366c64c + 9f1d1f4 commit 294ec73
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9, pypy2, pypy3]
python-version: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9, '3.10.0-alpha.5', pypy2, pypy3]
fail-fast: false
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
Expand Down
5 changes: 4 additions & 1 deletion fail2ban/server/action.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@
import threading
import time
from abc import ABCMeta
from collections import MutableMapping
try:
from collections.abc import MutableMapping
except ImportError:
from collections import MutableMapping

from .failregex import mapTag2Opt
from .ipdns import DNSUtils
Expand Down
5 changes: 4 additions & 1 deletion fail2ban/server/actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@
import os
import sys
import time
from collections import Mapping
try:
from collections.abc import Mapping
except ImportError:
from collections import Mapping
try:
from collections import OrderedDict
except ImportError:
Expand Down
5 changes: 4 additions & 1 deletion fail2ban/server/jails.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@
__license__ = "GPL"

from threading import Lock
from collections import Mapping
try:
from collections.abc import Mapping
except ImportError:
from collections import Mapping

from ..exceptions import DuplicateJailException, UnknownJailException
from .jail import Jail
Expand Down

0 comments on commit 294ec73

Please sign in to comment.