Merge pull request #19084 from gnossen/python2-deprecation-notice

Add python deprecation notices.
reviewable/pr19038/r2
Richard Belleville 6 years ago committed by GitHub
commit 0ebeb40718
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      src/python/grpcio/README.rst
  2. 8
      src/python/grpcio_channelz/README.rst
  3. 4
      src/python/grpcio_channelz/setup.py
  4. 8
      src/python/grpcio_health_checking/README.rst
  5. 4
      src/python/grpcio_health_checking/setup.py
  6. 8
      src/python/grpcio_reflection/README.rst
  7. 4
      src/python/grpcio_reflection/setup.py
  8. 8
      src/python/grpcio_status/README.rst
  9. 4
      src/python/grpcio_status/setup.py
  10. 8
      src/python/grpcio_testing/README.rst
  11. 4
      src/python/grpcio_testing/setup.py
  12. 8
      tools/distrib/python/grpcio_tools/README.rst
  13. 4
      tools/distrib/python/grpcio_tools/setup.py

@ -3,6 +3,14 @@ gRPC Python
Package for gRPC Python.
Supported Python Versions
-------------------------
Python >= 3.5
Deprecated Python Versions
--------------------------
Python == 2.7. Python 2.7 support will be removed on January 1, 2020.
Installation
------------

@ -3,6 +3,14 @@ gRPC Python Channelz package
Channelz is a live debug tool in gRPC Python.
Supported Python Versions
-------------------------
Python >= 3.5
Deprecated Python Versions
--------------------------
Python == 2.7. Python 2.7 support will be removed on January 1, 2020.
Dependencies
------------

@ -18,6 +18,9 @@ import sys
import setuptools
_PACKAGE_PATH = os.path.realpath(os.path.dirname(__file__))
_README_PATH = os.path.join(_PACKAGE_PATH, 'README.rst')
# Ensure we're in the proper directory whether or not we're being used by pip.
os.chdir(os.path.dirname(os.path.abspath(__file__)))
@ -85,6 +88,7 @@ setuptools.setup(
version=grpc_version.VERSION,
license='Apache License 2.0',
description='Channel Level Live Debug Information Service for gRPC',
long_description=open(_README_PATH, 'r').read(),
author='The gRPC Authors',
author_email='grpc-io@googlegroups.com',
classifiers=CLASSIFIERS,

@ -3,6 +3,14 @@ gRPC Python Health Checking
Reference package for GRPC Python health checking.
Supported Python Versions
-------------------------
Python >= 3.5
Deprecated Python Versions
--------------------------
Python == 2.7. Python 2.7 support will be removed on January 1, 2020.
Dependencies
------------

@ -17,6 +17,9 @@ import os
import setuptools
_PACKAGE_PATH = os.path.realpath(os.path.dirname(__file__))
_README_PATH = os.path.join(_PACKAGE_PATH, 'README.rst')
# Ensure we're in the proper directory whether or not we're being used by pip.
os.chdir(os.path.dirname(os.path.abspath(__file__)))
@ -83,6 +86,7 @@ setuptools.setup(
name='grpcio-health-checking',
version=grpc_version.VERSION,
description='Standard Health Checking Service for gRPC',
long_description=open(_README_PATH, 'r').read(),
author='The gRPC Authors',
author_email='grpc-io@googlegroups.com',
url='https://grpc.io',

@ -3,6 +3,14 @@ gRPC Python Reflection package
Reference package for reflection in GRPC Python.
Supported Python Versions
-------------------------
Python >= 3.5
Deprecated Python Versions
--------------------------
Python == 2.7. Python 2.7 support will be removed on January 1, 2020.
Dependencies
------------

@ -18,6 +18,9 @@ import sys
import setuptools
_PACKAGE_PATH = os.path.realpath(os.path.dirname(__file__))
_README_PATH = os.path.join(_PACKAGE_PATH, 'README.rst')
# Ensure we're in the proper directory whether or not we're being used by pip.
os.chdir(os.path.dirname(os.path.abspath(__file__)))
@ -85,6 +88,7 @@ setuptools.setup(
version=grpc_version.VERSION,
license='Apache License 2.0',
description='Standard Protobuf Reflection Service for gRPC',
long_description=open(_README_PATH, 'r').read(),
author='The gRPC Authors',
author_email='grpc-io@googlegroups.com',
classifiers=CLASSIFIERS,

@ -3,6 +3,14 @@ gRPC Python Status Proto
Reference package for GRPC Python status proto mapping.
Supported Python Versions
-------------------------
Python >= 3.5
Deprecated Python Versions
--------------------------
Python == 2.7. Python 2.7 support will be removed on January 1, 2020.
Dependencies
------------

@ -17,6 +17,9 @@ import os
import setuptools
_PACKAGE_PATH = os.path.realpath(os.path.dirname(__file__))
_README_PATH = os.path.join(_PACKAGE_PATH, 'README.rst')
# Ensure we're in the proper directory whether or not we're being used by pip.
os.chdir(os.path.dirname(os.path.abspath(__file__)))
@ -82,6 +85,7 @@ setuptools.setup(
name='grpcio-status',
version=grpc_version.VERSION,
description='Status proto mapping for gRPC',
long_description=open(_README_PATH, 'r').read(),
author='The gRPC Authors',
author_email='grpc-io@googlegroups.com',
url='https://grpc.io',

@ -3,6 +3,14 @@ gRPC Python Testing Package
Testing utilities for gRPC Python
Supported Python Versions
-------------------------
Python >= 3.5
Deprecated Python Versions
--------------------------
Python == 2.7. Python 2.7 support will be removed on January 1, 2020.
Dependencies
------------

@ -18,6 +18,9 @@ import sys
import setuptools
_PACKAGE_PATH = os.path.realpath(os.path.dirname(__file__))
_README_PATH = os.path.join(_PACKAGE_PATH, 'README.rst')
# Ensure we're in the proper directory whether or not we're being used by pip.
os.chdir(os.path.dirname(os.path.abspath(__file__)))
@ -68,6 +71,7 @@ setuptools.setup(
version=grpc_version.VERSION,
license='Apache License 2.0',
description='Testing utilities for gRPC Python',
long_description=open(_README_PATH, 'r').read(),
author='The gRPC Authors',
author_email='grpc-io@googlegroups.com',
url='https://grpc.io',

@ -3,6 +3,14 @@ gRPC Python Tools
Package for gRPC Python tools.
Supported Python Versions
-------------------------
Python >= 3.5
Deprecated Python Versions
--------------------------
Python == 2.7. Python 2.7 support will be removed on January 1, 2020.
Installation
------------

@ -31,6 +31,9 @@ from setuptools.command import build_ext
# TODO(atash) add flag to disable Cython use
_PACKAGE_PATH = os.path.realpath(os.path.dirname(__file__))
_README_PATH = os.path.join(_PACKAGE_PATH, 'README.rst')
os.chdir(os.path.dirname(os.path.abspath(__file__)))
sys.path.insert(0, os.path.abspath('.'))
@ -191,6 +194,7 @@ setuptools.setup(
name='grpcio-tools',
version=grpc_version.VERSION,
description='Protobuf code generator for gRPC',
long_description=open(_README_PATH, 'r').read(),
author='The gRPC Authors',
author_email='grpc-io@googlegroups.com',
url='https://grpc.io',

Loading…
Cancel
Save