@@ -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 """
@@ -214,7 +212,7 @@ def create_venv_linux_conda(venv_dir, py_path):
214212 --------
215213 >>> create_venv_linux_conda(
216214 ... "/home/sha/.local/ansys/.ansys_python_venvs/myenv/bin",
217- ... "/home/sha/.local/ansys/python-3.8.10 /bin/python3",
215+ ... "/home/sha/.local/ansys/python-3.12.0 /bin/python3",
218216 ... )
219217
220218 """
@@ -233,7 +231,7 @@ def delete_venv_conda(miniforge_path, parent_path):
233231 --------
234232 >>> delete_venv_conda(
235233 ... "/home/sha/.local/ansys/.ansys_python_venvs/myenv/bin",
236- ... "/home/sha/.local/ansys/python-3.8.10 /bin/python3",
234+ ... "/home/sha/.local/ansys/python-3.12.0 /bin/python3",
237235 ... )
238236
239237 """
@@ -246,7 +244,7 @@ def run_linux_command(pypath, extra, venv=False):
246244
247245 Examples
248246 --------
249- >>> run_linux_command("/home/sha/.local/ansys/python-3.8.10 /bin/python3", "pip list")
247+ >>> run_linux_command("/home/sha/.local/ansys/python-3.12.0 /bin/python3", "pip list")
250248
251249 """
252250 prefix = f"{ pypath } "
@@ -273,7 +271,7 @@ def run_linux_command_conda(pypath, extra, venv=False):
273271
274272 Examples
275273 --------
276- >>> run_linux_command_conda("/home/sha/.local/ansys/python-3.8.10 /bin/python3", "pip list")
274+ >>> run_linux_command_conda("/home/sha/.local/ansys/python-3.12.0 /bin/python3", "pip list")
277275
278276 """
279277 venvParam = ""
@@ -322,9 +320,8 @@ def find_ansys_installed_python_linux():
322320 >>> installed_pythons
323321 {'/home/user/python/py311/bin/python': ('3.11.3', False),
324322 '/home/user/python/py311/bin/python3': ('3.11.3', False),
325- '/usr/bin/python3.7': ('3.7.16', True),
326- '/usr/bin/python3.8': ('3.8.16', True),
327- '/usr/bin/python3.9': ('3.9.16', True)}
323+ '/usr/bin/python3.12.0': ('3.12.0', True),
324+
328325
329326 """
330327 LOG .debug (
0 commit comments