Skip to content

Commit

Permalink
Update conda recipes pinning of repo dependencies (#370)
Browse files Browse the repository at this point in the history
Ensure all conda packages created in this repo that depend on other packages are all version pinned to the same build number. This way it prevents a conda solve from picking mismatched versions of `cuspatial` and `libcuspatial` that can break this repo during builds and testing.

Authors:
  - Mike Wendt (@mike-wendt)

Approvers:
  - Ray Douglass (@raydouglass)

URL: #370
  • Loading branch information
mike-wendt authored Mar 30, 2021
1 parent 09817f0 commit dbd86c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions conda/recipes/cuspatial/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2018, NVIDIA CORPORATION.
# Copyright (c) 2018-2021, NVIDIA CORPORATION.

{% set version = environ.get('GIT_DESCRIBE_TAG', '0.0.0.dev').lstrip('v') + environ.get('VERSION_SUFFIX', '') %}
{% set minor_version = version.split('.')[0] + '.' + version.split('.')[1] %}
Expand All @@ -24,7 +24,7 @@ requirements:
- setuptools
- cudf {{ minor_version }}.*
- rmm {{ minor_version }}.*
- libcuspatial {{ version }}.*
- libcuspatial {{ version }}=*_{{ GIT_DESCRIBE_NUMBER }}
run:
- python
- cudf {{ minor_version }}.*
Expand Down

0 comments on commit dbd86c1

Please sign in to comment.