Lucene search

K
fedoraFedoraFEDORA:ECCE3205AC43
HistoryMay 26, 2024 - 1:29 a.m.

[SECURITY] Fedora 40 Update: rust-python-launcher-1.0.0-12.fc40

2024-05-2601:29:11
lists.fedoraproject.org
3
python launcher
unix
cross-platform
interpreter
virtual environment
command
venv

7.2 High

AI Score

Confidence

High

The Python Launcher for Unix. Launch your Python interpreter the lazy/smart way! This launcher is an implementation of the py command for Unix-based platfor ms. The goal is to have py become the cross-platform command that Python users typically use to launch an interpreter while doing development. By having a command that is version-agnostic when it comes to Python, it side-steps the β€œwhat should the python command point to?” debate by clea rly specifying that upfront (i.e. the newest version of Python that can be foun d). This also unifies the suggested command to document for launching Python on both Windows as Unix as py has existed as the preferred command on Windows since 2012 with the release of Python 3.3. Typical usage would be: py -m venv .venv py … # Whatever you would normally use python for during developme nt. This creates a virtual environment in a .venv directory using the latest version of Python installed. Subsequent uses of py will then use that virtu al environment as long as it is in the current (or higher) directory; no environment activation required (although the Python Launcher supports activated environments as well)! A non-goal of this launcher is to become the way to launch the Python interpreter all the time. If you know the exact interpreter you want to launch then you should launch it directly; same goes for when you have requirements on the type of interpreter you want. The Python Launcher should be viewed as a tool of convenience, not necessit y.

OSVersionArchitecturePackageVersionFilename
Fedora40anyrust-python-launcher<Β 1.0.0UNKNOWN

7.2 High

AI Score

Confidence

High