Skip to content
Merged
Show file tree
Hide file tree
Changes from 16 commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
f22ed65
Update to recent Python versions
jacobtomlinson Oct 15, 2025
0fe49e9
Bump docs Python version too
jacobtomlinson Oct 15, 2025
cd1fc78
Explicitly install setuptools
jacobtomlinson Oct 15, 2025
838b7e7
Switch to open channels only
jacobtomlinson Oct 15, 2025
d25b142
Remove pytest-icdiff plugin as it doesn't support recent Python versions
jacobtomlinson Oct 15, 2025
6edb128
Migrate to pyproject.toml
jacobtomlinson Feb 23, 2026
30508e1
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Feb 24, 2026
b48d253
Ensure version is built into distributions
jacobtomlinson Feb 24, 2026
f6f9954
Merge branch 'modern-python' of github.com:jacobtomlinson/dask-mpi in…
jacobtomlinson Feb 24, 2026
805af05
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Feb 24, 2026
a7cf160
Upgrade GitHub Actions workflows
jacobtomlinson Feb 24, 2026
7899919
Merge branch 'modern-python' of github.com:jacobtomlinson/dask-mpi in…
jacobtomlinson Feb 24, 2026
fda9484
Bump release CI too
jacobtomlinson Feb 24, 2026
c198dab
Small test fixes for recent Python versions
jacobtomlinson Feb 24, 2026
0b37e21
Avoid task being lost
jacobtomlinson Feb 24, 2026
f26c449
Remove uv.lock given that uv was only used for development
jacobtomlinson Feb 24, 2026
8e6bfc5
Add timeout
jacobtomlinson Feb 24, 2026
5ea5823
Fix OpenMPI 5.x CI hang: update oversubscribe and binding env vars
jacobtomlinson Feb 27, 2026
bfdc343
Merge branch 'main' into modern-python
jacobtomlinson Mar 4, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,23 @@ jobs:

steps:
- name: Checkout source
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Set up Python 3.10
- name: Set up Python 3.13
uses: actions/setup-python@v5
with:
python-version: "3.10"
python-version: "3.13"

- name: Install pypa/build
run: python -m pip install build wheel pyyaml
run: python -m pip install build

- name: Build distributions
shell: bash -l {0}
run: python setup.py sdist bdist_wheel
run: python -m build

- name: Publish package to PyPI
if: github.repository == 'dask/dask-mpi' && github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
9 changes: 4 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python: ['3.7', '3.8']
python: ['3.10', '3.11', '3.12', '3.13']
mpi: ['mpich', 'openmpi']
env:
PYTHON: ${{ matrix.python }}
Expand All @@ -29,7 +29,7 @@ jobs:
OMPI_ALLOW_RUN_AS_ROOT: '1'
OMPI_ALLOW_RUN_AS_ROOT_CONFIRM: '1'
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Cache conda
uses: actions/cache@v4
env:
Expand All @@ -39,13 +39,12 @@ jobs:
path: ~/conda_pkgs_dir
key: ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{ hashFiles( env.ENV_FILE ) }}
- name: Setup miniconda
uses: conda-incubator/setup-miniconda@v2
uses: conda-incubator/setup-miniconda@v3
with:
activate-environment: dask-mpi-dev # Defined in ci/env-mpi.yml
auto-update-conda: false
python-version: ${{ matrix.python }}
environment-file: ${{ env.ENV_FILE }}
use-only-tar-bz2: true # IMPORTANT: This needs to be set for caching to work properly!
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not needed as of conda-incubator/setup-miniconda@v3

- name: Install package
run: python -m pip install --no-deps -e .
- name: Check Installation
Expand All @@ -55,7 +54,7 @@ jobs:
- name: Run Tests
run: pytest --junitxml=test-reports/junit.xml --cov=./ dask_mpi/tests/ --verbose
- name: Upload code coverage to Codecov
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v5
with:
file: ./coverage.xml
flags: unittests
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -124,3 +124,4 @@ purge.lock
.devcontainer/

test-reports/
_version.py
3 changes: 0 additions & 3 deletions .isort.cfg

This file was deleted.

2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
exclude: 'docs/source/conf.py|versioneer.py'
exclude: 'docs/source/conf.py'

repos:
- repo: https://github.com/psf/black-pre-commit-mirror
Expand Down
8 changes: 0 additions & 8 deletions MANIFEST.in

This file was deleted.

3 changes: 1 addition & 2 deletions ci/env-mpich.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
name: dask-mpi-dev
channels:
- conda-forge
- defaults
- nodefaults
dependencies:
- dask>=2.19
- distributed>=2.19
- mpich
- mpi4py>=3.0.3
- pytest
- pytest-icdiff
- pytest-cov
- coverage
- requests
Expand Down
3 changes: 1 addition & 2 deletions ci/env-openmpi.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
name: dask-mpi-dev
channels:
- conda-forge
- defaults
- nodefaults
dependencies:
- dask>=2.19
- distributed>=2.19
- openmpi
- mpi4py>=3.0.3
- pytest
- pytest-icdiff
- pytest-cov
- coverage
- requests
Expand Down
4 changes: 1 addition & 3 deletions dask_mpi/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
from ._version import get_versions
from ._version import __version__
from .exceptions import WorldTooSmallException # noqa
from .execute import execute, send_close_signal # noqa
from .initialize import initialize # noqa

__version__ = _version.get_versions()["version"]
Loading
Loading