equinor / flownet

FlowNet - Data-Driven Reservoir Predictions
GNU General Public License v3.0
63 stars 29 forks source link

Add Python 3.9 Support #355

Closed wouterjdb closed 3 years ago

wouterjdb commented 3 years ago

This PR tests the usage of Python 3.9


Contributor checklist

wouterjdb commented 3 years ago
ERROR: Could not find a version that satisfies the requirement ecl>=2.9 (from flownet)
ERROR: No matching distribution found for ecl>=2.9
Error: Process completed with exit code 1.
wouterjdb commented 3 years ago

ecl 2.10.1 now exists with py39 support

wouterjdb commented 3 years ago

equinor-libres doesn't have Python 3.9 support yet.

wouterjdb commented 3 years ago

https://pypi.org/project/equinor-libres/9.0.1/ now supports Python 3.9.

wouterjdb commented 3 years ago

pyvista, or actually its dependecy vtk is not yet supported on Python 3.9.

wouterjdb commented 3 years ago

Pyvista should now support Python3.9: https://github.com/pyvista/pyvista/releases/tag/0.31.3

wouterjdb commented 3 years ago

The new pip dependency resolver results in very slow installation performance. A quick solution for this could be to use the legacy dependency resolver, like so: --use-deprecated=legacy-resolver

wouterjdb commented 3 years ago

XTgeo doesn't support 3.9 yet - but the pre-releases do.... Shouldn't take too long: https://github.com/equinor/xtgeo/releases