diff --git a/src/pact/v3/__init__.py b/src/pact/v3/__init__.py index 137cba447..20701bd7f 100644 --- a/src/pact/v3/__init__.py +++ b/src/pact/v3/__init__.py @@ -20,8 +20,17 @@ considered deprecated, and will be removed in a future release. """ +import warnings + from pact.v3.pact import Pact __all__ = [ "Pact", ] + +warnings.warn( + "The `pact.v3` module is not yet stable. Use at your own risk, and expect " + "breaking changes in future releases.", + stacklevel=2, + category=ImportWarning, +)