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

Remove mypy-extensions #1546

Merged
merged 1 commit into from
Dec 12, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions newsfragments/1546.misc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Remove redundant mypy-extensions dependency.
5 changes: 2 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,9 @@
"protobuf>=3.10.0,<4",
"pypiwin32>=223;platform_system=='Windows'",
"requests>=2.16.0,<3.0.0",
# remove typing_extensions after python_requires>=3.8, see web3._utils.compat
"typing-extensions>=3.7.4.1,<4;python_version<'3.8'",
"websockets>=8.1.0,<9.0.0",
# remove mypy_extensions & typing-extensions after python_requires>=3.8
# see web3._utils.compat
"typing-extensions>=3.7.4.1,<4",
],
setup_requires=['setuptools-markdown'],
python_requires='>=3.6,<4',
Expand Down
2 changes: 1 addition & 1 deletion web3/_utils/compat/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import sys
# remove once web3 supports python>=3.8
# TypedDict was added to typing in 3.8
# Types was added to typing in 3.8
if sys.version_info >= (3, 8):
from typing import Literal, Protocol, TypedDict
else:
Expand Down