https://github.com/GPflow/GPflow
Revision bebbc2bd000c5894c364445b7b94a6dfa5afb3ea authored by st-- on 18 June 2021, 13:45:40 UTC, committed by GitHub on 18 June 2021, 13:45:40 UTC
* fix import to remove erroneous deprecation warning

* also fix deprecation warnings for conditional

* update RELEASE.md
1 parent 4054c53
Raw File
Tip revision: bebbc2bd000c5894c364445b7b94a6dfa5afb3ea authored by st-- on 18 June 2021, 13:45:40 UTC
fixes to remove erroneous deprecation warnings (#1693)
Tip revision: bebbc2b
versions.py
import pkg_resources

try:
    __version__ = str(pkg_resources.get_distribution("gpflow").parsed_version)
except pkg_resources.DistributionNotFound:
    __version__ = "develop"
back to top