Closed daniviga closed 6 years ago
As you indicate, the migration of the gmpe-smtk to Python 3 is underway. Most of the code is working but I have some tests failing for unrelated issues. I'm [hopefully] on schedule to have this migrated in time for oq-engine 3.0.
As far as I recall, the catalogue_toolkit has no OpenQuake dependencies (but I'll check). Migration to Python 3 could take a while because of strings/bytes incompatibilities so I would favour maintaining a venv on the VMs with Python 2 (incl. numpy, scipy, matplotlib, basemap [which will be deprecated soon anyway], pandas)
Most of the notebooks are out of date anyway, so I'm not sure they should be maintained. Are they still used in trainings? I use different ones now for teaching.
The rmtk needs to be migrated to Python 3 and this may not happen anytime soon.
@daniviga, the rmtk does not depend on the engine, so the proposed Python2 venv option should work for now.
@g-weatherill have you tried working with JupyterLab yet? Seems quite promising!
Thanks @raoanirudh I'll take a look at JupyterLab.
Just checked and the catalogue_toolkit has no OQ dependencies - so it can be run in a Python 2 venv without OQ.
Thanks @g-weatherill @raoanirudh, good news, I've updated the description
Engine 3.0 released, closing.
The main python for the next release of the OpenQuake VM will be Python 3.
This breaks compatibility with some toolkits:
We have to:
[1] plan B will be installing a copy of an old engine to be used as library
Part of: https://github.com/gem/oq-engine/issues/2803 cc @mmpagani @klunk386 @raoanirudh