MedCAT icon indicating copy to clipboard operation
MedCAT copied to clipboard

CU-2uhvm87 Pin dill version to less than 0.3.5 to satisfy datasets requirement

Open mart-r opened this issue 2 years ago • 0 comments

The docs builds have been failing due to the incompatible version of dill that gets installed (incompatible with datasets).

I've gone ahead and pinned dill to a version less than 0.3.5 (the requirement from datasets) so that 0.3.4 gets installed.

This should fix the issue for the docs.

What I tried to make sure this fixes the issue:

  • Run the below on python 3.9.14
    • Though readthedocs runs 3.9.13, it should be close enough
  • Install dill==0.3.5.1 (as is installed on readthedocs)
    • Run python ./setup.py install --force (as is done on readthedocs)
    • Experience an error due to the mismatch (similarly to readthedocs)
  • Install dill==0.3.4
    • Run python ./setup.py install --force
    • Experience no errors

mart-r avatar Sep 14 '22 15:09 mart-r