From 92d821c37af0f532b044dd4ee0513ed66049f766 Mon Sep 17 00:00:00 2001 From: antisch Date: Fri, 10 Sep 2021 19:48:59 -0700 Subject: [PATCH 1/4] Deprecation message --- ChangeLog.md | 4 ++++ README.rst | 17 ++++++++--------- azure-cosmosdb-table/README.rst | 13 +++++++------ azure-cosmosdb-table/samples/README.rst | 10 ++++++++++ azure-cosmosdb-table/setup.py | 2 +- 5 files changed, 30 insertions(+), 16 deletions(-) create mode 100644 azure-cosmosdb-table/samples/README.rst diff --git a/ChangeLog.md b/ChangeLog.md index 5ac0381..43ad493 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,6 +1,10 @@ # Change Log > See [BreakingChanges](BreakingChanges.md) for a detailed list of API breaks. + +## Version 1.0.7 +- Updated readme with deprecation message + ## Version 1.0.6 - Removed dependency on azure-storage-python diff --git a/README.rst b/README.rst index 7fc9ed9..fcb3a28 100644 --- a/README.rst +++ b/README.rst @@ -1,12 +1,11 @@ -Microsoft Azure CosmosDB SDK for Python -======================================= +Microsoft Azure CosmosDB Tables SDK for Python +============================================== -This project provides a client library in Python that makes it easy to -consume Microsoft Azure CosmosDB services. For documentation please see -the Microsoft Azure `Python Developer Center`_ +Please note, a newer package is available `azure-data-tables`_ as of June 2021. +We strongly encourage you to upgrade. See `Migration Guide`_ for more details. - If you are looking for the Service Bus or Azure Management - libraries, please visit - https://github.com/Azure/azure-sdk-for-python. +This project provides a client library in Python that makes it easy to +consume Microsoft Azure CosmosDB Table services. -.. _Python Developer Center: http://azure.microsoft.com/en-us/develop/python/ \ No newline at end of file +.. _azure-data-tables: https://pypi.org/project/azure-data-tables/ +.. _Migration Guide: https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/tables/azure-data-tables/migration_guide.md diff --git a/azure-cosmosdb-table/README.rst b/azure-cosmosdb-table/README.rst index a50dc12..80df838 100644 --- a/azure-cosmosdb-table/README.rst +++ b/azure-cosmosdb-table/README.rst @@ -1,13 +1,13 @@ Microsoft Azure CosmosDB Table SDK for Python ============================================= +Please note, a newer package is available `azure-data-tables`_ as of June 2021. +We strongly encourage you to upgrade. See `Migration Guide`_ for more details. + This project provides a client library in Python that makes it easy to -consume Microsoft Azure CosmosDB Table services. For documentation please see -the Microsoft Azure `Python Developer Center`_ and our `API Reference`_ Page. +consume Microsoft Azure CosmosDB Table services. - If you are looking for the Service Bus or Azure Management - libraries, please visit - https://github.com/Azure/azure-sdk-for-python. +Please note, this library supports service version 2017-04-17 and below. Compatibility @@ -119,8 +119,9 @@ Learn More - `Azure Storage Team Blog`_ - `API Reference`_ +.. _azure-data-tables: https://pypi.org/project/azure-data-tables/ +.. _Migration Guide: https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/tables/azure-data-tables/migration_guide.md .. _Python Developer Center: http://azure.microsoft.com/en-us/develop/python/ -.. _API Reference: https://azure.github.io/azure-cosmosdb-python/ .. _create an account: https://account.windowsazure.com/signup .. _Developer Forums on MSDN: http://social.msdn.microsoft.com/Forums/windowsazure/en-US/home?forum=windowsazuredata .. _Developer Forums on Stack Overflow: http://stackoverflow.com/questions/tagged/azure+windows-azure-storage diff --git a/azure-cosmosdb-table/samples/README.rst b/azure-cosmosdb-table/samples/README.rst new file mode 100644 index 0000000..126b44e --- /dev/null +++ b/azure-cosmosdb-table/samples/README.rst @@ -0,0 +1,10 @@ +Azure CosmosDB Table SDK Samples +================================ + +Samples in this repository use older `azure-cosmosdb-table`_ package. +We recommend that you get started using the new package here instead: `azure-data-tables`_. +Samples using the new package can be found here: `azure-sdk-for-python/sdk/tables/azure-data-tables/samples`_ + +.. _azure-cosmosdb-table: https://pypi.org/project/azure-cosmosdb-table/ +.. _azure-data-tables: https://pypi.org/project/azure-data-tables/ +.. _azure-sdk-for-python/sdk/tables/azure-data-tables/samples: https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/tables/azure-data-tables/samples \ No newline at end of file diff --git a/azure-cosmosdb-table/setup.py b/azure-cosmosdb-table/setup.py index d896737..2fbb771 100644 --- a/azure-cosmosdb-table/setup.py +++ b/azure-cosmosdb-table/setup.py @@ -45,7 +45,7 @@ setup( name='azure-cosmosdb-table', - version='1.0.6', + version='1.0.7', description='Microsoft Azure CosmosDB Table Client Library for Python', long_description=open('README.rst', 'r').read(), license='Apache License 2.0', From 9ac853a5b84ad8d221057add5b0e3081a2dd4e9d Mon Sep 17 00:00:00 2001 From: antisch Date: Fri, 10 Sep 2021 19:54:27 -0700 Subject: [PATCH 2/4] Formatting --- README.rst | 5 +++-- azure-cosmosdb-table/README.rst | 6 +++--- azure-cosmosdb-table/samples/README.rst | 2 ++ 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/README.rst b/README.rst index fcb3a28..68dde28 100644 --- a/README.rst +++ b/README.rst @@ -1,8 +1,9 @@ Microsoft Azure CosmosDB Tables SDK for Python ============================================== -Please note, a newer package is available `azure-data-tables`_ as of June 2021. -We strongly encourage you to upgrade. See `Migration Guide`_ for more details. +**Please note, a newer package is available `azure-data-tables`_ as of June 2021.** + +**We strongly encourage you to upgrade. See `Migration Guide`_ for more details.** This project provides a client library in Python that makes it easy to consume Microsoft Azure CosmosDB Table services. diff --git a/azure-cosmosdb-table/README.rst b/azure-cosmosdb-table/README.rst index 80df838..7e0718d 100644 --- a/azure-cosmosdb-table/README.rst +++ b/azure-cosmosdb-table/README.rst @@ -1,8 +1,9 @@ Microsoft Azure CosmosDB Table SDK for Python ============================================= -Please note, a newer package is available `azure-data-tables`_ as of June 2021. -We strongly encourage you to upgrade. See `Migration Guide`_ for more details. +**Please note, a newer package is available `azure-data-tables`_ as of June 2021.** + +**We strongly encourage you to upgrade. See `Migration Guide`_ for more details.** This project provides a client library in Python that makes it easy to consume Microsoft Azure CosmosDB Table services. @@ -117,7 +118,6 @@ Learn More - `Python Developer Center`_ - `Azure Storage Service`_ - `Azure Storage Team Blog`_ -- `API Reference`_ .. _azure-data-tables: https://pypi.org/project/azure-data-tables/ .. _Migration Guide: https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/tables/azure-data-tables/migration_guide.md diff --git a/azure-cosmosdb-table/samples/README.rst b/azure-cosmosdb-table/samples/README.rst index 126b44e..f28cb22 100644 --- a/azure-cosmosdb-table/samples/README.rst +++ b/azure-cosmosdb-table/samples/README.rst @@ -2,7 +2,9 @@ Azure CosmosDB Table SDK Samples ================================ Samples in this repository use older `azure-cosmosdb-table`_ package. + We recommend that you get started using the new package here instead: `azure-data-tables`_. + Samples using the new package can be found here: `azure-sdk-for-python/sdk/tables/azure-data-tables/samples`_ .. _azure-cosmosdb-table: https://pypi.org/project/azure-cosmosdb-table/ From 65384b56fff7d2ef8ffd484eb4979e66bd5ff52e Mon Sep 17 00:00:00 2001 From: antisch Date: Fri, 10 Sep 2021 19:57:13 -0700 Subject: [PATCH 3/4] Updated message --- README.rst | 2 +- azure-cosmosdb-table/README.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index 68dde28..82cd773 100644 --- a/README.rst +++ b/README.rst @@ -3,7 +3,7 @@ Microsoft Azure CosmosDB Tables SDK for Python **Please note, a newer package is available `azure-data-tables`_ as of June 2021.** -**We strongly encourage you to upgrade. See `Migration Guide`_ for more details.** +**While this package will continue to receive critical bug fixes, we strongly encourage you to upgrade. See `Migration Guide`_ for more details.** This project provides a client library in Python that makes it easy to consume Microsoft Azure CosmosDB Table services. diff --git a/azure-cosmosdb-table/README.rst b/azure-cosmosdb-table/README.rst index 7e0718d..102b7ca 100644 --- a/azure-cosmosdb-table/README.rst +++ b/azure-cosmosdb-table/README.rst @@ -3,7 +3,7 @@ Microsoft Azure CosmosDB Table SDK for Python **Please note, a newer package is available `azure-data-tables`_ as of June 2021.** -**We strongly encourage you to upgrade. See `Migration Guide`_ for more details.** +**While this package will continue to receive critical bug fixes, we strongly encourage you to upgrade. See `Migration Guide`_ for more details.** This project provides a client library in Python that makes it easy to consume Microsoft Azure CosmosDB Table services. From 2190831973b8dd624aa1a8068154c79327ea825c Mon Sep 17 00:00:00 2001 From: antisch Date: Fri, 10 Sep 2021 19:58:46 -0700 Subject: [PATCH 4/4] Formatting --- README.rst | 4 ++-- azure-cosmosdb-table/README.rst | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.rst b/README.rst index 82cd773..3f26739 100644 --- a/README.rst +++ b/README.rst @@ -1,9 +1,9 @@ Microsoft Azure CosmosDB Tables SDK for Python ============================================== -**Please note, a newer package is available `azure-data-tables`_ as of June 2021.** +**Please note, a newer package is available** `azure-data-tables`_ **as of June 2021.** -**While this package will continue to receive critical bug fixes, we strongly encourage you to upgrade. See `Migration Guide`_ for more details.** +**While this package will continue to receive critical bug fixes, we strongly encourage you to upgrade. See** `Migration Guide`_ **for more details.** This project provides a client library in Python that makes it easy to consume Microsoft Azure CosmosDB Table services. diff --git a/azure-cosmosdb-table/README.rst b/azure-cosmosdb-table/README.rst index 102b7ca..21cf4ad 100644 --- a/azure-cosmosdb-table/README.rst +++ b/azure-cosmosdb-table/README.rst @@ -1,9 +1,9 @@ Microsoft Azure CosmosDB Table SDK for Python ============================================= -**Please note, a newer package is available `azure-data-tables`_ as of June 2021.** +**Please note, a newer package is available** `azure-data-tables`_ **as of June 2021.** -**While this package will continue to receive critical bug fixes, we strongly encourage you to upgrade. See `Migration Guide`_ for more details.** +**While this package will continue to receive critical bug fixes, we strongly encourage you to upgrade. See** `Migration Guide`_ **for more details.** This project provides a client library in Python that makes it easy to consume Microsoft Azure CosmosDB Table services.