Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for REQUIREMENTS_FILE_NAME (0.19 sec)

  1. ci/official/requirements_updater/updater_config_repository.bzl

     Can be set via build parameter "--repo_env=<VARIABLE_NAME>=<value>"
     e.g "--repo_env=REQUIREMENTS_FILE_NAME=requirements.in"
    
     List of variables:
     REQUIREMENTS_FILE_NAME
    '''
    
    def _updater_config_repository_impl(repository_ctx):
        repository_ctx.file("BUILD", "")
        requirements_file_name = repository_ctx.os.environ.get("REQUIREMENTS_FILE_NAME", "requirements.in")
        repository_ctx.file(
            "updater_config_repository.bzl",
    Others
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Aug 31 18:17:57 GMT 2023
    - 718 bytes
    - Viewed (0)
  2. ci/official/requirements_updater/BUILD.bazel

    load("@python//3.9:defs.bzl", compile_pip_requirements_3_9 = "compile_pip_requirements")
    load("@updater_config_repository//:updater_config_repository.bzl", "REQUIREMENTS_FILE_NAME")
    
    compile_pip_requirements_3_9(
        name = "requirements_3_9",
        extra_args = ["--allow-unsafe"],
        requirements_in = REQUIREMENTS_FILE_NAME,
        requirements_txt = "requirements_lock_3_9.txt",
    )
    
    compile_pip_requirements_3_10(
        name = "requirements_3_10",
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Mar 27 18:00:18 GMT 2024
    - 3K bytes
    - Viewed (2)
  3. ci/official/requirements_updater/README.md

    By default, the name of the base requirements file is `requirements.in`, but it
    can be set using the `REQUIREMENTS_FILE_NAME` variable. \
    For example:
    
    ```
    export REQUIREMENTS_FILE_NAME=my_requirements.in
    ```
    
    To specify the file via a Bazel command argument, use the following:
    
    ```
    --repo_env=REQUIREMENTS_FILE_NAME=my_requirements.in
    ```
    
    ### How to run the updater
    
    ```
    bash updater.sh
    ```
    
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Jan 23 02:14:00 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  4. ci/official/wheel_test/update_requirements.sh

    REQUIREMENTS_LOCK_FILE="requirements_lock_${PYTHON_VERSION}.txt"
    touch "$REQUIREMENTS_LOCK_FILE"
    
    ### Update the requirements_lock file
    bazel run --experimental_convenience_symlinks=ignore --repo_env=REQUIREMENTS_FILE_NAME=requirements_wheel_test.in //:requirements_${PYTHON_VERSION}.update
    
    # Move the updated file to the appropriate directory
    mv "$REQUIREMENTS_LOCK_FILE" ../wheel_test/
    
    Shell Script
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Aug 31 18:17:57 GMT 2023
    - 1.9K bytes
    - Viewed (0)
Back to top