hdf-compass icon indicating copy to clipboard operation
hdf-compass copied to clipboard

Python 3 branch

Open giumas opened this issue 7 years ago • 11 comments

Just pushed a py3 branch. It has several changes to run HDF Compass in Python 3.6.

It uses the latest wx Phoenix snapshot: https://wxpython.org/Phoenix/snapshot-builds/

I have tested the branch only on Windows mainly for HDF and BAG files. The OpenDAP plugin does not work since pydap introduced backward incompatibilities (https://github.com/HDFGroup/hdf-compass/issues/60).

On Windows, the frozen app works using the latest PyInstaller develop branch (that supports Python 3.6) with the following two tweaks:

  • https://github.com/pyinstaller/pyinstaller/issues/2540
  • https://github.com/pyinstaller/pyinstaller/issues/2215

giumas avatar Apr 02 '17 18:04 giumas

I see Travis is passing now. Nice!

jreadey avatar Apr 04 '17 03:04 jreadey

@ghisvail this is the ticket about Python 3 support. Because of this, I proposed to close https://github.com/HDFGroup/hdf-compass/issues/184

giumas avatar Apr 04 '17 13:04 giumas

Everything but the broken pydap is in place now.

ax3l avatar Feb 16 '18 00:02 ax3l

@giumas how is the py3 branch coming? Are we still lacking anything?

ax3l avatar May 15 '18 16:05 ax3l

@giumas how is the py3 branch going? I would really like to see this :)

ax3l avatar Nov 02 '18 14:11 ax3l

@giumas @jreadey Hi! How is the status of the python3 support for mainline? Since Python 2.7 is definitely dead now, I would love to see this going into a release again :)

ax3l avatar Jun 11 '19 12:06 ax3l

Hello all, are there any updates on this issue? Now it's more pressing that one year ago :)

gfadini avatar Jul 22 '20 15:07 gfadini

If the branch is not maintained anymore, I'd like to know if you know some alternatives to this tool. The fact that I have to choose a tool to visualize the hdf and this project doesn't seem to still comply to python3, makes me really wonder if it would be a good choice on the long run. I'd avoid to switch, because I found that hdf-compass was doing a pretty good job while keeping the interface simple. I tried panoply too, but I think it has more features than what I need, so that is not the ideal substitute.

gfadini avatar Jul 23 '20 05:07 gfadini

@gfadini It is a while that I am using the py3 branch on the Pydro's Python 3 environment (Windows) without problems. But I am not the maintainer.. thus, for general advice on the future of this tool you should ask @jreadey

giumas avatar Jul 23 '20 19:07 giumas

Hi @giumas, thanks for the answer. I tried the py3 branch on arch but I still had some problems with it. Honestly I didn't put much effort in trying to make it work because I needed a quick solution

gfadini avatar Jul 24 '20 07:07 gfadini

Can't we just drop the plugins that do not run in Python3? If someone uses OpenDAP/pydap or whatever is not yet ported after years of waiting, then we could let them just use an older release of HDFcompass. @jreadey

ax3l avatar Aug 31 '20 05:08 ax3l