MCPcopy
hub / github.com/saltstack/salt / _get_pydir

Function _get_pydir

noxfile.py:189–193  ·  view source on GitHub ↗
(session)

Source from the content-addressed store, hash-verified

187
188
189def _get_pydir(session):
190 version_info = _get_session_python_version_info(session)
191 if version_info < (3, 8):
192 session.error("Only Python >= 3.8 is supported")
193 return "py{}.{}".format(*version_info)
194
195
196def _get_pip_requirements_file(session, crypto=None, requirements_type="ci"):

Callers 7

test_cloudFunction · 0.85
pre_archive_cleanupFunction · 0.85
_lintFunction · 0.85
docs_htmlFunction · 0.85
docs_manFunction · 0.85
changelogFunction · 0.85

Calls 3

formatMethod · 0.80
errorMethod · 0.45

Tested by 1

test_cloudFunction · 0.68