Skip to content

Commit 00b5f04

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

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,12 @@ matrix:
2020
- name: "Lint"
2121
python: "3.7"
2222
env: TOXENV=lint
23+
- python: "3.8"
2324

2425
# Temporary bandaid for https://github.com/PyFilesystem/pyfilesystem2/issues/342
2526
allow_failures:
2627
- python: pypy
27-
- python: pypy3.5-8.0
28+
- python: pypy3.5-7.0
2829

2930
before_install:
3031
- pip install -U tox tox-travis

setup.py

Lines changed: 2 additions & 1 deletion
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", "typing; python_version < '3.5'"]
25+
REQUIREMENTS = ["appdirs~=1.4.3", "pytz", "setuptools", "six~=1.10"]
2626

2727
setup(
2828
author="Will McGugan",
@@ -33,6 +33,7 @@
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.7'": ["typing>=3.5.3"],
3637
":python_version < '3.0'": ["backports.os~=0.1"],
3738
},
3839
license="MIT",

0 commit comments

Comments
 (0)