|
3 | 3 | "project": "scitools-iris",
|
4 | 4 | "project_url": "https://github.com/SciTools/iris",
|
5 | 5 | "repo": "..",
|
6 |
| - "environment_type": "conda-delegated", |
| 6 | + "environment_type": "delegated", |
7 | 7 | "show_commit_url": "https://github.com/scitools/iris/commit/",
|
8 | 8 | "branches": ["upstream/main"],
|
9 |
| - "build_command": [ |
10 |
| - "python setup.py build", |
11 |
| - "python -mpip wheel --no-deps -w {build_cache_dir} {build_dir}" |
12 |
| - ], |
13 | 9 |
|
14 | 10 | "benchmark_dir": "./benchmarks",
|
15 | 11 | "env_dir": ".asv/env",
|
16 | 12 | "results_dir": ".asv/results",
|
17 | 13 | "html_dir": ".asv/html",
|
18 |
| - "plugins": [".asv_delegated_conda"], |
| 14 | + "plugins": [".asv_delegated"], |
| 15 | + |
| 16 | + "delegated_env_commands_comment": [ |
| 17 | + "The command(s) that create/update an environment correctly for the", |
| 18 | + " checked-out commit.", |
| 19 | + "The commit key indicates the earliest commit where the command(s)", |
| 20 | + " will work.", |
| 21 | + "The first 'command' in a sequence MUST ONLY set the ENV_PARENT", |
| 22 | + " env var - the directory within which the environment directory", |
| 23 | + " will be located. E.g. `ENV_PARENT=foo/` . Available as", |
| 24 | + " {env_parent} in subsequent commands.", |
| 25 | + "The environment will be detected as the most recently updated", |
| 26 | + " environment in {env_parent}.", |
| 27 | + "Commands are interpreted the same as build_command, with following", |
| 28 | + " exceptions:", |
| 29 | + " * Env vars limited to those set outside build time.", |
| 30 | + " (e.g. {conf_dir} available but {build_dir} not)", |
| 31 | + " * Are run in the same environment as the ASV install itself." |
| 32 | + ], |
| 33 | + "delegated_env_commands": { |
| 34 | + "c8a663a0": [ |
| 35 | + "ENV_PARENT={conf_dir}/.asv/env/nox312", |
| 36 | + "PY_VER=3.12 nox --envdir={env_parent} --session=tests --install-only --no-error-on-external-run --verbose" |
| 37 | + ], |
| 38 | + "d58fca7e": [ |
| 39 | + "ENV_PARENT={conf_dir}/.asv/env/nox311", |
| 40 | + "PY_VER=3.11 nox --envdir={env_parent} --session=tests --install-only --no-error-on-external-run --verbose" |
| 41 | + ], |
| 42 | + "44fae030": [ |
| 43 | + "ENV_PARENT={conf_dir}/.asv/env/nox310", |
| 44 | + "PY_VER=3.10 nox --envdir={env_parent} --session=tests --install-only --no-error-on-external-run --verbose" |
| 45 | + ] |
| 46 | + }, |
19 | 47 |
|
20 |
| - // The command(s) that create/update an environment correctly for the |
21 |
| - // checked-out commit. |
22 |
| - // Interpreted the same as build_command, with following exceptions: |
23 |
| - // * No build-time environment variables. |
24 |
| - // * Is run in the same environment as the ASV install itself. |
25 |
| - "delegated_env_commands": [ |
26 |
| - "PY_VER=3.12 nox --envdir={conf_dir}/.asv/env/nox01 --session=tests --install-only --no-error-on-external-run --verbose" |
| 48 | + "command_comment": [ |
| 49 | + "We know that the Nox command takes care of installation in each ", |
| 50 | + " environment, and in the case of Iris no specialised uninstall or ", |
| 51 | + " build commands are needed to get it working." |
27 | 52 | ],
|
28 |
| - // The parent directory of the above environment. |
29 |
| - // The most recently modified environment in the directory will be used. |
30 |
| - "delegated_env_parent": "{conf_dir}/.asv/env/nox01" |
| 53 | + "install_command": [], |
| 54 | + "uninstall_command": [], |
| 55 | + "build_command": [] |
31 | 56 | }
|
0 commit comments