Skip to content

Commit

Permalink
Remove in_venv check for docker
Browse files Browse the repository at this point in the history
  • Loading branch information
vkresch committed Jan 5, 2024
1 parent e1d4a30 commit 0dd06e5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
11 changes: 0 additions & 11 deletions src/launch_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,6 @@ def new_protocol_not_live(args=None):
return True


def in_venv():
return sys.prefix != sys.base_prefix


def installed(package):
"""
The error status is 0. (bool(0) == False)
Expand All @@ -117,13 +113,6 @@ def installed(package):


def requirements_installed(requirement_path=REQUIREMENTS_FILE_PATH):
if not in_venv():
print(
"Please make sure to activate a virtual environment for python due to breaking changes in Ubutu >= 23.XX:\n"
"https://packaging.python.org/en/latest/guides/installing-using-pip-and-virtual-environments/ \n"
)
return False

print("Checking installed packages ...\n")
missing_requirements = []
try:
Expand Down
1 change: 0 additions & 1 deletion src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
requirements_installed,
renamed_fee_ini,
python_version_ok,
in_venv,
)


Expand Down

0 comments on commit 0dd06e5

Please sign in to comment.