Home
last modified time | relevance | path

Searched +full:- +full:- +full:disable +full:- +full:pip +full:- +full:version +full:- +full:check (Results 1 – 25 of 121) sorted by relevance

12345

/external/python/cpython3/Lib/test/
Dtest_ensurepip.py22 # Test version()
24 self.touch(tmpdir, "pip-1.2.3b1-py2.py3-none-any.whl")
26 self.assertEqual(ensurepip.version(), '1.2.3b1')
29 # Test version() without a wheel package directory
31 # when the bundled pip wheel is used, we get _PIP_VERSION
32 self.assertEqual(ensurepip._PIP_VERSION, ensurepip.version())
35 pip_filename = f'pip-{ensurepip._PIP_VERSION}-py3-none-any.whl'
42 pip_filename = "pip-20.2.2-py2.py3-none-any.whl"
47 self.touch(tmpdir, "pip-1.2.3-py2.py3-none-any.whl")
48 self.touch(tmpdir, "wheel-0.34.2-py2.py3-none-any.whl")
[all …]
/external/pigweed/pw_env_setup/py/pw_env_setup/virtualenv_setup/
Dinstall.py3 # Licensed under the Apache License, Version 2.0 (the "License"); you may not
7 # https://www.apache.org/licenses/LICENSE-2.0
30 _DATETIME_STRING = datetime.datetime.now().strftime('%Y%m%d-%H%M%S')
33 def _is_windows() -> bool:
40 self.name = '-'.join(
53 return git_stdout('-C', path, 'rev-parse', '--show-toplevel')
63 cmd = (venv_python, '-m', 'pip', '--disable-pip-version-check', 'list')
114 def _check_venv(python, version, venv_path, pyvenv_cfg): argument
118 # Check if the python location and version used for the existing virtualenv
131 elif pyvenv_values.get('version') not in '.'.join(map(str, version)):
[all …]
/external/grpc-grpc/tools/run_tests/artifacts/
Dbuild_artifact_python.sh4 # Licensed under the Apache License, Version 2.0 (the "License");
8 # http://www.apache.org/licenses/LICENSE-2.0
16 set -ex
21 export PYTHON=${PYTHON:-python}
22 export AUDITWHEEL=${AUDITWHEEL:-auditwheel}
25 # shellcheck disable=SC1091
28 # Needed for building binary distribution wheels -- bdist_wheel
29 "${PYTHON}" -m pip install --upgrade pip wheel setuptools
36 # already have a new-enough version of cython pre-installed.
38 # so we are trying to perform as few download-and-install operations
[all …]
/external/rust/android-crates-io/crates/grpcio-sys/grpc/tools/run_tests/artifacts/
Dbuild_artifact_python.sh4 # Licensed under the Apache License, Version 2.0 (the "License");
8 # http://www.apache.org/licenses/LICENSE-2.0
16 set -ex
21 export PYTHON=${PYTHON:-python}
22 export AUDITWHEEL=${AUDITWHEEL:-auditwheel}
25 # shellcheck disable=SC1091
28 # Needed for building binary distribution wheels -- bdist_wheel
29 "${PYTHON}" -m pip install --upgrade wheel
36 # already have a new-enough version of cython pre-installed.
38 # so we are trying to perform as few download-and-install operations
[all …]
/external/pigweed/pw_build/
Dpython_gn_args.gni3 # Licensed under the Apache License, Version 2.0 (the "License"); you may not
7 # https://www.apache.org/licenses/LICENSE-2.0
25 # DOCSTAG: [default-pip-gn-args]
30 # Adds '--require-hashes'. This option enforces hash checking on Python
34 # Adds --no-index forcing pip to not reach out to the internet (pypi.org) to
39 # Adds '--no-cache-dir' forcing pip to ignore any previously cached Python
40 # packages. On most systems this is located in ~/.cache/pip/
44 # files (*.tar.gz). Pip will check each of these directories when looking for
45 # potential install candidates. Each path will be passed to all 'pip install'
46 # commands as '--find-links PATH'.
[all …]
/external/yapf/.github/workflows/
Dci.yml2 …rmation see: https://help.github.com/actions/language-and-framework-guides/using-python-with-githu…
12 runs-on: ${{ matrix.os }}
14 fail-fast: false
16 python-version: ["3.8", "3.11", "3.12"] # no particular need for 3.9 or 3.10
17 os: [macos-latest, ubuntu-latest, windows-latest]
19 - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
20 - name: Set up Python ${{ matrix.python-version }}
21 uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v4.6.0
23 python-version: ${{ matrix.python-version }}
24 - name: Upgrade pip
[all …]
Dpre-commit.yml2 # Licensed under the Apache License Version 2.0
4 name: Run pre-commit
14 - cron: '0 2 * * 5' # Every Friday at 2am
19 name: Run pre-commit
20 runs-on: ubuntu-22.04
22 - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
24 - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
26 python-version: 3.11
28 - name: Install yapf (to be available to pre-commit)
29 run: |-
[all …]
Dpre-commit-autoupdate.yml2 # Licensed under the Apache License Version 2.0
4 name: Keep pre-commit hooks up to date
8 - cron: '0 16 * * 5' # Every Friday 4pm
15 pull-requests: write
19 name: Detect outdated pre-commit hooks
20 runs-on: ubuntu-22.04
22 - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
24 - name: Set up Python 3.11
25 uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
27 python-version: 3.11
[all …]
/external/libnl/.github/workflows/
Dci.yml1 name: libnl3-ci
11 clang-format:
12 runs-on: ubuntu-latest
16 - name: Install packages
18 sudo dnf install -y \
19 clang-tools-extra \
22 - name: Check out repository code
25 - name: Setup git
27 git config --global --add safe.directory "$PWD"
29 - name: Formatting with clang-format
[all …]
/external/mesa3d/bin/
Dpython-venv.sh2 set -eu
10 readonly venv_python_version=$venv_dir/python-version.txt
12 if [ -d "$venv_dir" ]
14 if [ ! -r "$venv_python_version" ]
16 echo "Python environment predates Python version checks."
18 rm -rf "$venv_dir"
19 elif ! cmp --quiet <(python --version) "$venv_python_version"
22 new=$(python --version)
23 echo "Python version has changed ($old -> $new)."
26 rm -rf "$venv_dir"
[all …]
/external/pytorch/.github/workflows/
Dlint.yml5 branches-ignore:
6 - nightly
9 - main
10 - release/*
11 - landchecks/*
14 permissions: read-all
18 lintrunner-clang:
19 uses: pytorch/test-infra/.github/workflows/linux_job.yml@release/2.4
23 docker-image: pytorch-linux-jammy-cuda11.8-cudnn9-py3.9-linter
24 … # NB: A shallow checkout won't work here because calculate-docker-image requires a full checkout
[all …]
D_mac-test.yml1 name: mac-test
6 build-environment:
9 description: Top-level label for what's being built/tested.
10 test-matrix:
14 sync-tag:
20 job with the same `sync-tag` is identical.
21 python-version:
26 The python version to be used. Will be 3.8 by default
27 timeout-minutes:
37 if: github.repository_owner == 'pytorch' && toJSON(fromJSON(inputs.test-matrix).include) != '[]'
[all …]
/external/python/cpython3/Lib/ensurepip/
D__init__.py12 __all__ = ["version", "bootstrap"]
17 # installs wheel packages in the /usr/share/python-wheels/ directory and don't
27 # NOTE: The compile-time `WHEEL_PKG_DIR` is unset so there is no place
31 dist_matching_wheels = _WHEEL_PKG_DIR.glob('pip-*.whl')
33 last_matching_dist_wheel = sorted(dist_matching_wheels)[-1]
35 # NOTE: `WHEEL_PKG_DIR` does not contain any wheel files for `pip`.
42 # Prefer pip from the wheel package directory, if present.
49 / f'pip-{_PIP_VERSION}-py3-none-any.whl'
57 # Extract '21.2.4' from 'pip-21.2.4-py3-none-any.whl'
59 removeprefix('pip-').
[all …]
/external/pigweed/pw_presubmit/py/pw_presubmit/
Dpython_checks.py3 # Licensed under the Apache License, Version 2.0 (the "License"); you may not
7 # https://www.apache.org/licenses/LICENSE-2.0
35 Check,
68 def _transform_lcov_file_paths(lcov_file: Path, repo_root: Path) -> str:
90 # pylint: disable=no-member
92 repo_root # type: ignore[attr-defined]
94 # pylint: enable=no-member
100 # pylint: disable=no-member
102 repo_root # type: ignore[attr-defined]
104 # pylint: enable=no-member
[all …]
/external/pigweed/pw_env_setup/py/pw_env_setup/
Dpython_packages.py5 # Licensed under the Apache License, Version 2.0 (the "License"); you may not
9 # https://www.apache.org/licenses/LICENSE-2.0
27 def _installed_packages() -> Iterator[str]:
28 """Run pip python_packages and write to out."""
31 for pkg in pkg_resources.working_set # pylint: disable=not-an-iterable
32 # Non-editable packages only
39 and pkg.key not in ['pip', 'setuptools', 'wheel']
47 def ls(output_file: Path | None) -> int: # pylint: disable=invalid-name
48 """Run pip python_packages and write to output_file."""
61 missing_requirements = expected_requirements - actual_requirements
[all …]
/external/tensorflow/tensorflow/tools/pip_package/
Dpip_smoke_test.py3 # Licensed under the Apache License, Version 2.0 (the "License");
7 # http://www.apache.org/licenses/LICENSE-2.0
15 """This pip smoke test verifies dependency files exist in the pip package.
18 tests and ensures they are in the pip package superset.
30 # pip smoke test.
60 # python - attr(manual|pno_pip)
62 targets += ' - attr(tags, "manual|no_pip", %s)' % " + ".join(
76 # List of dependencies that should not included in the pip package.
98 …lite/experimental/examples/lstm:unidirectional_sequence_lstm_test", # pylint:disable=line-too-long
99 …e/experimental/examples/lstm:unidirectional_sequence_lstm_test.py", # pylint:disable=line-too-long
[all …]
/external/tensorflow/tensorflow/tools/ci_build/release/
Dmac_build_utils.sh4 # Licensed under the Apache License, Version 2.0 (the "License");
8 # http://www.apache.org/licenses/LICENSE-2.0
19 set -e
20 set -x
28 # Write an entry to the sponge key-value store for this job.
30 # The location of the key-value CSV file sponge imports.
38 if [[ -z "${1}" ]]; then
45 mkdir -p "${PIP_WHL_DIR}"
48 VENV_DIR=".tf-venv"
49 rm -rf "${VENV_DIR}"
[all …]
Dcommon.sh4 # Licensed under the Apache License, Version 2.0 (the "License");
8 # http://www.apache.org/licenses/LICENSE-2.0
31 if [[ $? -ne 0 ]]; then
44 # Disable debug mode to avoid printing of variables here.
49 set -x
55 mkdir -p /tmpfs/bazel_output
62 case "$(uname -s)" in
63 Darwin) local name=bazelisk-darwin-amd64 ;;
65 case "$(uname -m)" in
66 x86_64) local name=bazelisk-linux-amd64 ;;
[all …]
/external/openthread/.github/workflows/
Dposix.yml33 branches-ignore:
34 - 'dependabot/**'
37 - 'main'
40 …group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.repository == 'opent…
41 cancel-in-progress: true
48 expects-linux:
49 runs-on: ubuntu-22.04
51 CFLAGS: -DCLI_COAP_SECURE_USE_COAP_DEFAULT_HANDLER=1 -DOPENTHREAD_CONFIG_MLE_MAX_CHILDREN=15
52 CXXFLAGS: -DCLI_COAP_SECURE_USE_COAP_DEFAULT_HANDLER=1 -DOPENTHREAD_CONFIG_MLE_MAX_CHILDREN=15
54 - name: Harden Runner
[all …]
/external/pigweed/pw_env_setup/
Ddocs.rst1 .. _module-pw_env_setup:
6 .. pigweed-module::
11 of tools is needed for non-trivial production embedded projects. For example:
13 - A C++ compiler for your target device, and also for your host
14 - A build system or three; for example, GN, Ninja, CMake, Bazel
15 - A code formatting program like clang-format
16 - A debugger like OpenOCD to flash and debug your embedded device (OpenOCD
18 - A known Python version with known modules installed for scripting
19 - A Go compiler for the Go-based command line tools
35 .. _CIPD: https://github.com/luci/luci-go/tree/HEAD/cipd
[all …]
/external/tensorflow/tensorflow/tools/dockerfiles/dockerfiles/onednn/
Dubuntu-16.04-devel-mpich-horovod-jupyter.Dockerfile3 # Licensed under the Apache License, Version 2.0 (the "License");
7 # http://www.apache.org/licenses/LICENSE-2.0
28 RUN apt-get update && apt-get install -y --no-install-recommends --fix-missing \
29 build-essential \
32 libcurl3-dev \
33 libfreetype6-dev \
34 libhdf5-serial-dev \
35 libzmq3-dev \
36 pkg-config \
38 software-properties-common \
[all …]
Dubuntu-16.04-devel-mpich-horovod.Dockerfile3 # Licensed under the Apache License, Version 2.0 (the "License");
7 # http://www.apache.org/licenses/LICENSE-2.0
28 RUN apt-get update && apt-get install -y --no-install-recommends --fix-missing \
29 build-essential \
32 libcurl3-dev \
33 libfreetype6-dev \
34 libhdf5-serial-dev \
35 libzmq3-dev \
36 pkg-config \
38 software-properties-common \
[all …]
/external/rust/android-crates-io/crates/grpcio-sys/grpc/tools/internal_ci/helper_scripts/
Dprepare_build_macos_rc4 # Licensed under the Apache License, Version 2.0 (the "License");
8 # http://www.apache.org/licenses/LICENSE-2.0
19 echo "OS: $(sw_vers -productName) $(sw_vers -productVersion) $(sw_vers -buildVersion)"
20 echo "CPU type: $(sysctl -n machdep.cpu.brand_string)"
21 echo "CPU: $(sysctl -n machdep.cpu.vendor) $(uname -m) Family $(sysctl -n machdep.cpu.family) Model…
22 echo "CPU Cores: $(sysctl -n hw.ncpu)"
23 echo "Memory: $(sysctl -n hw.memsize)"
24 echo "Kokoro image version: $(cat /VERSION)"
28 df -h /tmpfs /
32 ulimit -a
[all …]
/external/grpc-grpc/tools/internal_ci/helper_scripts/
Dprepare_build_macos_rc4 # Licensed under the Apache License, Version 2.0 (the "License");
8 # http://www.apache.org/licenses/LICENSE-2.0
19 echo "OS: $(sw_vers -productName) $(sw_vers -productVersion) $(sw_vers -buildVersion)"
20 echo "CPU type: $(sysctl -n machdep.cpu.brand_string)"
21 echo "CPU: $(sysctl -n machdep.cpu.vendor) $(uname -m) Family $(sysctl -n machdep.cpu.family) Model…
22 echo "CPU Cores: $(sysctl -n hw.ncpu)"
23 echo "Memory: $(sysctl -n hw.memsize)"
24 echo "Kokoro image version: $(cat /VERSION)"
28 df -h /tmpfs /
32 ulimit -a
[all …]
/external/mesa3d/.gitlab-ci/container/debian/
Dx86_64_build.sh2 # shellcheck disable=SC2086 # we want word splitting
5 # .gitlab-ci/image-tags.yml tags:
8 set -e
10 . .gitlab-ci/setup-test-env.sh
12 set -o xtrace
21 autotools-dev
24 libssl-dev
28 check
29 "clang-${LLVM_VERSION}"
31 libarchive-dev
[all …]

12345