Skip to content

Commit

Permalink
Fix envd test
Browse files Browse the repository at this point in the history
Signed-off-by: Future-Outlier <eric901201@gmail.com>
  • Loading branch information
Future-Outlier committed Jul 29, 2024
1 parent 8a982cc commit 9922081
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/flytekit-envd/tests/test_image_spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def test_image_spec():
apt_packages=["git"],
python_version="3.8",
base_image=base_image,
pip_index="https://private-pip-index/simple",
pip_index="https://pypi.python.org/simple",
source_root=os.path.dirname(os.path.realpath(__file__)),
)

Expand All @@ -58,7 +58,7 @@ def build():
install.python_packages(name=["pandas"])
install.apt_packages(name=["git"])
runtime.environ(env={{'PYTHONPATH': '/root:', '_F_IMG_ID': '{image_name}'}}, extra_path=['/root'])
config.pip_index(url="https://private-pip-index/simple")
config.pip_index(url="https://pypi.python.org/simple")
install.python(version="3.8")
io.copy(source="./", target="/root")
"""
Expand Down

0 comments on commit 9922081

Please sign in to comment.