@@ -78,11 +78,11 @@ def get_vanilla_url_and_filename(selected_version):
7878
7979 Examples
8080 --------
81- >>> url, filename = get_vanilla_url_and_filename("3.8.11 ")
81+ >>> url, filename = get_vanilla_url_and_filename("3.12.0 ")
8282 >>> url
83- 'https://www.python.org/ftp/python/3.8.11 /Python-3.8.11 .tar.xz'
83+ 'https://www.python.org/ftp/python/3.12.0 /Python-3.12.0 .tar.xz'
8484 >>> filename
85- 'Python-3.8.11 .tar.xz'
85+ 'Python-3.12.0 .tar.xz'
8686
8787 """
8888 url = f"https://www.python.org/ftp/python/{ selected_version } /Python-{ selected_version } .tar.xz"
@@ -160,9 +160,7 @@ def find_miniforge_linux(ansys_manager_installed_only=False):
160160 >>> installed_pythons
161161 {'/home/user/python/py311/bin/python': ('3.11.3', False),
162162 '/home/user/python/py311/bin/python3': ('3.11.3', False),
163- '/usr/bin/python3.7': ('3.7.16', True),
164- '/usr/bin/python3.8': ('3.8.16', True),
165- '/usr/bin/python3.9': ('3.9.16', True)}
163+ '/usr/bin/python3.12': ('3.12.0', True),
166164
167165 """
168166 paths = {}
@@ -199,7 +197,7 @@ def create_venv_linux(venv_dir, py_path):
199197 --------
200198 >>> create_venv_linux(
201199 ... "/home/sha/.local/ansys/.ansys_python_venvs/myenv/bin",
202- ... "/home/sha/.local/ansys/python-3.8.10 /bin/python3",
200+ ... "/home/sha/.local/ansys/python-3.12.0 /bin/python3",
203201 ... )
204202
205203 """
@@ -215,7 +213,7 @@ def create_venv_linux_conda(venv_dir, py_path):
215213 --------
216214 >>> create_venv_linux_conda(
217215 ... "/home/sha/.local/ansys/.ansys_python_venvs/myenv/bin",
218- ... "/home/sha/.local/ansys/python-3.8.10 /bin/python3",
216+ ... "/home/sha/.local/ansys/python-3.12.0 /bin/python3",
219217 ... )
220218
221219 """
@@ -234,7 +232,7 @@ def delete_venv_conda(miniforge_path, parent_path):
234232 --------
235233 >>> delete_venv_conda(
236234 ... "/home/sha/.local/ansys/.ansys_python_venvs/myenv/bin",
237- ... "/home/sha/.local/ansys/python-3.8.10 /bin/python3",
235+ ... "/home/sha/.local/ansys/python-3.12.0 /bin/python3",
238236 ... )
239237
240238 """
@@ -247,7 +245,7 @@ def run_linux_command(pypath, extra, venv=False):
247245
248246 Examples
249247 --------
250- >>> run_linux_command("/home/sha/.local/ansys/python-3.8.10 /bin/python3", "uv pip list")
248+ >>> run_linux_command("/home/sha/.local/ansys/python-3.12.0 /bin/python3", "uv pip list")
251249
252250 """
253251
@@ -278,7 +276,7 @@ def run_linux_command_conda(pypath, extra, venv=False):
278276
279277 Examples
280278 --------
281- >>> run_linux_command_conda("/home/sha/.local/ansys/python-3.8.10 /bin/python3", "uv pip list")
279+ >>> run_linux_command_conda("/home/sha/.local/ansys/python-3.12.0 /bin/python3", "uv pip list")
282280
283281 """
284282 venvParam = ""
@@ -327,9 +325,8 @@ def find_ansys_installed_python_linux():
327325 >>> installed_pythons
328326 {'/home/user/python/py311/bin/python': ('3.11.3', False),
329327 '/home/user/python/py311/bin/python3': ('3.11.3', False),
330- '/usr/bin/python3.7': ('3.7.16', True),
331- '/usr/bin/python3.8': ('3.8.16', True),
332- '/usr/bin/python3.9': ('3.9.16', True)}
328+ '/usr/bin/python3.12.0': ('3.12.0', True),
329+
333330
334331 """
335332 LOG .debug (
0 commit comments