Skip to content

Commit 86d34bf

Browse files
committed
Fixing issue on py38
AttributeError: type object 'Callable' has no attribute '_abc_registry'
1 parent 6fc6ac5 commit 86d34bf

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ matrix:
2424
# Temporary bandaid for https://github.com/PyFilesystem/pyfilesystem2/issues/342
2525
allow_failures:
2626
- python: pypy
27-
- python: pypy3.5-7.0
27+
- python: pypy3.5-8.0
2828

2929
before_install:
3030
- pip install -U tox tox-travis

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"Topic :: System :: Filesystems",
2323
]
2424

25-
REQUIREMENTS = ["appdirs~=1.4.3", "pytz", "setuptools", "six~=1.10"]
25+
REQUIREMENTS = ["appdirs~=1.4.3", "pytz", "setuptools", "six~=1.10", "typing; python_version < '3.5'"]
2626

2727
setup(
2828
author="Will McGugan",
@@ -33,7 +33,6 @@
3333
extras_require={
3434
"scandir :python_version < '3.5'": ["scandir~=1.5"],
3535
":python_version < '3.4'": ["enum34~=1.1.6"],
36-
":python_version < '3.6'": ["typing~=3.6"],
3736
":python_version < '3.0'": ["backports.os~=0.1"],
3837
},
3938
license="MIT",

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = {py27,py34,py35,py36,py37}{,-scandir},pypy,typecheck,lint
2+
envlist = {py27,py34,py35,py36,py37,py38}{,-scandir},pypy,typecheck,lint
33
sitepackages = False
44
skip_missing_interpreters=True
55

0 commit comments

Comments
 (0)