Lines Matching full:python

8 # Note: this script requires at least Python 3.6 to run.
10 # incompatible python versions.
16 build documentation using Sphinx, including system packages, Python modules
24 system package installations and Python virtual environments. By default,
38 sys.path.insert(0, os.path.join(src_dir, '../lib/python'))
50 - Python: python dependencies for a native distro Sphinx install;
105 msg = "Python"
215 types of types, like binaries, python modules, rpm deps, etc.
236 Preserve compatibility with older Python versions.
252 # Don't break with older Python versions
343 Does a python module exists outside venv? If not, add it to missing
570 - Check for missing Python modules;
572 - Propose Sphinx install via Python Virtual environment;
625 # Recommend a new python version
679 "python-sphinx": "python3-sphinx",
728 "python-sphinx": "python3-sphinx",
766 progs["virtualenv"] = "python-virtualenv"
772 # RHEL 8 uses Python 3.6, which is not compatible with
773 # the build system anymore. Suggest Python 3.11
823 "python-sphinx": "python3-sphinx",
852 # Leap 15.x uses Python 3.6, which is not compatible with
853 # the build system anymore. Suggest Python 3.11
861 "python-sphinx": "python311-Sphinx python311-Sphinx-latex",
866 # Tumbleweed defaults to Python 3.11
869 "python-sphinx": "python313-Sphinx python313-Sphinx-latex",
894 "python-sphinx": "python3-sphinx",
919 progs["yaml"] = "python-pyyaml"
920 progs["python-virtualenv"] = "python-virtualenv"
921 progs["python-sphinx"] = "python-sphinx"
924 self.check_program("python-virtualenv", DepManager.PYTHON_MANDATORY)
927 # to 4.3, python-virtualenv package is broken: it is missing
966 "virtualenv": "python-virtualenv",
968 "yaml": "python-yaml",
1008 "virtualenv": "dev-python/virtualenv",
1010 "yaml": "dev-python/pyyaml",
1011 "python-sphinx": "dev-python/sphinx",
1223 "Python version upgrade? Remove it with:\n\n" \
1298 self.deps.add_package("python-sphinx", DepManager.PYTHON_MANDATORY)
1392 … print("Instead of install/upgrade Python Sphinx pkg, you could use pip/pypi with:\n\n")
1400 print(" Please upgrade Python to a newer version and run this script again")
1434 # Check the type of virtual env, depending on Python version
1439 print(f"ERROR: at least python {min_ver} is required to build the kernel docs")
1447 print("Warning: python version is not supported.")