Open GrahamDumpleton opened 6 years ago
It may be worthwhile adding a runtime.txt
file to the repo which includes python-3.5
in it. That way tools (such as BinderHub) which automatically build the repo into a container image and which already use that file will keep using Python 3.5 if they decide to start supporting both Python 3.5 and 3.6.
cc @yuvipanda
I think appropriate long term answer here is to wait for fix in scikit-image rather than pin to python 3.5 :) We won't bump default to python 3.6 until we know a lot of packages have things fixed and what not (this repo is actually in our CI systems so we don't break it!). Thank you for letting us know about this however!
The problem in scikit-image
relates to the older 0.12.X branch only. It should not affect the newer 0.13.X branch. So this is only an issue if people using older scikit
. They are unlikely to bring out a fix for older branch unless they have a history of back porting fixes.
We're going to bump default version of Python on Binder soon to 3.6, and that is causing this repo to break. A bump on the scikit-image dependency maybe?
FYI.
The current
requirements.txt
file will fail for Python 3.6 andpip
when used on fresh Python environment.This is because the older version of
scikit-image
has a check to see ifnumpy
is already installed, but it doesn't avoid the check when runningsetup.py
withegg_info
command.Under Python 3.6,
pip
is triggeringegg_info
where as under Python 3.5 it appears it wasn't.Newer
scikit-image
checks foregg_info
and skips the check and so likely doesn't have the problem.In summary, while continue to use older
scikit-image
package, there is a risk therequirements.txt
file will not work with Python 3.6 andpip
.You might want to consider seeing whether code samples work with newer
scikit-image
package and update to newer version of that package to avoid issue. Obviously everything else also needs to be check for Python 3.6 in general as well.