Graphegon / pygraphblas

GraphBLAS for Python
https://graphegon.github.io/pygraphblas/pygraphblas/index.html
Apache License 2.0
343 stars 27 forks source link

Fix: remove numpy<1.21 dep; Dev: add Makefile, coverage, nodemon #106

Open bionicles opened 10 months ago

bionicles commented 10 months ago
  1. The numpy pin caused pip install to fail
  2. Makefile will just run tests in parallel and collect coverage
  3. make debug will run nodemon to watch for changes and rerun tests automatically (test runner) npm install --global nodemon (can add this to Makefile)
  4. nodemon.json configures the nodemon test runner to watch and ignore various things, and tells it to rerun the make debug-command

if you alias md="make debug" then you can start development test runner watching for changes in 2 letters on your dev rig.

NOTE: this doesn't fix the issue with suitesparse_graphblas having breaking changes. Still need a maintainer to debug. However, making the tests re-run automatically is a good step to make that easier to execute.

It would be fine to add more make commands.

install-nodemon:
    sudo npm install --global nodemon

For windows, try scoop install make