Home
last modified time | relevance | path

Searched +full:python3 +full:- +full:venv (Results 1 – 25 of 46) sorted by relevance

12

/openbmc/qemu/python/
H A DMakefile1 QEMU_VENV_DIR=.dev-venv
2 QEMU_MINVENV_DIR=.min-venv
9 @echo "make check-minreqs:"
13 @echo " Hint (Fedora): 'sudo dnf install python3.9'"
15 @echo "make check-tox:"
18 @echo " Requires: Python 3.9 - 3.11, and tox."
19 @echo " Hint (Fedora): 'sudo dnf install python3-tox python3.11'"
23 @echo "make check-dev:"
24 @echo " Run tests in a venv against your default python3 version."
35 @echo " (Can be used in or outside of a venv.)"
[all …]
/openbmc/openbmc/poky/scripts/contrib/oe-image-files-spdx/
H A DREADME.md13 python3 -m venv .venv
14 .venv/bin/activate
15 python3 -m pip install -e '.[dev]'
20 After installing, the `oe-image-files` program can be used to show the files, e.g.:
23 oe-image-files core-image-minimal-qemux86-64.rootfs.spdx.json
/openbmc/openbmc/poky/meta/lib/oeqa/sdk/cases/
H A Dmaturin.py4 # SPDX-License-Identifier: MIT
19 self.ensure_host_package("python3-maturin")
22 …out = self._run(r"""python3 -c 'import sys; print(f"{sys.executable}\n{sys.version_info.major}.{sy…
25 output = self._run("maturin list-python")
27 # - CPython 3.13 at /usr/bin/python3
35 self.ensure_host_package("python3-maturin")
38 self.tc.hasHostPackage("packagegroup-rust-cross-canadian-%s" % machine)
41 "Testing 'maturin develop' requires Rust cross-canadian in the SDK"
47 (1) that a .venv can been created.
50 targetdir = os.path.join(self.tc.sdk_dir, "guessing-game")
[all …]
/openbmc/openbmc/meta-openembedded/meta-multimedia/recipes-multimedia/mycroft/files/
H A D0006-Use-python3-and-pip3-instead-of-python-and-pip.patch3 Date: Tue, 19 Mar 2019 13:38:44 -0700
4 Subject: [PATCH 6/7] Use python3 and pip3 instead of python and pip
6 Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
7 Upstream-Status: Inappropriate [embedded specific]
8 ---
9 bin/mycroft-cli-client | 2 +-
10 bin/mycroft-pip | 2 +-
11 bin/mycroft-say-to | 2 +-
12 bin/mycroft-skill-testrunner | 4 ++--
13 bin/mycroft-speak | 2 +-
[all …]
H A D0001-Remove-python-venv.patch3 Date: Mon, 18 Mar 2019 16:30:45 -0700
4 Subject: [PATCH 1/7] Remove python venv
6 Remove the python venv requirements and instead just use the native
9 Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
10 Upstream-Status: Inappropriate [embedded specific]
11 ---
12 dev_setup.sh | 39 ---------------------------------------
13 start-mycroft.sh | 13 -------------
14 venv-activate.sh | 44 +-------------------------------------------
15 3 files changed, 1 insertion(+), 95 deletions(-)
[all …]
H A D0004-dev_setup.sh-Ignore-missing-package-manager.patch3 Date: Tue, 15 Oct 2019 17:09:06 -0700
6 Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
7 Upstream-Status: Inappropriate [embedded specific]
8 ---
9 dev_setup.sh | 6 ------
10 1 file changed, 6 deletions(-)
12 diff --git a/dev_setup.sh b/dev_setup.sh
14 --- a/dev_setup.sh
16 @@ -317,12 +317,6 @@ Please review the following package changes carefully."
17 echo -e "${YELLOW}Could not find package manager
[all …]
/openbmc/openbmc/poky/meta/lib/oeqa/runtime/cases/
H A Dmaturin.py4 # SPDX-License-Identifier: MIT
16 @OEHasPackage(['python3-maturin'])
18 status, output = self.target.run("maturin list-python")
20 _, py_major = self.target.run("python3 -c 'import sys; print(sys.version_info.major)'")
21 _, py_minor = self.target.run("python3 -c 'import sys; print(sys.version_info.minor)'")
24 … " - CPython %s at /usr/bin/python%s" % (python_version, python_version))
31 src = os.path.join(cls.tc.files_dir, "maturin/guessing-game")
36 cls.tc.target.run('rm -rf %s' % '/tmp/guessing-game/target')
39 @OEHasPackage(['python3-maturin'])
43 (1) that a .venv can been created.
[all …]
/openbmc/openbmc/poky/meta/recipes-devtools/qemu/qemu/
H A D0011-qemu-Ensure-pip-and-the-python-venv-aren-t-used-for-.patch4 Subject: [PATCH] qemu: Ensure pip and the python venv aren't used for meson
7 to "help" users and uses pip and creates a venv to do this. This is a nightmare
13 bitbake qemu-system-native
15 bitbake qemu-system-native -c configure
21 Ideally we'd convince upstream to allow some way to disable the venv on
25 Upstream-Status: Inappropriate [oe specific]
26 Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
27 ---
28 configure | 4 ++--
29 1 file changed, 2 insertions(+), 2 deletions(-)
[all …]
/openbmc/openbmc/poky/meta/recipes-devtools/python/
H A Dpython3-build_1.2.2.bb10 DEPENDS += "python3-pyproject-hooks-native"
12 DEPENDS:remove:class-native = "python3-build-native"
15 PEP517_BUILD_OPTS:class-native = "--skip-dependency-check"
17 do_compile:prepend:class-native() {
22 python3-compression \
23 python3-difflib \
24 python3-ensurepip \
25 python3-logging \
26 python3-packaging \
27 python3-pyproject-hooks \
[all …]
H A Dpython3-maturin_1.8.3.bb1 SUMMARY = "Build and publish crates with pyo3, rust-cpython, cffi bindings and rust binaries as pyt…
4 LICENSE = "MIT | Apache-2.0"
5 LIC_FILES_CHKSUM = "file://license-apache;md5=1836efb2eb779966696f473ee8540542 \
6 file://license-mit;md5=85fd3b67069cff784d98ebfc7d5c0797"
8 SRC_URI += "file://0001-Define-more-ioctl-codes-on-riscv32gc-unknown-linux-g.patch;patchdir=${CARGO…
11 S = "${WORKDIR}/maturin-${PV}"
13 CFLAGS += "-ffile-prefix-map=${CARGO_HOME}=${TARGET_DBGSRC_DIR}/cargo_home"
16 python3-setuptools-rust-native \
17 python3-semantic-version-native \
18 python3-setuptools-rust \
[all …]
/openbmc/qemu/tests/lcitool/
H A Dmappings.yml16 python3:
17 OpenSUSELeap15: python311-base
19 python3-PyYAML:
22 python3-devel:
23 OpenSUSELeap15: python311-devel
25 python3-docutils:
28 python3-numpy:
31 python3-opencv:
34 python3-pillow:
37 python3-pip:
[all …]
/openbmc/qemu/tests/lcitool/projects/
H A Dqemu-minimal.yml1 # Very minimal set of qemu packages, used for minimal cross-compile sanity checks
2 ---
4 - bash
5 - bc
6 - bison
7 - ccache
8 - findutils
9 - flex
10 - gcc
11 - gcc-native
[all …]
H A Dqemu.yml1 ---
3 - alsa
4 - bash
5 - bc
6 - bindgen
7 - bison
8 - brlapi
9 - bzip2
10 - bzip2-libs
11 - capstone
[all …]
/openbmc/qemu/tests/docker/dockerfiles/
H A Ddebian-tricore-cross.docker2 # Docker TriCore cross-compiler target
8 # Copyright (c) 2018 Philippe Mathieu-Daudé
10 # SPDX-License-Identifier: GPL-2.0-or-later
12 FROM docker.io/library/debian:11-slim
15 DEBIAN_FRONTEND=noninteractive apt install -yy eatmydata && \
16 DEBIAN_FRONTEND=noninteractive eatmydata apt install -yy \
19 ca-certificates \
26 libglib2.0-dev \
27 libpixman-1-dev \
30 ninja-build \
[all …]
H A Ddebian-legacy-test-cross.docker1 # Docker legacy cross-compiler target (tests and minimal qemu)
6 # libc6.1-dev-alpha-cross: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1054412
7 # sh4-linux-user: binaries don't run with bookworm compiler
9 # As we are targeting check-tcg here we only need minimal qemu
12 FROM docker.io/library/debian:11-slim
14 # Duplicate deb line as deb-src
15 RUN cat /etc/apt/sources.list | sed "s/^deb\ /deb-src /" >> /etc/apt/sources.list
18 apt-get update && \
19 apt-get install -y eatmydata && \
20 eatmydata apt-get dist-upgrade -y && \
[all …]
H A Ddebian-loongarch-cross.docker2 # Docker cross-compiler target
5 # https://github.com/loongson/build-tools/releases
7 FROM docker.io/library/debian:11-slim
9 # Duplicate deb line as deb-src
10 RUN cat /etc/apt/sources.list | sed "s/^deb\ /deb-src /" >> /etc/apt/sources.list
13 apt-get update && \
14 apt-get install -y eatmydata && \
15 eatmydata apt-get dist-upgrade -y && \
16 apt build-dep -yy qemu
18 RUN apt-get update && \
[all …]
H A Ddebian-hexagon-cross.docker2 # Docker Hexagon cross-compiler target
6 # build-deps.
8 FROM docker.io/library/debian:11-slim
10 # Duplicate deb line as deb-src
11 RUN cat /etc/apt/sources.list | sed "s/^deb\ /deb-src /" >> /etc/apt/sources.list
12 RUN apt-get update && \
13 DEBIAN_FRONTEND=noninteractive apt install -yy eatmydata && \
16 apt-get install -y --no-install-recommends \
19 xz-utils \
20 ca-certificates \
[all …]
H A Dubuntu2204.docker1 # THIS FILE WAS AUTO-GENERATED
3 # $ lcitool dockerfile --layers all ubuntu-2204 qemu
5 # https://gitlab.com/libvirt/libvirt-ci
10 apt-get update && \
11 apt-get install -y eatmydata && \
12 eatmydata apt-get dist-upgrade -y && \
13 eatmydata apt-get install --no-install-recommends -y \
19 ca-certificates \
25 exuberant-ctags \
33 libaio-dev \
[all …]
H A Ddebian.docker1 # THIS FILE WAS AUTO-GENERATED
3 # $ lcitool dockerfile --layers all debian-12 qemu
5 # https://gitlab.com/libvirt/libvirt-ci
7 FROM docker.io/library/debian:12-slim
10 apt-get update && \
11 apt-get install -y eatmydata && \
12 eatmydata apt-get dist-upgrade -y && \
13 eatmydata apt-get install --no-install-recommends -y \
20 ca-certificates \
26 exuberant-ctags \
[all …]
H A Ddebian-all-test-cross.docker2 # Docker all cross-compiler target (tests only)
7 # to build and run linux-user tests on GitLab
9 FROM docker.io/library/debian:12-slim
11 # Duplicate deb line as deb-src
12 RUN sed -in "s/Types: deb/Types: deb deb-src/g" /etc/apt/sources.list.d/debian.sources
15 apt-get update && \
16 apt-get install -y eatmydata && \
17 eatmydata apt-get dist-upgrade -y && \
18 apt build-dep -yy --arch-only qemu
22 apt install -y --no-install-recommends \
[all …]
/openbmc/qemu/scripts/ci/setup/ubuntu/
H A Dubuntu-2204-aarch64.yaml1 # THIS FILE WAS AUTO-GENERATED
3 # $ lcitool variables --host-arch aarch64 ubuntu-2204 qemu
5 # https://gitlab.com/libvirt/libvirt-ci
8 - bash
9 - bc
10 - bison
11 - bsdextrautils
12 - bzip2
13 - ca-certificates
14 - ccache
[all …]
H A Dubuntu-2204-s390x.yaml1 # THIS FILE WAS AUTO-GENERATED
3 # $ lcitool variables --host-arch s390x ubuntu-2204 qemu
5 # https://gitlab.com/libvirt/libvirt-ci
8 - bash
9 - bc
10 - bison
11 - bsdextrautils
12 - bzip2
13 - ca-certificates
14 - ccache
[all …]
H A Dubuntu-2204-armhf-cross.yml1 # THIS FILE WAS AUTO-GENERATED
3 # $ lcitool variables --cross-arch armv7l ubuntu-2204 qemu
5 # https://gitlab.com/libvirt/libvirt-ci
8 - bash
9 - bc
10 - bison
11 - bsdextrautils
12 - bzip2
13 - ca-certificates
14 - ccache
[all …]
/openbmc/openbmc/meta-arm/
H A D.gitlab-ci.yml26 - prep
27 - build
32 - $DEFAULT_TAG
48 - rm -rf $KAS_WORK_DIR
49- mkdir --verbose --parents $KAS_WORK_DIR $KAS_REPO_REF_DIR $SSTATE_DIR $DL_DIR $TOOLCHAIN_DIR $TO…
56 - if: $CI_PIPELINE_SOURCE == "merge_request_event"
59 - if: $CI_COMMIT_TAG
62 - if: '$BUILD_ENABLE_REGEX != null && $CI_JOB_NAME !~ $BUILD_ENABLE_REGEX'
65 - if: '$KERNEL == "linux-yocto-dev"'
68 - if: '$KERNEL != "linux-yocto-dev"'
[all …]
/openbmc/openbmc/meta-openembedded/meta-multimedia/recipes-multimedia/mycroft/
H A Dmycroft_19.8.1.bb6 LICENSE = "Apache-2.0"
10 SRC_URI = "git://github.com/MycroftAI/mycroft-core.git;branch=master;protocol=https \
11 file://0001-Remove-python-venv.patch \
12 file://0002-dev_setup.sh-Remove-the-git-dependency.patch \
13 file://0003-dev_setup.sh-Remove-the-TERM-dependency.patch \
14 file://0004-dev_setup.sh-Ignore-missing-package-manager.patch \
15 file://0005-pip-requirements-Don-t-install-requirements-with-pip.patch \
16 file://0006-Use-python3-and-pip3-instead-of-python-and-pip.patch \
17 file://0007-mycroft.conf-Use-pocketsphinx-by-default.patch \
19 file://mycroft-setup.service \
[all …]

12