diff --git a/quapy/__init__.py b/quapy/__init__.py index 182c39a..3cf5fc3 100644 --- a/quapy/__init__.py +++ b/quapy/__init__.py @@ -17,7 +17,7 @@ try: except ImportError: plot = None -__version__ = '0.2.1' +__version__ = '0.2.1.post1' def _default_cls(): diff --git a/quapy/method/_bayesian.py b/quapy/method/_bayesian.py index d5d582f..04206e6 100644 --- a/quapy/method/_bayesian.py +++ b/quapy/method/_bayesian.py @@ -46,7 +46,10 @@ try: DEPENDENCIES_INSTALLED = True except ImportError as e: - logging.getLogger(__name__).warning(f'Bayesian dependencies failed to import: {e!r}') + # not installing the bayes extra is the common case (jax/numpyro/pystan are optional); this is + # only surfaced at debug level so it doesn't nag plain installs, but is still there to diagnose + # a broken/partial bayes install (e.g. pip install quapy[bayes] with a mismatched dependency). + logging.getLogger(__name__).debug(f'Bayesian dependencies failed to import: {e!r}') jax = None jnp = None jrandom = None