makes scipy an explicit dependencies of the PyPI package since it's used directly inside GFlowNets and it removes tensorflow from that list since it's not used directly anywhere. This removal by itself already solved #146
I took the opportunity to migrate from pkg_resources to importlib, since in #146 pkg_resources was complaining. This was done also because use of pkg_resources is discouraged in favor of importlib. Note that we install importlib_metadata and importlib_resources from PyPI which are backports of the standardlibrary packages (importlib.*) which are only available for Python 3.8+. I did this to support python 3.7 and 3.8+ without conditional imports
Closes #146
This PR:
scipy
an explicit dependencies of the PyPI package since it's used directly inside GFlowNets and it removestensorflow
from that list since it's not used directly anywhere. This removal by itself already solved #146pkg_resources
to importlib, since in #146pkg_resources
was complaining. This was done also because use ofpkg_resources
is discouraged in favor ofimportlib
. Note that we installimportlib_metadata
andimportlib_resources
from PyPI which are backports of the standardlibrary packages (importlib.*
) which are only available for Python 3.8+. I did this to support python 3.7 and 3.8+ without conditional imports