Skip to content

Commit

Permalink
upload typing-extensions and importlib-metadata
Browse files Browse the repository at this point in the history
Signed-off-by: Jinzhe Zeng <[email protected]>
  • Loading branch information
njzjz committed Oct 23, 2023
1 parent f30b801 commit eedd590
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ cloudpickle==2.2.0
requests
tqdm
psutil
typing-extensions
importlib-metadata
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@
"requests",
"tqdm",
"psutil",
"typing-extensions",
"importlib-metadata",
],
entry_points={
'console_scripts': ['dflow=dflow.main:main'],
Expand Down
4 changes: 4 additions & 0 deletions src/dflow/python/python_op_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

import jsonpickle
import typeguard
import typing_extensions
import importlib_metadata

from .. import __path__
from ..common import S3Artifact
Expand Down Expand Up @@ -339,6 +341,8 @@ def __init__(self,
python_packages += __path__
python_packages += jsonpickle.__path__
python_packages += typeguard.__path__
python_packages += importlib_metadata.__path__
python_packages += typing_extensions.__path__

self.python_packages = None
if python_packages:
Expand Down

0 comments on commit eedd590

Please sign in to comment.