Skip to content

Commit 2fe9912

Browse files
committed
tests: test pip install plugin with no-dependency package
This is a simplification to help ensure we don't run into issues like below because requests gets installed via pip. ``` RemoveError: 'requests' is a dependency of conda and cannot be removed from conda's operating environment. ```
1 parent 02c3d75 commit 2fe9912

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

integration-tests/plugins/simplest/tljh_simplest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def tljh_extra_user_conda_packages():
1212

1313
@hookimpl
1414
def tljh_extra_user_pip_packages():
15-
return ["django"]
15+
return ["simplejson"]
1616

1717

1818
@hookimpl

integration-tests/test_simplest_plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def test_tljh_extra_user_conda_packages():
2020

2121

2222
def test_tljh_extra_user_pip_packages():
23-
subprocess.check_call([f"{USER_ENV_PREFIX}/bin/python3", "-c", "import django"])
23+
subprocess.check_call([f"{USER_ENV_PREFIX}/bin/python3", "-c", "import simplejson"])
2424

2525

2626
def test_tljh_extra_hub_pip_packages():

0 commit comments

Comments
 (0)