Skip to content

Commit

Permalink
Remove the env packages (#666)
Browse files Browse the repository at this point in the history
Closes #119

Removes:
- `rapids-build-env`
- `rapids-doc-env`
- `rapids-notebook-env`

Also updates the `version.yaml` files to remove unnecessary packages.

Authors:
  - Ray Douglass (https://github.com/raydouglass)

Approvers:
  - Bradley Dice (https://github.com/bdice)
  - https://github.com/jakirkham
  - AJ Schmidt (https://github.com/ajschmidt8)

URL: #666
  • Loading branch information
raydouglass authored Jul 26, 2023
1 parent 9ac0f15 commit eae0588
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 494 deletions.
9 changes: 3 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
# <div align="left"><img src="https://rapids.ai/assets/images/rapids_logo.png" width="90px"/>&nbsp; Integration

RAPIDS - combined conda package &amp; integration tests for all of RAPIDS libraries
RAPIDS - combined conda package for all of RAPIDS libraries

## RAPIDS Meta-packages

The conda recipe in the `conda` folder provides the RAPIDS meta-packages, which
when installed will provide the latest RAPIDS libraries for the given version or
setup `build`, `doc`, or `notebook` environments for RAPIDS.
The conda recipe in the `conda` folder provides the RAPIDS meta-packages, which when installed will provide the latest RAPIDS libraries for the given version.

See the [README](conda/recipes/README.md) for more information about the
meta-packages and how to update versions.
See the [README](conda/recipes/README.md) for more information about the meta-packages and how to update versions.
24 changes: 0 additions & 24 deletions ci/build_python.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,28 +23,4 @@ rapids-mamba-retry mambabuild \
--variant-config-files "${CONDA_CONFIG_FILE}" \
conda/recipes/rapids

rapids-logger "Build rapids-build-env"

rapids-mamba-retry mambabuild \
--no-test \
--variant-config-files "${CONDA_CONFIG_FILE}" \
conda/recipes/rapids-build-env

rapids-logger "Build rapids-notebook-env"

rapids-mamba-retry mambabuild \
--no-test \
--variant-config-files "${CONDA_CONFIG_FILE}" \
conda/recipes/rapids-notebook-env

if [ "$(uname -m)" != "aarch64" ]; then

rapids-logger "Build rapids-doc-env"

rapids-mamba-retry mambabuild \
--no-test \
--variant-config-files "${CONDA_CONFIG_FILE}" \
conda/recipes/rapids-doc-env
fi

rapids-upload-conda-to-s3 python
17 changes: 3 additions & 14 deletions conda/recipes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,6 @@ Package Name | Purpose
`rapids` | Provide a one package install for all RAPIDS libraries, version matched to a RAPIDS release
`rapids-xgboost` | Defines the version of `xgboost` used for a RAPIDS release

### Environment Packages

The environment meta-packages are used for setting up `build`, `doc`, and
`notebook` environments for users and in our RAPIDS [containers](https://github.com/rapidsai/build).

Package Name | Purpose
--- | ---
`rapids-build-env` | Installs all `conda` build dependencies to build & test RAPIDS libraries from source
`rapids-doc-env` | Installs all tools needed to build RAPIDS documentation
`rapids-notebook-env` | Installs a Jupyter Notebook server and other dependencies to run RAPIDS example notebooks; used in the `runtime` [stable](https://hub.docker.com/r/rapidsai/rapidsai/tags?page=1&name=runtime) and [nightly](https://hub.docker.com/r/rapidsai/rapidsai-nightly/tags?page=1&name=runtime) RAPIDS containers.

## Managing Versions

Packages without version restrictions do not need to use the following process
Expand Down Expand Up @@ -64,7 +53,7 @@ the `VERSIONING_NAME` added to the file.

- `PACKAGE_NAME` - is the conda package name
- `VERSIONING_NAME` - is the conda package name with `-` replaced with `_` and a suffix of `_version` added
- For example
- For example
- `cupy` would become `cupy_version`
- `scikit-learn` would become `scikit_learn_version`

Expand All @@ -89,7 +78,7 @@ scikit-learn {{ scikit_learn_version }}

#### Modifying Versions File

In `conda/recipes` is `versions.yaml` - These are versions used by the `ci/axis/build.yaml` for testing in PRs and conda builds.
In `conda/recipes` is `versions.yaml` - These are versions used by CI for testing in PRs and conda builds.

In this file we specify the version for the newly created `VERSIONING_NAME`.

Expand All @@ -105,7 +94,7 @@ standard `conda` version specifiers:
##### TIP - Correct version specs

**NOTE:** `=2.5.*` is not a valid version spec. Please use `=2.5` instead
which will be interperted as `=2.5.*`. Otherwise `conda build` throws a
which will be interpreted as `=2.5.*`. Otherwise `conda build` throws a
warning message with the definition of `.*`. For example:

```
Expand Down
164 changes: 0 additions & 164 deletions conda/recipes/rapids-build-env/meta.yaml

This file was deleted.

56 changes: 0 additions & 56 deletions conda/recipes/rapids-doc-env/meta.yaml

This file was deleted.

72 changes: 0 additions & 72 deletions conda/recipes/rapids-notebook-env/meta.yaml

This file was deleted.

Loading

0 comments on commit eae0588

Please sign in to comment.