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 typing_extensions dependency #302

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
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
4 changes: 1 addition & 3 deletions libmuscle/python/libmuscle/instance.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
import logging
import os
import sys
from typing import cast, Dict, List, Optional, Tuple, overload
# TODO: import from typing module when dropping support for python 3.7
from typing_extensions import Literal
from typing import cast, Dict, List, Literal, Optional, Tuple, overload

from ymmsl import (Identifier, Operator, SettingValue, Port, Reference,
Settings)
Expand Down
3 changes: 1 addition & 2 deletions libmuscle/python/libmuscle/mcp/tcp_transport_server.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import socket
import socketserver as ss
import threading
from typing import cast, List, Optional, Tuple
from typing_extensions import Type
from typing import cast, List, Optional, Tuple, Type

import psutil

Expand Down
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@
'psutil>=5.0.0',
"numpy>=1.22",
'qcg-pilotjob==0.13.1',
'typing_extensions>=4.4.0,<5',
'ymmsl>=0.13.0,<0.14' # Also in CI, update there as well
],
extras_require={
Expand Down
Loading