
Startup cost is only milliseconds on the fast path Works for Python 3.7 and up, on Fedora, OpenSuSE, Red Hat, CentOS, Alpine,ĭebian, Ubuntu, NetBSD, OpenBSD, and hopefully everywhere Unable to generate script file shims a workaround is in developmentīut wasn't ready today. python3.7 setups without setuptools/pip in the host environment may be venv-in-venv setups are not yet handled. It's the harder option, so I tackled it first.

There is no online functionality yet, this series is *100% offline*. Testing isn't yet *fully* switched over. (qemu.qmp isn't able to be removed from the tree yet.) Sphinx and qemu.qmp are not yet included in this venv. There's a ton of debugging prints everywhere. So far, only meson is included in this setup. This series is in RFC state some notable things: Minimize cost during configure time whenever possible. Missing depdencies, when possible, are fetched and installedĪutomatically to make developer environments "just work". Preparation by installing appropriate system packages. It is possible to build and test fully offline with sufficient Tests, or CI are *always* executed in the context of this venv. *all* python scripts in qemu.git executed as part of the build system, The python interpreter used by this venv is unconditionally the one

Unconditionally create a venv to be used for both building and testing My goals for this series and future work are: May run in a different Python environment than the one configured andĬhosen by the user at configure/build time.

As it stands, meson and sphinx (and their extensions) Meson is the same Python used to run Sphinx, tests, and any build-time The eventual point of this is to ensure that the Python used to run This patch series creates a mandatory venv during configure time and John Snow, Wainer dos Santos Moschetta, Paolo Bonzini,Īlex Bennée, Beraldo Leal, Thomas Huth, Cleber Rosa ` (3 more replies) 0 siblings, 4 replies 18+ messages in thread Configure: create a python venv and install meson All of help / color / mirror / Atom feed * configure: create a python venv and install meson 21:11 John Snow
