Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replaced typing by pyyaml #945

Merged
merged 1 commit into from
Feb 12, 2021
Merged

Conversation

legacycode
Copy link
Contributor

When using typing with python 3.8 i can not run tox. I am getting the following error:

AttributeError: type object 'Callable' has no attribute '_abc_registry'

According to the documenation on https://pypi.org/project/typing/ typing should only by included in projects using python < 3.5. This pull request fixes my build.

@rytilahti
Copy link
Owner

LGTM, I'm not seeing that error myself, but typing is not indeed necessary as we don't support 3.5 at all. Could you also please add py39 also to the env list, and pyyaml to the docs environment (looks like something requires it, but I'm not sure what)?

@legacycode
Copy link
Contributor Author

I also added py39 to the azure ci file.

@rytilahti
Copy link
Owner

Great, thanks! 👍

@rytilahti rytilahti merged commit 5422a99 into rytilahti:master Feb 12, 2021
@rytilahti rytilahti mentioned this pull request Mar 13, 2021
xvlady pushed a commit to xvlady/python-miio that referenced this pull request May 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants