Skip to content

Make dask[distributed] optional via covalent[dask], fix various unit and functional tests#2016

Merged
araghukas merged 25 commits into
developfrom
ara/make-dask-optional-AND-fix-tests
Apr 20, 2026
Merged

Make dask[distributed] optional via covalent[dask], fix various unit and functional tests#2016
araghukas merged 25 commits into
developfrom
ara/make-dask-optional-AND-fix-tests

Conversation

@araghukas
Copy link
Copy Markdown
Contributor

@araghukas araghukas commented Apr 14, 2026

Require pip install covalent[dask] to install dask[distriburted] dependency for covalent, do not install dask[distributed] otherwise, with fallback to "local" executor.

Changes summary

Main point

  • Make dask[distributed] and optional dependency via covalent[dask] extra
  • Default executor changed from dask to local in defaults.py

Necessary fixes

  • Dropped Python 3.10 support, added Python 3.13; updated test_matrix.json and CI workflows accordingly
  • Fixed extract_graph to handle both "edges" (networkx ≥3.x) and "links" (older networkx) as the edge key; added lower bound on networkx version (would need this in many more places for Python 3.10 support)
  • Fixed various 422 errors by setting additional Content-Type: application/json headers as necessary
  • Moved locust out of tests/requirements.txt into the benchmark workflow only, to avoid a gevent conflict
  • Various test fixes: renamed statusjob_status, corrected mock paths, updated graph key references

  • I have added the tests to cover my changes.
  • I have updated the documentation and CHANGELOG accordingly.
  • I have read the CONTRIBUTING document.

@araghukas
Copy link
Copy Markdown
Contributor Author

araghukas commented Apr 14, 2026

Closing the other (duplicate) PR proved unnecessary. Instead I have removed Debian 12 / Python 3.10 / Dask and added Debian 12 / Python 3.13 / Dask in:

Settings > Branches > develop > required status checks

@araghukas araghukas requested a review from wjcunningham7 April 16, 2026 03:45
@araghukas araghukas merged commit e7871d3 into develop Apr 20, 2026
21 of 22 checks passed
@araghukas araghukas deleted the ara/make-dask-optional-AND-fix-tests branch April 20, 2026 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants