Home
last modified time | relevance | path

Searched +full:pytest +full:- +full:find +full:- +full:dependencies (Results 1 – 23 of 23) sorted by relevance

/external/python/pyfakefs/.github/workflows/
Dtestsuite.yml8 runs-on: ubuntu-latest
10 - name: Check out repository
12 - name: Set up Python
13 uses: actions/setup-python@v4
15 python-version: "3.10"
16 - name: install pytype
17 run: pip install setuptools pytype pytest scandir pathlib2 pandas xlrd django
18 - name: Run pytype
20 pytype pyfakefs --keep-going --exclude pyfakefs/tests/* --exclude pyfakefs/pytest_tests/*
23 runs-on: ${{ matrix.os }}
[all …]
/external/python/setuptools/setuptools/tests/integration/
Dtest_pip_install_sdist.py22 import pytest
28 pytestmark = pytest.mark.integration
41 # that `build-essential`, `gfortran` and `libopenblas-dev` are installed,
47 ("pytest", LATEST), # uses setuptools_scm
50 # --- Popular packages: https://hugovk.github.io/top-pypi-packages/ ---
60 # Some packages have "optional" dependencies that modify their build behaviour
68 VIRTUALENV = (sys.executable, "-m", "virtualenv")
76 "--ignore-installed",
77 "--no-build-isolation",
78 # We don't need "--no-binary :all:" since we specify the path to the sdist.
[all …]
/external/python/setuptools/setuptools/_vendor/nspektr/
D__init__.py14 def resolve(req: Requirement) -> metadata.Distribution:
20 >>> resolve(Requirement('pytest<3')) # doctest: +IGNORE_EXCEPTION_DETAIL
23 importlib.metadata.PackageNotFoundError: No package metadata was found for pytest<3
52 Find direct, declared dependencies for dist.
92 Find all reachable dependencies for dist.
100 >>> not any('pytest' in str(dep) for dep in deps)
103 >>> any('pytest' in str(dep) for dep in test_deps)
123 Generate the unresolved dependencies (if any) of ep.
/external/python/mobly/
Dpyproject.toml1 [build-system]
3 build-backend = "setuptools.build_meta"
8 description = "Automation framework for special end-to-end test cases"
9 requires-python = ">=3.11"
10 dependencies = [ "portpicker", "pywin32; platform_system == \"Windows\"", "pyyaml",]
14 email = "mobly-github@googlegroups.com"
23 [project.optional-dependencies]
24 testing = [ "mock", "pytest", "pytz",]
27 include-package-data = false
28 script-files = [ "tools/sl4a_shell.py", "tools/snippet_shell.py",]
[all …]
/external/python/setuptools/setuptools/tests/config/
Dtest_pyprojecttoml.py5 import pytest
17 import setuptools # noqa -- force distutils.core to be patched
25 requires-python = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*"
26 dependencies = [
27 'importlib-metadata>=0.12;python_version<"3.8"',
28 'importlib-resources>=1.0;python_version<"3.7"',
32 [project.optional-dependencies]
35 "sphinx-argparse>=0.2.5",
36 "sphinx-rtd-theme>=0.4.3",
39 "pytest>=1",
[all …]
/external/python/setuptools/setuptools/tests/
Dtest_editable_install.py4 import pytest
9 @pytest.fixture
15 create_opts=["--no-setuptools"],
23 [build-system]
25 build-backend = "setuptools.build_meta"
34 "Development Status :: 5 - Production/Stable",
38 dependencies = ['importlib-metadata; python_version<"3.8"']
41 package-dir = {"" = "src"}
42 packages = {find = {where = ["src"]}}
43 license-files = ["LICENSE*"]
[all …]
Dtest_build_meta.py12 import pytest
24 pytestmark = pytest.mark.skipif(
26 reason="The combination of PyPy + Windows + pytest-xdist + ProcessPoolExecutor "
58 pytest.xfail(f"Backend did not respond before timeout ({TIMEOUT} s)")
61 pytest.xfail("PyPy frequently fails tests with ProcessPoolExector")
205 @pytest.fixture(params=defns)
222 dist_dir = os.path.abspath('pip-wheel')
241 @pytest.mark.parametrize('build_type', ('wheel', 'sdist'))
254 [build-system]
256 build-backend = "setuptools.build_meta"
[all …]
/external/python/setuptools/docs/userguide/
Dentry_point.rst19 .. code-block:: bash
29 .. code-block:: python
36 .. code-block:: python
46 .. code-block:: bash
48 python -m timmins
51 user-friendly name for installers of the package to execute. Installers
53 above example, to create a command ``hello-world`` that invokes
59 .. code-block:: ini
63 hello-world = timmins:hello_world
67 .. code-block:: python
[all …]
/external/python/python-api-core/
Dnoxfile.py7 # http://www.apache.org/licenses/LICENSE-2.0
21 import nox # pytype: disable=import-error
27 BLACK_EXCLUDES = ["--exclude", "^/google/api_core/operations_v1/__init__.py"]
32 # 'docfx' is excluded since it only needs to run in 'docs-presubmit'
61 Returns a failure if the linters find linting errors or sufficiently
64 session.install("flake8", "flake8-import-order", BLACK_VERSION)
67 "black", "--check", *BLACK_EXCLUDES, *BLACK_PATHS,
91 CURRENT_DIRECTORY / "testing" / f"constraints-{session.python}.txt"
94 # Install all test dependencies, then install this package in-place.
95 session.install("mock", "pytest", "pytest-cov")
[all …]
/external/python/pyfakefs/docs/
Dtroubleshooting.rst7 ---------------------------------
12 - most file system related functions in the ``os`` and ``os.path`` modules
13 - the ``pathlib`` module
14 - the built-in ``open`` function and ``io.open``
15 - ``shutil.disk_usage``
24 - It uses a file system related function of the mentioned modules that is
29 - It uses file system related functions in a way that will not be patched
33 - It uses OS specific file system functions not contained in the Python
42 - It uses C libraries to access the file system. There is no way no make
43 such a module work with ``pyfakefs``--if you want to use it, you
[all …]
/external/oss-fuzz/docs/getting-started/new-project-guide/
Dpython_lang.md1 ---
7 permalink: /getting-started/new-project-guide/python-lang/
8 ---
13 - TOC
15 ---
18 The process of integrating a project written in Python with OSS-Fuzz is very
20 [Setting up a new project]({{ site.baseurl }}/getting-started/new-project-guide/)
25 Python fuzzing in OSS-Fuzz depends on
27 `atheris` package, and dependencies are pre-installed on the OSS-Fuzz base
34 We recommend viewing [ujson](https://github.com/google/oss-fuzz/tree/master/projects/ujson) as an
[all …]
/external/python/pyee/
DDEVELOPMENT.rst5 -----------------
11 This will create a virtualenv at ``./venv``, install dependencies with pip,
32 npm i --update
42 -------------------------------
48 make test # runs pytest
51 ---------------
63 ----------
90 git tag -a {version} -m 'Release {version}'
110 git push origin main --tags
115 RTD should build automatically but I find there's a delay so I like to kick it
/external/armnn/python/pyarmnn/
DREADME.md3 …extension for [Arm NN SDK](https://developer.arm.com/ip-products/processors/machine-learning/arm-n…
19 1. You have Python 3.6+ installed system-side. The package is not compatible with older Python vers…
20 2. You have python3.6-dev installed system-side. This contains header files needed to build PyArmNN…
22 …python3.6-dev build-essential checkinstall libreadline-gplv2-dev libncursesw5-dev libssl-dev libsq…
23 …To install it follow the guide on [SWIG GitHub](https://github.com/swig/swig/wiki/Getting-Started).
29 python -m venv env
55 -DBUILD_PYTHON_SRC=1
59 SWIG is required to generate the wrappers. If CMake did not find the executable during the configur…
61 -DSWIG_EXECUTABLE=<path_to_swig_executable>
64 After the build finishes, you will find the python packages in `<build_folder>/python/pyarmnn/dist`.
[all …]
/external/python/google-auth-library-python/system_tests/
Dnoxfile.py7 # http://www.apache.org/licenses/LICENSE-2.0
42 GAE_APP_URL_TMPL = "https://{}-dot-{}.appspot.com"
43 GAE_TEST_APP_SERVICE = "google-auth-system-tests"
46 CLOUD_SDK_DIST_FILENAME = "google-cloud-sdk.tar.gz"
67 CLOUD_SDK_INSTALL_DIR = CLOUD_SDK_ROOT.join("google-cloud-sdk")
73 # where to find 2 when we're running in a 3 environment.
89 # This set the $PATH for the subprocesses so they can find the gcloud
97 session.run(GCLOUD, "components", "update", "-q")
103 session.run("wget", CLOUD_SDK_DOWNLOAD_URL, "-O", str(tar_path), silent=True)
106 session.run("tar", "xzf", str(tar_path), "-C", str(CLOUD_SDK_ROOT))
[all …]
/external/google-fruit/
DCONTRIBUTING.md6 you can find instructions for building Fruit manually
7 [here](https://github.com/google/fruit/wiki/install#building-fruit-manually).
28 mkdir build-debug
29 cd build-debug
30 cmake .. -DCMAKE_BUILD_TYPE=Debug -DFRUIT_ENABLE_CLANG_TIDY=TRUE -DCMAKE_CXX_FLAGS="-Werror -DFRUIT…
31 make -j 16
33 py.test-3 -n auto
46 * Using GCC, Clang, Apple-Clang or MSVC
53 ([list of images](https://hub.docker.com/r/polettimarco/fruit-basesystem/tags/)).
58 export OS=linux; export COMPILER='clang-3.9'; export STL='libstdc++'; export UBUNTU='16.04'; extras…
[all …]
/external/python/setuptools/
DCHANGES.rst2 -------
13 * #3202: Changed behaviour of auto-discovery to not explicitly expand ``package_dir``
14 for flat-layouts and to not use relative paths starting with ``./``.
22 * #3211: Disabled auto-discovery when distribution class has a ``configuration``
24 configuration=...)``). This is done to ensure extension-only packages created
27 behaviour to avoid accidental multiple top-level packages in a flat-layout.
31 still likely to observe the auto-discovery behavior, which may halt the
35 To disable auto-discovery please explicitly set either ``packages`` or
36 ``py_modules``. Alternatively you can also configure :ref:`custom-discovery`.
40 -------
[all …]
/external/pigweed/docs/
Dpython_build.rst1 .. _docs-python-build:
8 - :bdg-ref-primary-line:`module-pw_build-python` for detailed template usage.
9 - :bdg-ref-primary-line:`module-pw_build` for other GN templates available
11 - :bdg-ref-primary-line:`docs-build-system` for a high level guide and
14 Pigweed uses a custom GN-based build system to manage its Python code. The
18 with :ref:`module-pw_watch`) or in continuous integration.
20 Pigweed's Python code is exclusively managed by GN, but the GN-based build may
23 build system. As needed, non-GN projects can declare just their Python packages
31 :ref:`module-pw_build-pw_python_action` GN template which will ultimately run
40 :ref:`pw_python_actions <module-pw_build-pw_python_action>` throughout the build
[all …]
/external/libxkbcommon/
DNEWS1 libxkbcommon 1.4.0 - 2022-02-04
4 - Add `enable-tools` option to Meson build (on by default) to allow disabling
9 - In `xkbcli list`, fix "YAML Norway problem" in output.
13 - In libxkbregistry, variants now inherit iso639, iso3166 and brief from parent
18 - In libxkbregistry, don't call `xmlCleanupParser()` - it's not supposed to
23 - In libxkbregistry, skip over invalid ISO-639 or ISO-3166 entries.
27 libxkbcommon 1.3.1 - 2021-09-10
30 - In `xkbcli interactive-x11`, use the Esc keysym instead of the Esc keycode
35 - In `xkbcli how-to-type`, add `--keysym` argugment for how to type a keysym
38 - Fix a crash in `xkb_x11_keymap_new_from_device` error handling given some
[all …]
/external/mesa3d/docs/relnotes/
D22.1.0.rst1 Mesa 22.1.0 Release Notes / 2022-05-18
20 ---------------
24 df6270c1371eaa2aa6eb65b95cbbb2a98b14fa4b7ba0ed45e4ca2fd32df60477 mesa-22.1.0.tar.xz
28 ------------
30 - d3d12 GL4.2
31 - GL_NV_pack_subimage
32 - VK_EXT_depth_clip_control on lavapipe and RADV
33 - Vulkan 1.3 support on lavapipe
34 - VK_EXT_graphics_pipeline_library on lavapipe
35 - VK_EXT_primitives_generated_query on lavapipe
[all …]
D21.1.0.rst1 Mesa 21.1.0 Release Notes / 2021-05-05
20 ---------------
24 0128f10e22970d3aed3d1034003731f94623015cd9797c07151417649c1b1ff8 mesa-21.1.0.tar.xz
28 ------------
30 - VK_KHR_workgroup_memory_explicit_layout on Intel, RADV
32 - DRM format modifiers for AMD.
34 - VK_KHR_zero_initialize_workgroup_memory on Intel, RADV
36 - Zink exposes GL 4.6 and ES 3.1
38 - GL_EXT_depth_bounds_test on softpipe, zink
40 - GL_EXT_texture_filter_minmax on nvc0 (gm200+)
[all …]
D20.2.0.rst1 Mesa 20.2.0 Release Notes / 2020-09-28
20 ---------------
24 63f0359575d558ef98dd78adffc0df4c66b76964ebf603b778b7004964191d30 mesa-20.2.0.tar.xz
28 ------------
30 - GL_ARB_compute_variable_group_size on Iris.
32 - GL_ARB_gpu_shader5 on llvmpipe
34 - GL_ARB_post_depth_coverage on llvmpipe
36 - GLES 3.2 on llvmpipe
38 - GL_EXT_shader_group_vote on GLES3.
40 - GL_EXT_texture_shadow_lod on llvmpipe
[all …]
/external/python/cpython2/Doc/whatsnew/
D2.7.rst41 sufficient; the e-mail address isn't necessary.
56 floating-point numbers and for the :class:`~decimal.Decimal` class.
59 for parsing command-line options, convenient :class:`~collections.OrderedDict`
77 .. _whatsnew27-python31:
101 Some key consequences of the long-term significance of 2.7 are:
107 release, compared to the more typical support period of 18--24 months).
127 :ref:`py27-maintenance-enhancements` section below.
133 The recommended starting point is the :ref:`pyporting-howto` HOWTO guide.
144 on stdlib-sig and carried out in :issue:`7319`.)
151 However, there are increasingly many users of Python-based
[all …]
/external/python/cpython3/Doc/whatsnew/
D2.7.rst41 sufficient; the e-mail address isn't necessary.
56 floating-point numbers and for the :class:`~decimal.Decimal` class.
59 for parsing command-line options, convenient :class:`~collections.OrderedDict`
77 .. _whatsnew27-python31:
101 Some key consequences of the long-term significance of 2.7 are:
107 release, compared to the more typical support period of 18--24 months).
127 :ref:`py27-maintenance-enhancements` section below.
133 The recommended starting point is the :ref:`pyporting-howto` HOWTO guide.
144 on stdlib-sig and carried out in :issue:`7319`.)
151 However, there are increasingly many users of Python-based
[all …]