GeoscienceAustralia / uncover-ml

Machine Learning system for Geoscience Australia uncover project
Apache License 2.0
30 stars 20 forks source link

Pin eli5 dependency versions #161

Open rooby opened 1 year ago

rooby commented 1 year ago

The required eli5 packages has the un-versioned dependencies jinja2 and markupsafe, so when you install UncoverML now you get newer versions, which breaks with this error message:

AttributeError: module 'jinja2.ext' has no attribute 'with_'

or this error message:

ImportError: cannot import name 'softunicode' from 'markupsafe' (myenv/lib/python3.7/site-packages/markupsafe/__init_\.py)

This issue has yet to be fixed on the eli5 end, so we will need to pin the version here for now, e.g.

jinja2<3
markupsafe<2