Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/branch-24.04' into ref/full
Browse files Browse the repository at this point in the history
  • Loading branch information
mroeschke committed Mar 5, 2024
2 parents e18caa1 + 54f0430 commit 3dd214e
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,13 +119,13 @@ docker run --gpus all --pull always --rm -it \
### Install with Conda

To install via conda:
> **Note** cuSpatial is supported only on Linux or [through WSL](https://rapids.ai/wsl2.html), and with Python versions 3.9 and 3.10
> **Note** cuSpatial is supported only on Linux or [through WSL](https://rapids.ai/wsl2.html), and with Python versions 3.9, 3.10, and 3.11.
cuSpatial can be installed with conda (miniconda, or the full Anaconda distribution) from the rapidsai channel:

```shell
conda install -c rapidsai -c conda-forge -c nvidia \
cuspatial=24.04 python=3.10 cudatoolkit=11.8
cuspatial=24.04 python=3.11 cudatoolkit=11.8
```
We also provide nightly Conda packages built from the HEAD of our latest development branch.

Expand All @@ -134,7 +134,7 @@ See the [RAPIDS installation documentation](https://docs.rapids.ai/install) for
### Install with pip

To install via pip:
> **Note** cuSpatial is supported only on Linux or [through WSL](https://rapids.ai/wsl2.html), and with Python versions 3.9 and 3.10
> **Note** cuSpatial is supported only on Linux or [through WSL](https://rapids.ai/wsl2.html), and with Python versions 3.9, 3.10, and 3.11.
The cuSpatial pip packages can be installed from NVIDIA's PyPI index. pip installations require using the matching wheel to the system's installed CUDA toolkit.
- For CUDA 11 toolkits, install the `-cu11` wheels
Expand Down
3 changes: 2 additions & 1 deletion conda/environments/all_cuda-118_arch-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ dependencies:
- nbsphinx
- ninja
- notebook
- numpy>=1.23
- numpydoc
- nvcc_linux-64=11.8
- pre-commit
Expand All @@ -39,7 +40,7 @@ dependencies:
- pytest
- pytest-cov
- pytest-xdist
- python>=3.9,<3.11
- python>=3.9,<3.12
- rmm==24.4.*
- scikit-build-core>=0.7.0
- scikit-image
Expand Down
3 changes: 2 additions & 1 deletion conda/environments/all_cuda-122_arch-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ dependencies:
- nbsphinx
- ninja
- notebook
- numpy>=1.23
- numpydoc
- pre-commit
- proj
Expand All @@ -41,7 +42,7 @@ dependencies:
- pytest
- pytest-cov
- pytest-xdist
- python>=3.9,<3.11
- python>=3.9,<3.12
- rmm==24.4.*
- scikit-build-core>=0.7.0
- scikit-image
Expand Down
1 change: 1 addition & 0 deletions conda/recipes/cuspatial/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ requirements:
- {{ pin_compatible('cuda-version', max_pin='x', min_pin='x') }}
- cudf ={{ minor_version }}
- geopandas >=0.11.0
- numpy >=1.23
- python
- rmm ={{ minor_version }}

Expand Down
8 changes: 7 additions & 1 deletion dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -324,13 +324,18 @@ dependencies:
packages:
- python=3.10
- matrix:
py: "3.11"
packages:
- python>=3.9,<3.11
- python=3.11
- matrix:
packages:
- python>=3.9,<3.12
run_python_cuspatial:
common:
- output_types: [conda, requirements, pyproject]
packages:
- geopandas>=0.11.0
- &numpy numpy>=1.23
test_python_cuspatial:
common:
- output_types: [conda, requirements, pyproject]
Expand All @@ -342,6 +347,7 @@ dependencies:
common:
- output_types: [conda, requirements, pyproject]
packages:
- *numpy
- pytest
- pytest-cov
- pytest-xdist
Expand Down
2 changes: 2 additions & 0 deletions python/cuproj/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,14 @@ classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]

[project.optional-dependencies]
test = [
"cuspatial==24.4.*",
"geopandas>=0.11.0",
"numpy>=1.23",
"pyproj>=3.6.0,<3.7a0",
"pytest",
"pytest-cov",
Expand Down
4 changes: 4 additions & 0 deletions python/cuspatial/cuspatial/tests/test_geodataframe.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,10 @@ def test_boolmask(gpdf, df_boolmask):
assert_eq_geo_df(gi[df_boolmask], cugpdf_back[df_boolmask])


@pytest.mark.xfail(
reason="Size discrepancies between Python versions. See "
"https://github.com/rapidsai/cuspatial/issues/1352"
)
def test_memory_usage(gs):
assert gs.memory_usage() == 224
host_dataframe = gpd.read_file(
Expand Down
2 changes: 2 additions & 0 deletions python/cuspatial/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ requires-python = ">=3.9"
dependencies = [
"cudf==24.4.*",
"geopandas>=0.11.0",
"numpy>=1.23",
"rmm==24.4.*",
] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`.
classifiers = [
Expand All @@ -48,6 +49,7 @@ classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]

[project.optional-dependencies]
Expand Down

0 comments on commit 3dd214e

Please sign in to comment.