Skip to content

Commit

Permalink
Remove alpha tests
Browse files Browse the repository at this point in the history
Warnings will be emitted when trying to import through alpha packages.
  • Loading branch information
soltanmm committed Oct 26, 2015
1 parent dae3dad commit d292131
Show file tree
Hide file tree
Showing 23 changed files with 22 additions and 2,679 deletions.
5 changes: 5 additions & 0 deletions src/python/grpcio/grpc/early_adopter/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,9 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

import warnings

warnings.simplefilter('always', DeprecationWarning)
warnings.warn('the alpha API (includes this package) is deprecated, '
'unmaintained, and no longer tested. Please migrate to the beta '
'API.', DeprecationWarning, stacklevel=2)
7 changes: 7 additions & 0 deletions src/python/grpcio/grpc/framework/alpha/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,10 @@
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

import warnings

warnings.simplefilter('always', DeprecationWarning)
warnings.warn('the alpha API (includes this package) is deprecated, '
'unmaintained, and no longer tested. Please migrate to the beta '
'API.', DeprecationWarning, stacklevel=2)
5 changes: 5 additions & 0 deletions src/python/grpcio/grpc/framework/base/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,9 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

import warnings

warnings.simplefilter('always', DeprecationWarning)
warnings.warn('the alpha API (includes this package) is deprecated, '
'unmaintained, and no longer tested. Please migrate to the beta '
'API.', DeprecationWarning, stacklevel=2)
5 changes: 5 additions & 0 deletions src/python/grpcio/grpc/framework/face/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,9 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

import warnings

warnings.simplefilter('always', DeprecationWarning)
warnings.warn('the alpha API (includes this package) is deprecated, '
'unmaintained, and no longer tested. Please migrate to the beta '
'API.', DeprecationWarning, stacklevel=2)
Loading

0 comments on commit d292131

Please sign in to comment.