Skip to content

Commit 04d1b13

Browse files
committed
Update version string and add warning on import.
1 parent 48f4122 commit 04d1b13

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

pymc3/__init__.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2020 The PyMC Developers
1+
# Copyright 2021 The PyMC Developers
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515
# pylint: disable=wildcard-import
16-
__version__ = "3.11.1"
16+
__version__ = "4.0"
1717

1818
import logging
1919
import multiprocessing as mp
@@ -27,6 +27,10 @@
2727
handler = logging.StreamHandler()
2828
_log.addHandler(handler)
2929

30+
_log.info(
31+
"You are running the v4 development version of PyMC3 which currently still lacks key features. You probably want to use the stable v3 instead which you can either install via conda or find on the v3 GitHub branch: https://github.com/pymc-devs/pymc3/tree/v3"
32+
)
33+
3034

3135
def __set_compiler_flags():
3236
# Workarounds for Aesara compiler problems on various platforms

0 commit comments

Comments
 (0)