dandi / redirector

Apache License 2.0
0 stars 2 forks source link

remove 3.6, add 3.9 #43

Closed satra closed 3 years ago

satra commented 3 years ago

looks like 3.9 install is not clean for dandi. (@jwodder , @yarikoptic). this might show up in several places since many people install py39 now as default.

jwodder commented 3 years ago

@satra Yeah, you need to install libhdf5-dev and numpy<1.19.4 first before installing dandi on 3.9 (cf. dandi-cli's test workflow).

satra commented 3 years ago

shouldn't that be in the setup.cfg?

jwodder commented 3 years ago

@satra It can't. Installing libhdf5 is outside the scope of setuptools, and installing numpy needs to be done before installing h5py. There is no clean way to do that with the Python packaging system. Note that this should cease to be a problem once hdmf updates to support h5py 3.0, whenever that is.

satra commented 3 years ago

in that case perhaps we should limit dandi cli to be < 3.9. as this is going to be an issue for many users since pynwb is not just a test dependency.

jwodder commented 3 years ago

@satra I'd prefer it if we instead just documented the necessary steps for installing under Python 3.9 rather than blocking off installation completely.

satra commented 3 years ago

many of our users would not know how to do this. we were troubleshooting various installation steps yesterday, so i would like to provide the simplest path out. libhdf-dev is not an easy install for people. we could document that if using python 3.9 please install using conda, but even the conda install doesn't support 3.9 at the moment. so i would prefer restricting it at this point.