Skip to content

Commit

Permalink
Remove versioneer and fix ucxx pin in distributed-ucxx (#114)
Browse files Browse the repository at this point in the history
Remove versioneer in favor of RAPIDS update scripts, fix `ucxx` pin which had `exact=True` pin causing the `distributed-ucxx` version to build against a specific CUDA version and making the package uninstallable elsewhere, and pin Dask/Distributed versions.

Authors:
  - Peter Andreas Entschev (https://github.com/pentschev)

Approvers:
  - Ray Douglass (https://github.com/raydouglass)
  - Mads R. B. Kristensen (https://github.com/madsbk)

URL: #114
  • Loading branch information
pentschev authored Oct 31, 2023
1 parent e536461 commit 457c461
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 699 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ cpp/compile_commands.json
# Python build directories and artifcats
dask-worker-space
dist/
python/distributed-ucxx/record.txt
python/record.txt
python/ucxx/_lib/*.a
python/ucxx/_lib/*.o
Expand Down
2 changes: 2 additions & 0 deletions ci/release/update-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ sed_runner 's/'"libucxx_version .*)"'/'"libucxx_version ${NEXT_FULL_TAG})"'/g' c
sed_runner 's/'"ucxx_version .*)"'/'"ucxx_version ${NEXT_FULL_TAG})"'/g' python/CMakeLists.txt
sed_runner "s/^__version__ = .*/__version__ = \"${NEXT_FULL_TAG}\"/g" python/ucxx/__init__.py
sed_runner "s/^version = .*/version = \"${NEXT_FULL_TAG}\"/g" python/pyproject.toml
sed_runner "s/^__version__ = .*/__version__ = \"${NEXT_FULL_TAG}\"/g" python/distributed-ucxx/distributed_ucxx/__init__.py
sed_runner "s/^version = .*/version = \"${NEXT_FULL_TAG}\"/g" python/distributed-ucxx/pyproject.toml


# bump RAPIDS libs
Expand Down
6 changes: 3 additions & 3 deletions conda/recipes/ucxx/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -267,9 +267,9 @@ outputs:
- tomli
run:
- python * *_cpython
- dask
- distributed
- {{ pin_subpackage('ucxx', exact=True) }}
- dask >=2023.9.2
- distributed >=2023.9.2
- {{ pin_subpackage('ucxx', max_pin='x.x') }}
test:
imports:
- distributed_ucxx
Expand Down
3 changes: 3 additions & 0 deletions python/distributed-ucxx/distributed_ucxx/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
from .ucxx import UCXXBackend, UCXXConnector, UCXXListener # noqa: F401
from . import distributed_patches # noqa: F401


__version__ = "0.35.00"
Loading

0 comments on commit 457c461

Please sign in to comment.