Skip to content

Commit

Permalink
cloudpickle?
Browse files Browse the repository at this point in the history
  • Loading branch information
francoislaurent committed Mar 30, 2021
1 parent e4aacd2 commit 37d3b23
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pytest dill
python -m pip install pytest dill cloudpickle
python -m pip install .[roi]
- name: Test with pytest (Windows)
if: ${{ runner.os == 'Windows' }}
Expand Down
4 changes: 4 additions & 0 deletions tramway/core/parallel/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
import dill
except ImportError:
pass
try:
import cloudpickle
except ImportError:
pass
import multiprocessing
try:
import queue
Expand Down
4 changes: 4 additions & 0 deletions tramway/inference/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@
import dill
except ImportError:
pass
try:
import cloudpickle
except ImportError:
pass
from multiprocessing import Pool, Lock

import os # for os.name
Expand Down

0 comments on commit 37d3b23

Please sign in to comment.