diff --git a/sdk/advisor/azure-mgmt-advisor/README.md b/sdk/advisor/azure-mgmt-advisor/README.md index 4597d29eb8be..04842c74fcc6 100644 --- a/sdk/advisor/azure-mgmt-advisor/README.md +++ b/sdk/advisor/azure-mgmt-advisor/README.md @@ -4,6 +4,9 @@ This is the Microsoft Azure Advisor Client Library. This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ # Usage diff --git a/sdk/advisor/azure-mgmt-advisor/setup.cfg b/sdk/advisor/azure-mgmt-advisor/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/advisor/azure-mgmt-advisor/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/advisor/azure-mgmt-advisor/setup.py b/sdk/advisor/azure-mgmt-advisor/setup.py index c0a846661c10..95a187cd87ce 100644 --- a/sdk/advisor/azure-mgmt-advisor/setup.py +++ b/sdk/advisor/azure-mgmt-advisor/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 5 - Production/Stable', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/agfood/azure-mgmt-agfood/README.md b/sdk/agfood/azure-mgmt-agfood/README.md index 8ac88b3b8b49..78af49ce2caf 100644 --- a/sdk/agfood/azure-mgmt-agfood/README.md +++ b/sdk/agfood/azure-mgmt-agfood/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/agfood/azure-mgmt-agfood/setup.cfg b/sdk/agfood/azure-mgmt-agfood/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/agfood/azure-mgmt-agfood/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/agfood/azure-mgmt-agfood/setup.py b/sdk/agfood/azure-mgmt-agfood/setup.py index 8908ec793dad..7e969d26bd70 100644 --- a/sdk/agfood/azure-mgmt-agfood/setup.py +++ b/sdk/agfood/azure-mgmt-agfood/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/agrifood/azure-mgmt-agrifood/README.md b/sdk/agrifood/azure-mgmt-agrifood/README.md index ffe2bba9b6d6..0e53611d3a12 100644 --- a/sdk/agrifood/azure-mgmt-agrifood/README.md +++ b/sdk/agrifood/azure-mgmt-agrifood/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/agrifood/azure-mgmt-agrifood/setup.cfg b/sdk/agrifood/azure-mgmt-agrifood/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/agrifood/azure-mgmt-agrifood/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/agrifood/azure-mgmt-agrifood/setup.py b/sdk/agrifood/azure-mgmt-agrifood/setup.py index 29af5606e654..e44b9a9f7132 100644 --- a/sdk/agrifood/azure-mgmt-agrifood/setup.py +++ b/sdk/agrifood/azure-mgmt-agrifood/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/aks/azure-mgmt-devspaces/README.md b/sdk/aks/azure-mgmt-devspaces/README.md index ba75758c587a..4d9973a6e064 100644 --- a/sdk/aks/azure-mgmt-devspaces/README.md +++ b/sdk/aks/azure-mgmt-devspaces/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/aks/azure-mgmt-devspaces/setup.cfg b/sdk/aks/azure-mgmt-devspaces/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/aks/azure-mgmt-devspaces/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/aks/azure-mgmt-devspaces/setup.py b/sdk/aks/azure-mgmt-devspaces/setup.py index 92f4ad0973c9..b81eef250823 100644 --- a/sdk/aks/azure-mgmt-devspaces/setup.py +++ b/sdk/aks/azure-mgmt-devspaces/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/alertsmanagement/azure-mgmt-alertsmanagement/README.md b/sdk/alertsmanagement/azure-mgmt-alertsmanagement/README.md index 860a3e89f1ac..b58686b37409 100644 --- a/sdk/alertsmanagement/azure-mgmt-alertsmanagement/README.md +++ b/sdk/alertsmanagement/azure-mgmt-alertsmanagement/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/alertsmanagement/azure-mgmt-alertsmanagement/setup.cfg b/sdk/alertsmanagement/azure-mgmt-alertsmanagement/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/alertsmanagement/azure-mgmt-alertsmanagement/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/alertsmanagement/azure-mgmt-alertsmanagement/setup.py b/sdk/alertsmanagement/azure-mgmt-alertsmanagement/setup.py index 1796d7bfc58e..dcd04eef3dc9 100644 --- a/sdk/alertsmanagement/azure-mgmt-alertsmanagement/setup.py +++ b/sdk/alertsmanagement/azure-mgmt-alertsmanagement/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/README.md b/sdk/apimanagement/azure-mgmt-apimanagement/README.md index 6c9ce880bb39..2a53cd03c16e 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/README.md +++ b/sdk/apimanagement/azure-mgmt-apimanagement/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/setup.cfg b/sdk/apimanagement/azure-mgmt-apimanagement/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/apimanagement/azure-mgmt-apimanagement/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/setup.py b/sdk/apimanagement/azure-mgmt-apimanagement/setup.py index 188a672c4678..6efa03bb51ff 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/setup.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/appconfiguration/azure-mgmt-appconfiguration/README.md b/sdk/appconfiguration/azure-mgmt-appconfiguration/README.md index e1e6f24d1eb4..6607dc035abe 100644 --- a/sdk/appconfiguration/azure-mgmt-appconfiguration/README.md +++ b/sdk/appconfiguration/azure-mgmt-appconfiguration/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/appconfiguration/azure-mgmt-appconfiguration/setup.cfg b/sdk/appconfiguration/azure-mgmt-appconfiguration/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/appconfiguration/azure-mgmt-appconfiguration/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/appconfiguration/azure-mgmt-appconfiguration/setup.py b/sdk/appconfiguration/azure-mgmt-appconfiguration/setup.py index 68fab1d52d92..2fd609379086 100644 --- a/sdk/appconfiguration/azure-mgmt-appconfiguration/setup.py +++ b/sdk/appconfiguration/azure-mgmt-appconfiguration/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/applicationinsights/azure-mgmt-applicationinsights/README.md b/sdk/applicationinsights/azure-mgmt-applicationinsights/README.md index 6f63502c5273..7c5281378146 100644 --- a/sdk/applicationinsights/azure-mgmt-applicationinsights/README.md +++ b/sdk/applicationinsights/azure-mgmt-applicationinsights/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/applicationinsights/azure-mgmt-applicationinsights/setup.cfg b/sdk/applicationinsights/azure-mgmt-applicationinsights/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/applicationinsights/azure-mgmt-applicationinsights/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/applicationinsights/azure-mgmt-applicationinsights/setup.py b/sdk/applicationinsights/azure-mgmt-applicationinsights/setup.py index d7209f4fb951..83eab252a706 100644 --- a/sdk/applicationinsights/azure-mgmt-applicationinsights/setup.py +++ b/sdk/applicationinsights/azure-mgmt-applicationinsights/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/appplatform/azure-mgmt-appplatform/README.md b/sdk/appplatform/azure-mgmt-appplatform/README.md index fbf3f564bd1e..a0bac6d603c4 100644 --- a/sdk/appplatform/azure-mgmt-appplatform/README.md +++ b/sdk/appplatform/azure-mgmt-appplatform/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/appplatform/azure-mgmt-appplatform/setup.cfg b/sdk/appplatform/azure-mgmt-appplatform/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/appplatform/azure-mgmt-appplatform/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/appplatform/azure-mgmt-appplatform/setup.py b/sdk/appplatform/azure-mgmt-appplatform/setup.py index c7788313019e..8d13d2a3e0d9 100644 --- a/sdk/appplatform/azure-mgmt-appplatform/setup.py +++ b/sdk/appplatform/azure-mgmt-appplatform/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/appservice/azure-mgmt-web/README.md b/sdk/appservice/azure-mgmt-web/README.md index 2ddfa1ae5406..f9ff03020dea 100644 --- a/sdk/appservice/azure-mgmt-web/README.md +++ b/sdk/appservice/azure-mgmt-web/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/appservice/azure-mgmt-web/setup.cfg b/sdk/appservice/azure-mgmt-web/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/appservice/azure-mgmt-web/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/appservice/azure-mgmt-web/setup.py b/sdk/appservice/azure-mgmt-web/setup.py index 0880646966c4..a35acc0664c8 100644 --- a/sdk/appservice/azure-mgmt-web/setup.py +++ b/sdk/appservice/azure-mgmt-web/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/attestation/azure-mgmt-attestation/README.md b/sdk/attestation/azure-mgmt-attestation/README.md index 188dea142651..6a3b50433eda 100644 --- a/sdk/attestation/azure-mgmt-attestation/README.md +++ b/sdk/attestation/azure-mgmt-attestation/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/attestation/azure-mgmt-attestation/setup.cfg b/sdk/attestation/azure-mgmt-attestation/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/attestation/azure-mgmt-attestation/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/attestation/azure-mgmt-attestation/setup.py b/sdk/attestation/azure-mgmt-attestation/setup.py index d518dca83fa8..e73c5aaacdaf 100644 --- a/sdk/attestation/azure-mgmt-attestation/setup.py +++ b/sdk/attestation/azure-mgmt-attestation/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/authorization/azure-mgmt-authorization/README.md b/sdk/authorization/azure-mgmt-authorization/README.md index 4178ab9f02e0..8379cc654efd 100644 --- a/sdk/authorization/azure-mgmt-authorization/README.md +++ b/sdk/authorization/azure-mgmt-authorization/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/authorization/azure-mgmt-authorization/setup.cfg b/sdk/authorization/azure-mgmt-authorization/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/authorization/azure-mgmt-authorization/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/authorization/azure-mgmt-authorization/setup.py b/sdk/authorization/azure-mgmt-authorization/setup.py index 5be620337a28..cac248d3ccbc 100644 --- a/sdk/authorization/azure-mgmt-authorization/setup.py +++ b/sdk/authorization/azure-mgmt-authorization/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/automanage/azure-mgmt-automanage/README.md b/sdk/automanage/azure-mgmt-automanage/README.md index 8f72e71226e3..d36953b6e3f9 100644 --- a/sdk/automanage/azure-mgmt-automanage/README.md +++ b/sdk/automanage/azure-mgmt-automanage/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/automanage/azure-mgmt-automanage/setup.cfg b/sdk/automanage/azure-mgmt-automanage/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/automanage/azure-mgmt-automanage/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/automanage/azure-mgmt-automanage/setup.py b/sdk/automanage/azure-mgmt-automanage/setup.py index f98e9ba55700..895b51c14d26 100644 --- a/sdk/automanage/azure-mgmt-automanage/setup.py +++ b/sdk/automanage/azure-mgmt-automanage/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/automation/azure-mgmt-automation/README.md b/sdk/automation/azure-mgmt-automation/README.md index c65c59363e27..a46ccaac8e0b 100644 --- a/sdk/automation/azure-mgmt-automation/README.md +++ b/sdk/automation/azure-mgmt-automation/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/automation/azure-mgmt-automation/setup.cfg b/sdk/automation/azure-mgmt-automation/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/automation/azure-mgmt-automation/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/automation/azure-mgmt-automation/setup.py b/sdk/automation/azure-mgmt-automation/setup.py index 671bf2c9ae48..1d2d9e3f9ed8 100644 --- a/sdk/automation/azure-mgmt-automation/setup.py +++ b/sdk/automation/azure-mgmt-automation/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/azureadb2c/azure-mgmt-azureadb2c/README.md b/sdk/azureadb2c/azure-mgmt-azureadb2c/README.md index fa2575b1db48..8ddfe1e3a630 100644 --- a/sdk/azureadb2c/azure-mgmt-azureadb2c/README.md +++ b/sdk/azureadb2c/azure-mgmt-azureadb2c/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/azureadb2c/azure-mgmt-azureadb2c/setup.cfg b/sdk/azureadb2c/azure-mgmt-azureadb2c/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/azureadb2c/azure-mgmt-azureadb2c/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/azureadb2c/azure-mgmt-azureadb2c/setup.py b/sdk/azureadb2c/azure-mgmt-azureadb2c/setup.py index 51ba8b893018..7369dec319b7 100644 --- a/sdk/azureadb2c/azure-mgmt-azureadb2c/setup.py +++ b/sdk/azureadb2c/azure-mgmt-azureadb2c/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/azurearcdata/azure-mgmt-azurearcdata/README.md b/sdk/azurearcdata/azure-mgmt-azurearcdata/README.md index 9fce4f71bfbc..b95bc21b8521 100644 --- a/sdk/azurearcdata/azure-mgmt-azurearcdata/README.md +++ b/sdk/azurearcdata/azure-mgmt-azurearcdata/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/azurearcdata/azure-mgmt-azurearcdata/setup.cfg b/sdk/azurearcdata/azure-mgmt-azurearcdata/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/azurearcdata/azure-mgmt-azurearcdata/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/azurearcdata/azure-mgmt-azurearcdata/setup.py b/sdk/azurearcdata/azure-mgmt-azurearcdata/setup.py index 5f9439448302..d7366aa3f5f6 100644 --- a/sdk/azurearcdata/azure-mgmt-azurearcdata/setup.py +++ b/sdk/azurearcdata/azure-mgmt-azurearcdata/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/azurestack/azure-mgmt-azurestack/README.md b/sdk/azurestack/azure-mgmt-azurestack/README.md index aedd50101b8f..70100868ca79 100644 --- a/sdk/azurestack/azure-mgmt-azurestack/README.md +++ b/sdk/azurestack/azure-mgmt-azurestack/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/azurestack/azure-mgmt-azurestack/setup.cfg b/sdk/azurestack/azure-mgmt-azurestack/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/azurestack/azure-mgmt-azurestack/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/azurestack/azure-mgmt-azurestack/setup.py b/sdk/azurestack/azure-mgmt-azurestack/setup.py index bd5136c5bb86..55670d1ca26e 100644 --- a/sdk/azurestack/azure-mgmt-azurestack/setup.py +++ b/sdk/azurestack/azure-mgmt-azurestack/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/azurestackhci/azure-mgmt-azurestackhci/README.md b/sdk/azurestackhci/azure-mgmt-azurestackhci/README.md index 1ac978880652..019ab1dc3cf5 100644 --- a/sdk/azurestackhci/azure-mgmt-azurestackhci/README.md +++ b/sdk/azurestackhci/azure-mgmt-azurestackhci/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/azurestackhci/azure-mgmt-azurestackhci/setup.cfg b/sdk/azurestackhci/azure-mgmt-azurestackhci/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/azurestackhci/azure-mgmt-azurestackhci/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/azurestackhci/azure-mgmt-azurestackhci/setup.py b/sdk/azurestackhci/azure-mgmt-azurestackhci/setup.py index 217b53c091fa..20f2fc4c23ce 100644 --- a/sdk/azurestackhci/azure-mgmt-azurestackhci/setup.py +++ b/sdk/azurestackhci/azure-mgmt-azurestackhci/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/baremetalinfrastructure/azure-mgmt-baremetalinfrastructure/README.md b/sdk/baremetalinfrastructure/azure-mgmt-baremetalinfrastructure/README.md index 341ec4949142..d0505819cb8b 100644 --- a/sdk/baremetalinfrastructure/azure-mgmt-baremetalinfrastructure/README.md +++ b/sdk/baremetalinfrastructure/azure-mgmt-baremetalinfrastructure/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/baremetalinfrastructure/azure-mgmt-baremetalinfrastructure/setup.cfg b/sdk/baremetalinfrastructure/azure-mgmt-baremetalinfrastructure/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/baremetalinfrastructure/azure-mgmt-baremetalinfrastructure/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/baremetalinfrastructure/azure-mgmt-baremetalinfrastructure/setup.py b/sdk/baremetalinfrastructure/azure-mgmt-baremetalinfrastructure/setup.py index b1472c1c869a..50177b8ddf75 100644 --- a/sdk/baremetalinfrastructure/azure-mgmt-baremetalinfrastructure/setup.py +++ b/sdk/baremetalinfrastructure/azure-mgmt-baremetalinfrastructure/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/batch/azure-mgmt-batch/README.md b/sdk/batch/azure-mgmt-batch/README.md index 8cdf3f3e8e82..d50b876b10b4 100644 --- a/sdk/batch/azure-mgmt-batch/README.md +++ b/sdk/batch/azure-mgmt-batch/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/batch/azure-mgmt-batch/setup.cfg b/sdk/batch/azure-mgmt-batch/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/batch/azure-mgmt-batch/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/batch/azure-mgmt-batch/setup.py b/sdk/batch/azure-mgmt-batch/setup.py index 498a56ccc4d4..776eebf2124a 100644 --- a/sdk/batch/azure-mgmt-batch/setup.py +++ b/sdk/batch/azure-mgmt-batch/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 5 - Production/Stable', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/batchai/azure-mgmt-batchai/README.md b/sdk/batchai/azure-mgmt-batchai/README.md index 7ea2981c0981..69a6e23eb252 100644 --- a/sdk/batchai/azure-mgmt-batchai/README.md +++ b/sdk/batchai/azure-mgmt-batchai/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/batchai/azure-mgmt-batchai/setup.cfg b/sdk/batchai/azure-mgmt-batchai/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/batchai/azure-mgmt-batchai/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/batchai/azure-mgmt-batchai/setup.py b/sdk/batchai/azure-mgmt-batchai/setup.py index 2c341c6d50fd..591cf5b92eec 100644 --- a/sdk/batchai/azure-mgmt-batchai/setup.py +++ b/sdk/batchai/azure-mgmt-batchai/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/billing/azure-mgmt-billing/README.md b/sdk/billing/azure-mgmt-billing/README.md index 44613a3e3e71..032ee710352e 100644 --- a/sdk/billing/azure-mgmt-billing/README.md +++ b/sdk/billing/azure-mgmt-billing/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/billing/azure-mgmt-billing/setup.cfg b/sdk/billing/azure-mgmt-billing/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/billing/azure-mgmt-billing/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/billing/azure-mgmt-billing/setup.py b/sdk/billing/azure-mgmt-billing/setup.py index 6ba0faafd85d..7432191c8047 100644 --- a/sdk/billing/azure-mgmt-billing/setup.py +++ b/sdk/billing/azure-mgmt-billing/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/botservice/azure-mgmt-botservice/README.md b/sdk/botservice/azure-mgmt-botservice/README.md index a6c8223fdc6a..fd25a74d00ba 100644 --- a/sdk/botservice/azure-mgmt-botservice/README.md +++ b/sdk/botservice/azure-mgmt-botservice/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/botservice/azure-mgmt-botservice/setup.cfg b/sdk/botservice/azure-mgmt-botservice/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/botservice/azure-mgmt-botservice/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/botservice/azure-mgmt-botservice/setup.py b/sdk/botservice/azure-mgmt-botservice/setup.py index 07a50e81d62f..a678e0fe92c9 100644 --- a/sdk/botservice/azure-mgmt-botservice/setup.py +++ b/sdk/botservice/azure-mgmt-botservice/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/cdn/azure-mgmt-cdn/README.md b/sdk/cdn/azure-mgmt-cdn/README.md index ae3c8d9dd791..b36774c244f1 100644 --- a/sdk/cdn/azure-mgmt-cdn/README.md +++ b/sdk/cdn/azure-mgmt-cdn/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/cdn/azure-mgmt-cdn/setup.cfg b/sdk/cdn/azure-mgmt-cdn/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/cdn/azure-mgmt-cdn/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/cdn/azure-mgmt-cdn/setup.py b/sdk/cdn/azure-mgmt-cdn/setup.py index 112c875b9281..1e389b221111 100644 --- a/sdk/cdn/azure-mgmt-cdn/setup.py +++ b/sdk/cdn/azure-mgmt-cdn/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 5 - Production/Stable', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/changeanalysis/azure-mgmt-changeanalysis/README.md b/sdk/changeanalysis/azure-mgmt-changeanalysis/README.md index 1e7661bcf222..01528ff19b0c 100644 --- a/sdk/changeanalysis/azure-mgmt-changeanalysis/README.md +++ b/sdk/changeanalysis/azure-mgmt-changeanalysis/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/changeanalysis/azure-mgmt-changeanalysis/setup.cfg b/sdk/changeanalysis/azure-mgmt-changeanalysis/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/changeanalysis/azure-mgmt-changeanalysis/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/changeanalysis/azure-mgmt-changeanalysis/setup.py b/sdk/changeanalysis/azure-mgmt-changeanalysis/setup.py index c787ee4d8b95..d09b616607e8 100644 --- a/sdk/changeanalysis/azure-mgmt-changeanalysis/setup.py +++ b/sdk/changeanalysis/azure-mgmt-changeanalysis/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/chaos/azure-mgmt-chaos/README.md b/sdk/chaos/azure-mgmt-chaos/README.md index a4b87416a301..fd85a6f8d0e0 100644 --- a/sdk/chaos/azure-mgmt-chaos/README.md +++ b/sdk/chaos/azure-mgmt-chaos/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/chaos/azure-mgmt-chaos/setup.cfg b/sdk/chaos/azure-mgmt-chaos/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/chaos/azure-mgmt-chaos/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/chaos/azure-mgmt-chaos/setup.py b/sdk/chaos/azure-mgmt-chaos/setup.py index 3a1464f97470..a05b47f3a566 100644 --- a/sdk/chaos/azure-mgmt-chaos/setup.py +++ b/sdk/chaos/azure-mgmt-chaos/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/cognitiveservices/azure-mgmt-cognitiveservices/README.md b/sdk/cognitiveservices/azure-mgmt-cognitiveservices/README.md index 24a04c5dd1b7..f41bbee8ed13 100644 --- a/sdk/cognitiveservices/azure-mgmt-cognitiveservices/README.md +++ b/sdk/cognitiveservices/azure-mgmt-cognitiveservices/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/cognitiveservices/azure-mgmt-cognitiveservices/setup.cfg b/sdk/cognitiveservices/azure-mgmt-cognitiveservices/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/cognitiveservices/azure-mgmt-cognitiveservices/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/cognitiveservices/azure-mgmt-cognitiveservices/setup.py b/sdk/cognitiveservices/azure-mgmt-cognitiveservices/setup.py index cd341710f9ba..0178736c15d8 100644 --- a/sdk/cognitiveservices/azure-mgmt-cognitiveservices/setup.py +++ b/sdk/cognitiveservices/azure-mgmt-cognitiveservices/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 5 - Production/Stable', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/commerce/azure-mgmt-commerce/README.md b/sdk/commerce/azure-mgmt-commerce/README.md index a6fafdab8d2f..c5756a88a2e8 100644 --- a/sdk/commerce/azure-mgmt-commerce/README.md +++ b/sdk/commerce/azure-mgmt-commerce/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/commerce/azure-mgmt-commerce/setup.cfg b/sdk/commerce/azure-mgmt-commerce/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/commerce/azure-mgmt-commerce/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/commerce/azure-mgmt-commerce/setup.py b/sdk/commerce/azure-mgmt-commerce/setup.py index 66969e3a38ca..7d2e1ffd4098 100644 --- a/sdk/commerce/azure-mgmt-commerce/setup.py +++ b/sdk/commerce/azure-mgmt-commerce/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/communication/azure-mgmt-communication/README.md b/sdk/communication/azure-mgmt-communication/README.md index a0dbe12db80d..099d34ea6872 100644 --- a/sdk/communication/azure-mgmt-communication/README.md +++ b/sdk/communication/azure-mgmt-communication/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.5, 3.6, 3.7 and 3.8. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage To learn how to use the management libraries, see the [quickstart guide](https://aka.ms/azsdk/python/mgmt). diff --git a/sdk/communication/azure-mgmt-communication/setup.cfg b/sdk/communication/azure-mgmt-communication/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/communication/azure-mgmt-communication/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/communication/azure-mgmt-communication/setup.py b/sdk/communication/azure-mgmt-communication/setup.py index 4c748b732ba4..e2117a481c59 100644 --- a/sdk/communication/azure-mgmt-communication/setup.py +++ b/sdk/communication/azure-mgmt-communication/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,11 +49,9 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.5', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/compute/azure-mgmt-avs/README.md b/sdk/compute/azure-mgmt-avs/README.md index 4e2ebc60f8f7..93a5bba02470 100644 --- a/sdk/compute/azure-mgmt-avs/README.md +++ b/sdk/compute/azure-mgmt-avs/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/compute/azure-mgmt-avs/setup.cfg b/sdk/compute/azure-mgmt-avs/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/compute/azure-mgmt-avs/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/compute/azure-mgmt-avs/setup.py b/sdk/compute/azure-mgmt-avs/setup.py index 4c2ab954c8a8..2210bda6641b 100644 --- a/sdk/compute/azure-mgmt-avs/setup.py +++ b/sdk/compute/azure-mgmt-avs/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/compute/azure-mgmt-compute/README.md b/sdk/compute/azure-mgmt-compute/README.md index dc0f75ee5f1f..b54c91b706be 100644 --- a/sdk/compute/azure-mgmt-compute/README.md +++ b/sdk/compute/azure-mgmt-compute/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/compute/azure-mgmt-compute/setup.cfg b/sdk/compute/azure-mgmt-compute/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/compute/azure-mgmt-compute/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/compute/azure-mgmt-compute/setup.py b/sdk/compute/azure-mgmt-compute/setup.py index 99e6839cbbf5..bfcfde7555e5 100644 --- a/sdk/compute/azure-mgmt-compute/setup.py +++ b/sdk/compute/azure-mgmt-compute/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 5 - Production/Stable', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/compute/azure-mgmt-imagebuilder/README.md b/sdk/compute/azure-mgmt-imagebuilder/README.md index 7fb31b581ed1..f6cc2c1938ec 100644 --- a/sdk/compute/azure-mgmt-imagebuilder/README.md +++ b/sdk/compute/azure-mgmt-imagebuilder/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/compute/azure-mgmt-imagebuilder/setup.cfg b/sdk/compute/azure-mgmt-imagebuilder/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/compute/azure-mgmt-imagebuilder/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/compute/azure-mgmt-imagebuilder/setup.py b/sdk/compute/azure-mgmt-imagebuilder/setup.py index 5fa6c17c77f8..090be80b7842 100644 --- a/sdk/compute/azure-mgmt-imagebuilder/setup.py +++ b/sdk/compute/azure-mgmt-imagebuilder/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/compute/azure-mgmt-vmwarecloudsimple/README.md b/sdk/compute/azure-mgmt-vmwarecloudsimple/README.md index 45e0b7efb7b2..6865e1b5697f 100644 --- a/sdk/compute/azure-mgmt-vmwarecloudsimple/README.md +++ b/sdk/compute/azure-mgmt-vmwarecloudsimple/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/compute/azure-mgmt-vmwarecloudsimple/setup.cfg b/sdk/compute/azure-mgmt-vmwarecloudsimple/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/compute/azure-mgmt-vmwarecloudsimple/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/compute/azure-mgmt-vmwarecloudsimple/setup.py b/sdk/compute/azure-mgmt-vmwarecloudsimple/setup.py index 5f4ae08ee481..f5f8f286ef25 100644 --- a/sdk/compute/azure-mgmt-vmwarecloudsimple/setup.py +++ b/sdk/compute/azure-mgmt-vmwarecloudsimple/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/confidentialledger/azure-mgmt-confidentialledger/README.md b/sdk/confidentialledger/azure-mgmt-confidentialledger/README.md index f4e6cf324d31..1d3557dae9b8 100644 --- a/sdk/confidentialledger/azure-mgmt-confidentialledger/README.md +++ b/sdk/confidentialledger/azure-mgmt-confidentialledger/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/confidentialledger/azure-mgmt-confidentialledger/setup.cfg b/sdk/confidentialledger/azure-mgmt-confidentialledger/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/confidentialledger/azure-mgmt-confidentialledger/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/confidentialledger/azure-mgmt-confidentialledger/setup.py b/sdk/confidentialledger/azure-mgmt-confidentialledger/setup.py index a16583892745..3aa99a38dd2a 100644 --- a/sdk/confidentialledger/azure-mgmt-confidentialledger/setup.py +++ b/sdk/confidentialledger/azure-mgmt-confidentialledger/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/confluent/azure-mgmt-confluent/README.md b/sdk/confluent/azure-mgmt-confluent/README.md index b370af74994d..0a40c58ce89c 100644 --- a/sdk/confluent/azure-mgmt-confluent/README.md +++ b/sdk/confluent/azure-mgmt-confluent/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/confluent/azure-mgmt-confluent/setup.cfg b/sdk/confluent/azure-mgmt-confluent/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/confluent/azure-mgmt-confluent/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/confluent/azure-mgmt-confluent/setup.py b/sdk/confluent/azure-mgmt-confluent/setup.py index 82c6ddd586f5..9cc28e36458c 100644 --- a/sdk/confluent/azure-mgmt-confluent/setup.py +++ b/sdk/confluent/azure-mgmt-confluent/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/connectedvmware/azure-mgmt-connectedvmware/README.md b/sdk/connectedvmware/azure-mgmt-connectedvmware/README.md index b8997b51aa9e..08018246c02e 100644 --- a/sdk/connectedvmware/azure-mgmt-connectedvmware/README.md +++ b/sdk/connectedvmware/azure-mgmt-connectedvmware/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/connectedvmware/azure-mgmt-connectedvmware/setup.cfg b/sdk/connectedvmware/azure-mgmt-connectedvmware/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/connectedvmware/azure-mgmt-connectedvmware/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/connectedvmware/azure-mgmt-connectedvmware/setup.py b/sdk/connectedvmware/azure-mgmt-connectedvmware/setup.py index c21d59b67b54..c7f86b989dcd 100644 --- a/sdk/connectedvmware/azure-mgmt-connectedvmware/setup.py +++ b/sdk/connectedvmware/azure-mgmt-connectedvmware/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/consumption/azure-mgmt-consumption/README.md b/sdk/consumption/azure-mgmt-consumption/README.md index 993c77e15e78..15c893a367e2 100644 --- a/sdk/consumption/azure-mgmt-consumption/README.md +++ b/sdk/consumption/azure-mgmt-consumption/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/consumption/azure-mgmt-consumption/setup.cfg b/sdk/consumption/azure-mgmt-consumption/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/consumption/azure-mgmt-consumption/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/consumption/azure-mgmt-consumption/setup.py b/sdk/consumption/azure-mgmt-consumption/setup.py index d69d15f97e28..856a33b2f67e 100644 --- a/sdk/consumption/azure-mgmt-consumption/setup.py +++ b/sdk/consumption/azure-mgmt-consumption/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/containerinstance/azure-mgmt-containerinstance/README.md b/sdk/containerinstance/azure-mgmt-containerinstance/README.md index 8c0f84e11712..80b6b2a40af6 100644 --- a/sdk/containerinstance/azure-mgmt-containerinstance/README.md +++ b/sdk/containerinstance/azure-mgmt-containerinstance/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/containerinstance/azure-mgmt-containerinstance/setup.cfg b/sdk/containerinstance/azure-mgmt-containerinstance/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/containerinstance/azure-mgmt-containerinstance/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/containerinstance/azure-mgmt-containerinstance/setup.py b/sdk/containerinstance/azure-mgmt-containerinstance/setup.py index a52e2301f0bc..21d7c51c4517 100644 --- a/sdk/containerinstance/azure-mgmt-containerinstance/setup.py +++ b/sdk/containerinstance/azure-mgmt-containerinstance/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 5 - Production/Stable', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/containerregistry/azure-mgmt-containerregistry/README.md b/sdk/containerregistry/azure-mgmt-containerregistry/README.md index 516e2d4c3b57..6369c6f6fae9 100644 --- a/sdk/containerregistry/azure-mgmt-containerregistry/README.md +++ b/sdk/containerregistry/azure-mgmt-containerregistry/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/containerregistry/azure-mgmt-containerregistry/setup.cfg b/sdk/containerregistry/azure-mgmt-containerregistry/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/containerregistry/azure-mgmt-containerregistry/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/containerregistry/azure-mgmt-containerregistry/setup.py b/sdk/containerregistry/azure-mgmt-containerregistry/setup.py index 5b3efb47721b..311587071554 100644 --- a/sdk/containerregistry/azure-mgmt-containerregistry/setup.py +++ b/sdk/containerregistry/azure-mgmt-containerregistry/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 5 - Production/Stable', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/containerservice/azure-mgmt-containerservice/README.md b/sdk/containerservice/azure-mgmt-containerservice/README.md index 6cc26e61fd91..6c363de5cf86 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/README.md +++ b/sdk/containerservice/azure-mgmt-containerservice/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/containerservice/azure-mgmt-containerservice/setup.cfg b/sdk/containerservice/azure-mgmt-containerservice/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/containerservice/azure-mgmt-containerservice/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/containerservice/azure-mgmt-containerservice/setup.py b/sdk/containerservice/azure-mgmt-containerservice/setup.py index c9e1e6ca3c94..f828e5f1825d 100644 --- a/sdk/containerservice/azure-mgmt-containerservice/setup.py +++ b/sdk/containerservice/azure-mgmt-containerservice/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 5 - Production/Stable', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/core/azure-mgmt-core/setup.cfg b/sdk/core/azure-mgmt-core/setup.cfg deleted file mode 100644 index 3480374bc2f2..000000000000 --- a/sdk/core/azure-mgmt-core/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 \ No newline at end of file diff --git a/sdk/core/azure-mgmt-core/setup.py b/sdk/core/azure-mgmt-core/setup.py index 216d904df208..4208bed82109 100644 --- a/sdk/core/azure-mgmt-core/setup.py +++ b/sdk/core/azure-mgmt-core/setup.py @@ -47,11 +47,9 @@ classifiers=[ "Development Status :: 4 - Beta", 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.5', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -70,8 +68,5 @@ install_requires=[ "azure-core<2.0.0,>=1.15.0", ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - ":python_version<'3.5'": ['typing'], - } + python_requires=">=3.7", ) diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/README.md b/sdk/cosmos/azure-mgmt-cosmosdb/README.md index 3510cbe4231e..e35fa8b10dbd 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/README.md +++ b/sdk/cosmos/azure-mgmt-cosmosdb/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/setup.cfg b/sdk/cosmos/azure-mgmt-cosmosdb/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/cosmos/azure-mgmt-cosmosdb/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/setup.py b/sdk/cosmos/azure-mgmt-cosmosdb/setup.py index 9fa979722d9b..2e5c64af2725 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/setup.py +++ b/sdk/cosmos/azure-mgmt-cosmosdb/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/cosmos/azure-mgmt-documentdb/setup.cfg b/sdk/cosmos/azure-mgmt-documentdb/setup.cfg deleted file mode 100644 index 856f4164982c..000000000000 --- a/sdk/cosmos/azure-mgmt-documentdb/setup.cfg +++ /dev/null @@ -1,3 +0,0 @@ -[bdist_wheel] -universal=1 -azure-namespace-package=azure-mgmt-nspkg \ No newline at end of file diff --git a/sdk/cosmos/azure-mgmt-documentdb/setup.py b/sdk/cosmos/azure-mgmt-documentdb/setup.py index 958d43eb164e..6921e0e1eb11 100644 --- a/sdk/cosmos/azure-mgmt-documentdb/setup.py +++ b/sdk/cosmos/azure-mgmt-documentdb/setup.py @@ -26,20 +26,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py'), 'r') as fd: @@ -67,13 +53,11 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', - 'Programming Language :: Python :: 3.6', 'License :: OSI Approved :: MIT License', ], zip_safe=False, diff --git a/sdk/costmanagement/azure-mgmt-costmanagement/README.md b/sdk/costmanagement/azure-mgmt-costmanagement/README.md index a02bc6190ee1..1ff09e6f1497 100644 --- a/sdk/costmanagement/azure-mgmt-costmanagement/README.md +++ b/sdk/costmanagement/azure-mgmt-costmanagement/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/costmanagement/azure-mgmt-costmanagement/setup.cfg b/sdk/costmanagement/azure-mgmt-costmanagement/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/costmanagement/azure-mgmt-costmanagement/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/costmanagement/azure-mgmt-costmanagement/setup.py b/sdk/costmanagement/azure-mgmt-costmanagement/setup.py index d870d25e2805..bd5412093209 100644 --- a/sdk/costmanagement/azure-mgmt-costmanagement/setup.py +++ b/sdk/costmanagement/azure-mgmt-costmanagement/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/customproviders/azure-mgmt-customproviders/README.md b/sdk/customproviders/azure-mgmt-customproviders/README.md index 869399258430..3daccc9e7013 100644 --- a/sdk/customproviders/azure-mgmt-customproviders/README.md +++ b/sdk/customproviders/azure-mgmt-customproviders/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/customproviders/azure-mgmt-customproviders/setup.cfg b/sdk/customproviders/azure-mgmt-customproviders/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/customproviders/azure-mgmt-customproviders/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/customproviders/azure-mgmt-customproviders/setup.py b/sdk/customproviders/azure-mgmt-customproviders/setup.py index e4cc490676f3..8109b3d6e63f 100644 --- a/sdk/customproviders/azure-mgmt-customproviders/setup.py +++ b/sdk/customproviders/azure-mgmt-customproviders/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/databox/azure-mgmt-databox/README.md b/sdk/databox/azure-mgmt-databox/README.md index fd0cf221578d..aa678ce7f908 100644 --- a/sdk/databox/azure-mgmt-databox/README.md +++ b/sdk/databox/azure-mgmt-databox/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/databox/azure-mgmt-databox/setup.cfg b/sdk/databox/azure-mgmt-databox/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/databox/azure-mgmt-databox/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/databox/azure-mgmt-databox/setup.py b/sdk/databox/azure-mgmt-databox/setup.py index 0cd0a543b9e0..8fbfdaa56b01 100644 --- a/sdk/databox/azure-mgmt-databox/setup.py +++ b/sdk/databox/azure-mgmt-databox/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/README.md b/sdk/databoxedge/azure-mgmt-databoxedge/README.md index 272d0b940e1a..1b5d145d3946 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/README.md +++ b/sdk/databoxedge/azure-mgmt-databoxedge/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/setup.cfg b/sdk/databoxedge/azure-mgmt-databoxedge/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/databoxedge/azure-mgmt-databoxedge/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/databoxedge/azure-mgmt-databoxedge/setup.py b/sdk/databoxedge/azure-mgmt-databoxedge/setup.py index 888f27b3992e..587052ff3788 100644 --- a/sdk/databoxedge/azure-mgmt-databoxedge/setup.py +++ b/sdk/databoxedge/azure-mgmt-databoxedge/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/databricks/azure-mgmt-databricks/README.md b/sdk/databricks/azure-mgmt-databricks/README.md index 8cc348578de2..d49dfa125069 100644 --- a/sdk/databricks/azure-mgmt-databricks/README.md +++ b/sdk/databricks/azure-mgmt-databricks/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/databricks/azure-mgmt-databricks/setup.cfg b/sdk/databricks/azure-mgmt-databricks/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/databricks/azure-mgmt-databricks/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/databricks/azure-mgmt-databricks/setup.py b/sdk/databricks/azure-mgmt-databricks/setup.py index a85194be1886..290a70c08b66 100644 --- a/sdk/databricks/azure-mgmt-databricks/setup.py +++ b/sdk/databricks/azure-mgmt-databricks/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/datadog/azure-mgmt-datadog/README.md b/sdk/datadog/azure-mgmt-datadog/README.md index 46092dc8aba3..269df54b539b 100644 --- a/sdk/datadog/azure-mgmt-datadog/README.md +++ b/sdk/datadog/azure-mgmt-datadog/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/datadog/azure-mgmt-datadog/setup.cfg b/sdk/datadog/azure-mgmt-datadog/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/datadog/azure-mgmt-datadog/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/datadog/azure-mgmt-datadog/setup.py b/sdk/datadog/azure-mgmt-datadog/setup.py index b6e45a20ba26..c6ed702e7c52 100644 --- a/sdk/datadog/azure-mgmt-datadog/setup.py +++ b/sdk/datadog/azure-mgmt-datadog/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/datafactory/azure-mgmt-datafactory/README.md b/sdk/datafactory/azure-mgmt-datafactory/README.md index db24f05dc274..a69d83995788 100644 --- a/sdk/datafactory/azure-mgmt-datafactory/README.md +++ b/sdk/datafactory/azure-mgmt-datafactory/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/datafactory/azure-mgmt-datafactory/setup.cfg b/sdk/datafactory/azure-mgmt-datafactory/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/datafactory/azure-mgmt-datafactory/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/datafactory/azure-mgmt-datafactory/setup.py b/sdk/datafactory/azure-mgmt-datafactory/setup.py index 2f0ce7932f32..820fef218032 100644 --- a/sdk/datafactory/azure-mgmt-datafactory/setup.py +++ b/sdk/datafactory/azure-mgmt-datafactory/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/datalake/azure-mgmt-datalake-analytics/README.md b/sdk/datalake/azure-mgmt-datalake-analytics/README.md index fcd2296d2f9f..05810e4adc2e 100644 --- a/sdk/datalake/azure-mgmt-datalake-analytics/README.md +++ b/sdk/datalake/azure-mgmt-datalake-analytics/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/datalake/azure-mgmt-datalake-analytics/setup.cfg b/sdk/datalake/azure-mgmt-datalake-analytics/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/datalake/azure-mgmt-datalake-analytics/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/datalake/azure-mgmt-datalake-analytics/setup.py b/sdk/datalake/azure-mgmt-datalake-analytics/setup.py index 08851b850cb1..dbb377ae27b9 100644 --- a/sdk/datalake/azure-mgmt-datalake-analytics/setup.py +++ b/sdk/datalake/azure-mgmt-datalake-analytics/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -86,7 +70,5 @@ 'msrestazure>=0.4.32,<2.0.0', 'azure-common~=1.1', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-datalake-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/datalake/azure-mgmt-datalake-store/README.md b/sdk/datalake/azure-mgmt-datalake-store/README.md index 43ea9feccc3e..aa35e6b1fb96 100644 --- a/sdk/datalake/azure-mgmt-datalake-store/README.md +++ b/sdk/datalake/azure-mgmt-datalake-store/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/datalake/azure-mgmt-datalake-store/setup.cfg b/sdk/datalake/azure-mgmt-datalake-store/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/datalake/azure-mgmt-datalake-store/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/datalake/azure-mgmt-datalake-store/setup.py b/sdk/datalake/azure-mgmt-datalake-store/setup.py index 0e35bc8a07fa..0cdf869528c2 100644 --- a/sdk/datalake/azure-mgmt-datalake-store/setup.py +++ b/sdk/datalake/azure-mgmt-datalake-store/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -86,7 +70,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-datalake-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/datamigration/azure-mgmt-datamigration/README.md b/sdk/datamigration/azure-mgmt-datamigration/README.md index 172f08c6a79d..ea60978d25b4 100644 --- a/sdk/datamigration/azure-mgmt-datamigration/README.md +++ b/sdk/datamigration/azure-mgmt-datamigration/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/datamigration/azure-mgmt-datamigration/setup.cfg b/sdk/datamigration/azure-mgmt-datamigration/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/datamigration/azure-mgmt-datamigration/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/datamigration/azure-mgmt-datamigration/setup.py b/sdk/datamigration/azure-mgmt-datamigration/setup.py index d1f8ddb2c780..6598485ffdce 100644 --- a/sdk/datamigration/azure-mgmt-datamigration/setup.py +++ b/sdk/datamigration/azure-mgmt-datamigration/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 5 - Production/Stable', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/dataprotection/azure-mgmt-dataprotection/README.md b/sdk/dataprotection/azure-mgmt-dataprotection/README.md index dbd10ab4423d..dd6da591aba8 100644 --- a/sdk/dataprotection/azure-mgmt-dataprotection/README.md +++ b/sdk/dataprotection/azure-mgmt-dataprotection/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/dataprotection/azure-mgmt-dataprotection/setup.cfg b/sdk/dataprotection/azure-mgmt-dataprotection/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/dataprotection/azure-mgmt-dataprotection/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/dataprotection/azure-mgmt-dataprotection/setup.py b/sdk/dataprotection/azure-mgmt-dataprotection/setup.py index c6a416b03ad6..f4f24d6e5560 100644 --- a/sdk/dataprotection/azure-mgmt-dataprotection/setup.py +++ b/sdk/dataprotection/azure-mgmt-dataprotection/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/datashare/azure-mgmt-datashare/README.md b/sdk/datashare/azure-mgmt-datashare/README.md index 2dac0e105809..478923a5f6bd 100644 --- a/sdk/datashare/azure-mgmt-datashare/README.md +++ b/sdk/datashare/azure-mgmt-datashare/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/datashare/azure-mgmt-datashare/setup.cfg b/sdk/datashare/azure-mgmt-datashare/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/datashare/azure-mgmt-datashare/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/datashare/azure-mgmt-datashare/setup.py b/sdk/datashare/azure-mgmt-datashare/setup.py index 959368a1e204..9acfb384f53e 100644 --- a/sdk/datashare/azure-mgmt-datashare/setup.py +++ b/sdk/datashare/azure-mgmt-datashare/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/deploymentmanager/azure-mgmt-deploymentmanager/README.md b/sdk/deploymentmanager/azure-mgmt-deploymentmanager/README.md index 54a3003a04e4..5c853a64b30b 100644 --- a/sdk/deploymentmanager/azure-mgmt-deploymentmanager/README.md +++ b/sdk/deploymentmanager/azure-mgmt-deploymentmanager/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/deploymentmanager/azure-mgmt-deploymentmanager/setup.cfg b/sdk/deploymentmanager/azure-mgmt-deploymentmanager/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/deploymentmanager/azure-mgmt-deploymentmanager/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/deploymentmanager/azure-mgmt-deploymentmanager/setup.py b/sdk/deploymentmanager/azure-mgmt-deploymentmanager/setup.py index 365622760504..b157b2567b80 100644 --- a/sdk/deploymentmanager/azure-mgmt-deploymentmanager/setup.py +++ b/sdk/deploymentmanager/azure-mgmt-deploymentmanager/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/desktopvirtualization/azure-mgmt-desktopvirtualization/README.md b/sdk/desktopvirtualization/azure-mgmt-desktopvirtualization/README.md index 6afce91e58c1..561b02f77371 100644 --- a/sdk/desktopvirtualization/azure-mgmt-desktopvirtualization/README.md +++ b/sdk/desktopvirtualization/azure-mgmt-desktopvirtualization/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/desktopvirtualization/azure-mgmt-desktopvirtualization/setup.cfg b/sdk/desktopvirtualization/azure-mgmt-desktopvirtualization/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/desktopvirtualization/azure-mgmt-desktopvirtualization/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/desktopvirtualization/azure-mgmt-desktopvirtualization/setup.py b/sdk/desktopvirtualization/azure-mgmt-desktopvirtualization/setup.py index 0648ebc949d6..32d3553217dd 100644 --- a/sdk/desktopvirtualization/azure-mgmt-desktopvirtualization/setup.py +++ b/sdk/desktopvirtualization/azure-mgmt-desktopvirtualization/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/deviceupdate/azure-mgmt-deviceupdate/README.md b/sdk/deviceupdate/azure-mgmt-deviceupdate/README.md index e14503de5ad6..296a5a1a9002 100644 --- a/sdk/deviceupdate/azure-mgmt-deviceupdate/README.md +++ b/sdk/deviceupdate/azure-mgmt-deviceupdate/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/deviceupdate/azure-mgmt-deviceupdate/setup.cfg b/sdk/deviceupdate/azure-mgmt-deviceupdate/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/deviceupdate/azure-mgmt-deviceupdate/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/deviceupdate/azure-mgmt-deviceupdate/setup.py b/sdk/deviceupdate/azure-mgmt-deviceupdate/setup.py index 94d0b6dc903b..14e0af54af73 100644 --- a/sdk/deviceupdate/azure-mgmt-deviceupdate/setup.py +++ b/sdk/deviceupdate/azure-mgmt-deviceupdate/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md b/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md index 67b9bb040026..57ce758fb65d 100644 --- a/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md +++ b/sdk/devtestlabs/azure-mgmt-devtestlabs/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/devtestlabs/azure-mgmt-devtestlabs/setup.cfg b/sdk/devtestlabs/azure-mgmt-devtestlabs/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/devtestlabs/azure-mgmt-devtestlabs/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/devtestlabs/azure-mgmt-devtestlabs/setup.py b/sdk/devtestlabs/azure-mgmt-devtestlabs/setup.py index b50ffea080b5..fd7dbe52e7a4 100644 --- a/sdk/devtestlabs/azure-mgmt-devtestlabs/setup.py +++ b/sdk/devtestlabs/azure-mgmt-devtestlabs/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 5 - Production/Stable', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/digitaltwins/azure-mgmt-digitaltwins/README.md b/sdk/digitaltwins/azure-mgmt-digitaltwins/README.md index 2e1cdd17afee..7c07d2367096 100644 --- a/sdk/digitaltwins/azure-mgmt-digitaltwins/README.md +++ b/sdk/digitaltwins/azure-mgmt-digitaltwins/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/digitaltwins/azure-mgmt-digitaltwins/setup.cfg b/sdk/digitaltwins/azure-mgmt-digitaltwins/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/digitaltwins/azure-mgmt-digitaltwins/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/digitaltwins/azure-mgmt-digitaltwins/setup.py b/sdk/digitaltwins/azure-mgmt-digitaltwins/setup.py index f3ad1f165c3d..85a8bf4e67a5 100644 --- a/sdk/digitaltwins/azure-mgmt-digitaltwins/setup.py +++ b/sdk/digitaltwins/azure-mgmt-digitaltwins/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/edgegateway/azure-mgmt-edgegateway/README.md b/sdk/edgegateway/azure-mgmt-edgegateway/README.md index 668c20e59509..f62ceddce675 100644 --- a/sdk/edgegateway/azure-mgmt-edgegateway/README.md +++ b/sdk/edgegateway/azure-mgmt-edgegateway/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/edgegateway/azure-mgmt-edgegateway/setup.cfg b/sdk/edgegateway/azure-mgmt-edgegateway/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/edgegateway/azure-mgmt-edgegateway/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/edgegateway/azure-mgmt-edgegateway/setup.py b/sdk/edgegateway/azure-mgmt-edgegateway/setup.py index 24ff94cd66eb..0f48a6070625 100644 --- a/sdk/edgegateway/azure-mgmt-edgegateway/setup.py +++ b/sdk/edgegateway/azure-mgmt-edgegateway/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'msrestazure>=0.4.32,<2.0.0', 'azure-common~=1.1', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/edgeorder/azure-mgmt-edgeorder/README.md b/sdk/edgeorder/azure-mgmt-edgeorder/README.md index 66bb52fa6dcf..ef77c7b7e0e2 100644 --- a/sdk/edgeorder/azure-mgmt-edgeorder/README.md +++ b/sdk/edgeorder/azure-mgmt-edgeorder/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/edgeorder/azure-mgmt-edgeorder/setup.cfg b/sdk/edgeorder/azure-mgmt-edgeorder/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/edgeorder/azure-mgmt-edgeorder/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/edgeorder/azure-mgmt-edgeorder/setup.py b/sdk/edgeorder/azure-mgmt-edgeorder/setup.py index c87ef69abf1f..b66daed59bcb 100644 --- a/sdk/edgeorder/azure-mgmt-edgeorder/setup.py +++ b/sdk/edgeorder/azure-mgmt-edgeorder/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/elastic/azure-mgmt-elastic/README.md b/sdk/elastic/azure-mgmt-elastic/README.md index 5e410a5844c0..8bd5d6728917 100644 --- a/sdk/elastic/azure-mgmt-elastic/README.md +++ b/sdk/elastic/azure-mgmt-elastic/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/elastic/azure-mgmt-elastic/setup.cfg b/sdk/elastic/azure-mgmt-elastic/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/elastic/azure-mgmt-elastic/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/elastic/azure-mgmt-elastic/setup.py b/sdk/elastic/azure-mgmt-elastic/setup.py index 3e70cb461c3f..98d1d5302434 100644 --- a/sdk/elastic/azure-mgmt-elastic/setup.py +++ b/sdk/elastic/azure-mgmt-elastic/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/eventgrid/azure-mgmt-eventgrid/README.md b/sdk/eventgrid/azure-mgmt-eventgrid/README.md index 6170f480006b..6047549f334f 100644 --- a/sdk/eventgrid/azure-mgmt-eventgrid/README.md +++ b/sdk/eventgrid/azure-mgmt-eventgrid/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/eventgrid/azure-mgmt-eventgrid/setup.cfg b/sdk/eventgrid/azure-mgmt-eventgrid/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/eventgrid/azure-mgmt-eventgrid/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/eventgrid/azure-mgmt-eventgrid/setup.py b/sdk/eventgrid/azure-mgmt-eventgrid/setup.py index edbf40d3a78a..9ecc1d9374f5 100644 --- a/sdk/eventgrid/azure-mgmt-eventgrid/setup.py +++ b/sdk/eventgrid/azure-mgmt-eventgrid/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.3.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/eventhub/azure-mgmt-eventhub/README.md b/sdk/eventhub/azure-mgmt-eventhub/README.md index a6cbd5bb1e27..fd59e12b2c8b 100644 --- a/sdk/eventhub/azure-mgmt-eventhub/README.md +++ b/sdk/eventhub/azure-mgmt-eventhub/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/eventhub/azure-mgmt-eventhub/setup.cfg b/sdk/eventhub/azure-mgmt-eventhub/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/eventhub/azure-mgmt-eventhub/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/eventhub/azure-mgmt-eventhub/setup.py b/sdk/eventhub/azure-mgmt-eventhub/setup.py index 9a00ffe031bb..daf5e9844392 100644 --- a/sdk/eventhub/azure-mgmt-eventhub/setup.py +++ b/sdk/eventhub/azure-mgmt-eventhub/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 5 - Production/Stable', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/extendedlocation/azure-mgmt-extendedlocation/README.md b/sdk/extendedlocation/azure-mgmt-extendedlocation/README.md index 712e8d7b7d28..36318a612963 100644 --- a/sdk/extendedlocation/azure-mgmt-extendedlocation/README.md +++ b/sdk/extendedlocation/azure-mgmt-extendedlocation/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/extendedlocation/azure-mgmt-extendedlocation/setup.cfg b/sdk/extendedlocation/azure-mgmt-extendedlocation/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/extendedlocation/azure-mgmt-extendedlocation/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/extendedlocation/azure-mgmt-extendedlocation/setup.py b/sdk/extendedlocation/azure-mgmt-extendedlocation/setup.py index 79a1415a4fab..9349f3e65e0f 100644 --- a/sdk/extendedlocation/azure-mgmt-extendedlocation/setup.py +++ b/sdk/extendedlocation/azure-mgmt-extendedlocation/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/fluidrelay/azure-mgmt-fluidrelay/README.md b/sdk/fluidrelay/azure-mgmt-fluidrelay/README.md index 0e8e93eb9c81..a02e62a09312 100644 --- a/sdk/fluidrelay/azure-mgmt-fluidrelay/README.md +++ b/sdk/fluidrelay/azure-mgmt-fluidrelay/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/fluidrelay/azure-mgmt-fluidrelay/setup.cfg b/sdk/fluidrelay/azure-mgmt-fluidrelay/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/fluidrelay/azure-mgmt-fluidrelay/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/fluidrelay/azure-mgmt-fluidrelay/setup.py b/sdk/fluidrelay/azure-mgmt-fluidrelay/setup.py index 16a14149aa42..4db3a941a7cd 100644 --- a/sdk/fluidrelay/azure-mgmt-fluidrelay/setup.py +++ b/sdk/fluidrelay/azure-mgmt-fluidrelay/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/hanaonazure/azure-mgmt-hanaonazure/README.md b/sdk/hanaonazure/azure-mgmt-hanaonazure/README.md index d178f1bddbdb..2c51816fe909 100644 --- a/sdk/hanaonazure/azure-mgmt-hanaonazure/README.md +++ b/sdk/hanaonazure/azure-mgmt-hanaonazure/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/hanaonazure/azure-mgmt-hanaonazure/setup.cfg b/sdk/hanaonazure/azure-mgmt-hanaonazure/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/hanaonazure/azure-mgmt-hanaonazure/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/hanaonazure/azure-mgmt-hanaonazure/setup.py b/sdk/hanaonazure/azure-mgmt-hanaonazure/setup.py index af8781a6f0d2..a3c2bccac412 100644 --- a/sdk/hanaonazure/azure-mgmt-hanaonazure/setup.py +++ b/sdk/hanaonazure/azure-mgmt-hanaonazure/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/README.md b/sdk/hdinsight/azure-mgmt-hdinsight/README.md index 9417b6d05062..55f7dc49bf89 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/README.md +++ b/sdk/hdinsight/azure-mgmt-hdinsight/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/setup.cfg b/sdk/hdinsight/azure-mgmt-hdinsight/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/hdinsight/azure-mgmt-hdinsight/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/hdinsight/azure-mgmt-hdinsight/setup.py b/sdk/hdinsight/azure-mgmt-hdinsight/setup.py index cd66af3de27b..d89f6abaa189 100644 --- a/sdk/hdinsight/azure-mgmt-hdinsight/setup.py +++ b/sdk/hdinsight/azure-mgmt-hdinsight/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 5 - Production/Stable', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/healthbot/azure-mgmt-healthbot/README.md b/sdk/healthbot/azure-mgmt-healthbot/README.md index 4eac79079c2c..144da311e06f 100644 --- a/sdk/healthbot/azure-mgmt-healthbot/README.md +++ b/sdk/healthbot/azure-mgmt-healthbot/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/healthbot/azure-mgmt-healthbot/setup.cfg b/sdk/healthbot/azure-mgmt-healthbot/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/healthbot/azure-mgmt-healthbot/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/healthbot/azure-mgmt-healthbot/setup.py b/sdk/healthbot/azure-mgmt-healthbot/setup.py index d620b1e96a4f..1840df7bd809 100644 --- a/sdk/healthbot/azure-mgmt-healthbot/setup.py +++ b/sdk/healthbot/azure-mgmt-healthbot/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/healthcareapis/azure-mgmt-healthcareapis/README.md b/sdk/healthcareapis/azure-mgmt-healthcareapis/README.md index b1671eb66103..829b88ac284b 100644 --- a/sdk/healthcareapis/azure-mgmt-healthcareapis/README.md +++ b/sdk/healthcareapis/azure-mgmt-healthcareapis/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/healthcareapis/azure-mgmt-healthcareapis/setup.cfg b/sdk/healthcareapis/azure-mgmt-healthcareapis/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/healthcareapis/azure-mgmt-healthcareapis/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/healthcareapis/azure-mgmt-healthcareapis/setup.py b/sdk/healthcareapis/azure-mgmt-healthcareapis/setup.py index 3d5d183eb214..4900cfec4492 100644 --- a/sdk/healthcareapis/azure-mgmt-healthcareapis/setup.py +++ b/sdk/healthcareapis/azure-mgmt-healthcareapis/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/hybridcompute/azure-mgmt-hybridcompute/README.md b/sdk/hybridcompute/azure-mgmt-hybridcompute/README.md index f6849a41fbd4..4081d945f526 100644 --- a/sdk/hybridcompute/azure-mgmt-hybridcompute/README.md +++ b/sdk/hybridcompute/azure-mgmt-hybridcompute/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/hybridcompute/azure-mgmt-hybridcompute/setup.cfg b/sdk/hybridcompute/azure-mgmt-hybridcompute/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/hybridcompute/azure-mgmt-hybridcompute/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/hybridcompute/azure-mgmt-hybridcompute/setup.py b/sdk/hybridcompute/azure-mgmt-hybridcompute/setup.py index 8bbe9e1e77f1..111c26d1ec88 100644 --- a/sdk/hybridcompute/azure-mgmt-hybridcompute/setup.py +++ b/sdk/hybridcompute/azure-mgmt-hybridcompute/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/hybridkubernetes/azure-mgmt-hybridkubernetes/README.md b/sdk/hybridkubernetes/azure-mgmt-hybridkubernetes/README.md index 0e565aa343b6..3efc531a67db 100644 --- a/sdk/hybridkubernetes/azure-mgmt-hybridkubernetes/README.md +++ b/sdk/hybridkubernetes/azure-mgmt-hybridkubernetes/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/hybridkubernetes/azure-mgmt-hybridkubernetes/setup.cfg b/sdk/hybridkubernetes/azure-mgmt-hybridkubernetes/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/hybridkubernetes/azure-mgmt-hybridkubernetes/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/hybridkubernetes/azure-mgmt-hybridkubernetes/setup.py b/sdk/hybridkubernetes/azure-mgmt-hybridkubernetes/setup.py index 2231769cf3b9..dbebbdb402f3 100644 --- a/sdk/hybridkubernetes/azure-mgmt-hybridkubernetes/setup.py +++ b/sdk/hybridkubernetes/azure-mgmt-hybridkubernetes/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/hybridnetwork/azure-mgmt-hybridnetwork/README.md b/sdk/hybridnetwork/azure-mgmt-hybridnetwork/README.md index 10172a0ee1cb..c8da2cac78e7 100644 --- a/sdk/hybridnetwork/azure-mgmt-hybridnetwork/README.md +++ b/sdk/hybridnetwork/azure-mgmt-hybridnetwork/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/hybridnetwork/azure-mgmt-hybridnetwork/setup.cfg b/sdk/hybridnetwork/azure-mgmt-hybridnetwork/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/hybridnetwork/azure-mgmt-hybridnetwork/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/hybridnetwork/azure-mgmt-hybridnetwork/setup.py b/sdk/hybridnetwork/azure-mgmt-hybridnetwork/setup.py index 2f3cd2a27fb4..8efc30016e0d 100644 --- a/sdk/hybridnetwork/azure-mgmt-hybridnetwork/setup.py +++ b/sdk/hybridnetwork/azure-mgmt-hybridnetwork/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/iothub/azure-mgmt-iotcentral/README.md b/sdk/iothub/azure-mgmt-iotcentral/README.md index 688dfb9f9e66..add08a0511cc 100644 --- a/sdk/iothub/azure-mgmt-iotcentral/README.md +++ b/sdk/iothub/azure-mgmt-iotcentral/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/iothub/azure-mgmt-iotcentral/setup.cfg b/sdk/iothub/azure-mgmt-iotcentral/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/iothub/azure-mgmt-iotcentral/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/iothub/azure-mgmt-iotcentral/setup.py b/sdk/iothub/azure-mgmt-iotcentral/setup.py index ee00045459ab..f9fa2edb56d6 100644 --- a/sdk/iothub/azure-mgmt-iotcentral/setup.py +++ b/sdk/iothub/azure-mgmt-iotcentral/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/iothub/azure-mgmt-iothub/README.md b/sdk/iothub/azure-mgmt-iothub/README.md index dc1244afd858..4781a76faa90 100644 --- a/sdk/iothub/azure-mgmt-iothub/README.md +++ b/sdk/iothub/azure-mgmt-iothub/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/iothub/azure-mgmt-iothub/setup.cfg b/sdk/iothub/azure-mgmt-iothub/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/iothub/azure-mgmt-iothub/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/iothub/azure-mgmt-iothub/setup.py b/sdk/iothub/azure-mgmt-iothub/setup.py index 9ff9e8b1bdbe..0611c5b5d320 100644 --- a/sdk/iothub/azure-mgmt-iothub/setup.py +++ b/sdk/iothub/azure-mgmt-iothub/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/iothub/azure-mgmt-iothubprovisioningservices/README.md b/sdk/iothub/azure-mgmt-iothubprovisioningservices/README.md index 8099314ddf91..f23a413501dc 100644 --- a/sdk/iothub/azure-mgmt-iothubprovisioningservices/README.md +++ b/sdk/iothub/azure-mgmt-iothubprovisioningservices/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/iothub/azure-mgmt-iothubprovisioningservices/setup.cfg b/sdk/iothub/azure-mgmt-iothubprovisioningservices/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/iothub/azure-mgmt-iothubprovisioningservices/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/iothub/azure-mgmt-iothubprovisioningservices/setup.py b/sdk/iothub/azure-mgmt-iothubprovisioningservices/setup.py index 649bb53d7d82..451d1e06a152 100644 --- a/sdk/iothub/azure-mgmt-iothubprovisioningservices/setup.py +++ b/sdk/iothub/azure-mgmt-iothubprovisioningservices/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/keyvault/azure-mgmt-keyvault/README.md b/sdk/keyvault/azure-mgmt-keyvault/README.md index bf703e4799d1..d643723327df 100644 --- a/sdk/keyvault/azure-mgmt-keyvault/README.md +++ b/sdk/keyvault/azure-mgmt-keyvault/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/keyvault/azure-mgmt-keyvault/setup.cfg b/sdk/keyvault/azure-mgmt-keyvault/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/keyvault/azure-mgmt-keyvault/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/keyvault/azure-mgmt-keyvault/setup.py b/sdk/keyvault/azure-mgmt-keyvault/setup.py index 405b80f100b7..c4beaa0d88e4 100644 --- a/sdk/keyvault/azure-mgmt-keyvault/setup.py +++ b/sdk/keyvault/azure-mgmt-keyvault/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration/README.md b/sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration/README.md index b0a705ea390d..753303b8e43c 100644 --- a/sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration/README.md +++ b/sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration/setup.cfg b/sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration/setup.py b/sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration/setup.py index 36991e5b23f8..b8c763ffc39f 100644 --- a/sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration/setup.py +++ b/sdk/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 5 - Production/Stable', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/kusto/azure-mgmt-kusto/README.md b/sdk/kusto/azure-mgmt-kusto/README.md index 2b941f8912ad..699a381efa7b 100644 --- a/sdk/kusto/azure-mgmt-kusto/README.md +++ b/sdk/kusto/azure-mgmt-kusto/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/kusto/azure-mgmt-kusto/setup.cfg b/sdk/kusto/azure-mgmt-kusto/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/kusto/azure-mgmt-kusto/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/kusto/azure-mgmt-kusto/setup.py b/sdk/kusto/azure-mgmt-kusto/setup.py index c7202c920994..f5ef4a21c21d 100644 --- a/sdk/kusto/azure-mgmt-kusto/setup.py +++ b/sdk/kusto/azure-mgmt-kusto/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/labservices/azure-mgmt-labservices/README.md b/sdk/labservices/azure-mgmt-labservices/README.md index 4d7f87e7a7a3..3fa569c4d809 100644 --- a/sdk/labservices/azure-mgmt-labservices/README.md +++ b/sdk/labservices/azure-mgmt-labservices/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/labservices/azure-mgmt-labservices/setup.cfg b/sdk/labservices/azure-mgmt-labservices/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/labservices/azure-mgmt-labservices/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/labservices/azure-mgmt-labservices/setup.py b/sdk/labservices/azure-mgmt-labservices/setup.py index 400000c578c1..c246a313212a 100644 --- a/sdk/labservices/azure-mgmt-labservices/setup.py +++ b/sdk/labservices/azure-mgmt-labservices/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/loadtestservice/azure-mgmt-loadtestservice/README.md b/sdk/loadtestservice/azure-mgmt-loadtestservice/README.md index d7caf055cfc1..fd3e57d6c9fb 100644 --- a/sdk/loadtestservice/azure-mgmt-loadtestservice/README.md +++ b/sdk/loadtestservice/azure-mgmt-loadtestservice/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/loadtestservice/azure-mgmt-loadtestservice/setup.cfg b/sdk/loadtestservice/azure-mgmt-loadtestservice/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/loadtestservice/azure-mgmt-loadtestservice/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/loadtestservice/azure-mgmt-loadtestservice/setup.py b/sdk/loadtestservice/azure-mgmt-loadtestservice/setup.py index 5f2ca473d3ad..f59dde65f935 100644 --- a/sdk/loadtestservice/azure-mgmt-loadtestservice/setup.py +++ b/sdk/loadtestservice/azure-mgmt-loadtestservice/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -84,7 +68,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/loganalytics/azure-mgmt-loganalytics/README.md b/sdk/loganalytics/azure-mgmt-loganalytics/README.md index 6ff87002f998..22c29da18541 100644 --- a/sdk/loganalytics/azure-mgmt-loganalytics/README.md +++ b/sdk/loganalytics/azure-mgmt-loganalytics/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/loganalytics/azure-mgmt-loganalytics/setup.cfg b/sdk/loganalytics/azure-mgmt-loganalytics/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/loganalytics/azure-mgmt-loganalytics/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/loganalytics/azure-mgmt-loganalytics/setup.py b/sdk/loganalytics/azure-mgmt-loganalytics/setup.py index 2ad47a8190e2..0d1628342364 100644 --- a/sdk/loganalytics/azure-mgmt-loganalytics/setup.py +++ b/sdk/loganalytics/azure-mgmt-loganalytics/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/logic/azure-mgmt-logic/README.md b/sdk/logic/azure-mgmt-logic/README.md index fd46df44f2e7..4b7e92a48dd9 100644 --- a/sdk/logic/azure-mgmt-logic/README.md +++ b/sdk/logic/azure-mgmt-logic/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/logic/azure-mgmt-logic/setup.cfg b/sdk/logic/azure-mgmt-logic/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/logic/azure-mgmt-logic/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/logic/azure-mgmt-logic/setup.py b/sdk/logic/azure-mgmt-logic/setup.py index 1753118e4e31..6639767c1248 100644 --- a/sdk/logic/azure-mgmt-logic/setup.py +++ b/sdk/logic/azure-mgmt-logic/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/logz/azure-mgmt-logz/README.md b/sdk/logz/azure-mgmt-logz/README.md index 6220b796f9cc..bb77bb81f15d 100644 --- a/sdk/logz/azure-mgmt-logz/README.md +++ b/sdk/logz/azure-mgmt-logz/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/logz/azure-mgmt-logz/setup.cfg b/sdk/logz/azure-mgmt-logz/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/logz/azure-mgmt-logz/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/logz/azure-mgmt-logz/setup.py b/sdk/logz/azure-mgmt-logz/setup.py index 65329a1c808d..7aa425385601 100644 --- a/sdk/logz/azure-mgmt-logz/setup.py +++ b/sdk/logz/azure-mgmt-logz/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/machinelearning/azure-mgmt-guestconfig/README.md b/sdk/machinelearning/azure-mgmt-guestconfig/README.md index e0922c59be49..b961560a33d4 100644 --- a/sdk/machinelearning/azure-mgmt-guestconfig/README.md +++ b/sdk/machinelearning/azure-mgmt-guestconfig/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/machinelearning/azure-mgmt-guestconfig/setup.cfg b/sdk/machinelearning/azure-mgmt-guestconfig/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/machinelearning/azure-mgmt-guestconfig/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/machinelearning/azure-mgmt-guestconfig/setup.py b/sdk/machinelearning/azure-mgmt-guestconfig/setup.py index a7cc53f20beb..f1400641d06b 100644 --- a/sdk/machinelearning/azure-mgmt-guestconfig/setup.py +++ b/sdk/machinelearning/azure-mgmt-guestconfig/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/machinelearning/azure-mgmt-machinelearningcompute/README.md b/sdk/machinelearning/azure-mgmt-machinelearningcompute/README.md index 6fb27b6b8102..24f50c5f9c07 100644 --- a/sdk/machinelearning/azure-mgmt-machinelearningcompute/README.md +++ b/sdk/machinelearning/azure-mgmt-machinelearningcompute/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/machinelearning/azure-mgmt-machinelearningcompute/setup.cfg b/sdk/machinelearning/azure-mgmt-machinelearningcompute/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/machinelearning/azure-mgmt-machinelearningcompute/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/machinelearning/azure-mgmt-machinelearningcompute/setup.py b/sdk/machinelearning/azure-mgmt-machinelearningcompute/setup.py index ec62ffdae132..20d109724f09 100644 --- a/sdk/machinelearning/azure-mgmt-machinelearningcompute/setup.py +++ b/sdk/machinelearning/azure-mgmt-machinelearningcompute/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/machinelearning/azure-mgmt-machinelearningservices/README.md b/sdk/machinelearning/azure-mgmt-machinelearningservices/README.md index 314daf5f7991..cca7165dcebb 100644 --- a/sdk/machinelearning/azure-mgmt-machinelearningservices/README.md +++ b/sdk/machinelearning/azure-mgmt-machinelearningservices/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/machinelearning/azure-mgmt-machinelearningservices/setup.cfg b/sdk/machinelearning/azure-mgmt-machinelearningservices/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/machinelearning/azure-mgmt-machinelearningservices/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/machinelearning/azure-mgmt-machinelearningservices/setup.py b/sdk/machinelearning/azure-mgmt-machinelearningservices/setup.py index 5846f9a333e3..3647d6b79ed2 100644 --- a/sdk/machinelearning/azure-mgmt-machinelearningservices/setup.py +++ b/sdk/machinelearning/azure-mgmt-machinelearningservices/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/maintenance/azure-mgmt-maintenance/README.md b/sdk/maintenance/azure-mgmt-maintenance/README.md index faa9908ea814..9fee0b0a41d9 100644 --- a/sdk/maintenance/azure-mgmt-maintenance/README.md +++ b/sdk/maintenance/azure-mgmt-maintenance/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/maintenance/azure-mgmt-maintenance/setup.cfg b/sdk/maintenance/azure-mgmt-maintenance/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/maintenance/azure-mgmt-maintenance/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/maintenance/azure-mgmt-maintenance/setup.py b/sdk/maintenance/azure-mgmt-maintenance/setup.py index 9519a0c21664..f57872051dac 100644 --- a/sdk/maintenance/azure-mgmt-maintenance/setup.py +++ b/sdk/maintenance/azure-mgmt-maintenance/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/managedservices/azure-mgmt-managedservices/README.md b/sdk/managedservices/azure-mgmt-managedservices/README.md index 1819907314a6..d86e5af1d06b 100644 --- a/sdk/managedservices/azure-mgmt-managedservices/README.md +++ b/sdk/managedservices/azure-mgmt-managedservices/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/managedservices/azure-mgmt-managedservices/setup.cfg b/sdk/managedservices/azure-mgmt-managedservices/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/managedservices/azure-mgmt-managedservices/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/managedservices/azure-mgmt-managedservices/setup.py b/sdk/managedservices/azure-mgmt-managedservices/setup.py index eb5018520de1..34e86988ca49 100644 --- a/sdk/managedservices/azure-mgmt-managedservices/setup.py +++ b/sdk/managedservices/azure-mgmt-managedservices/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/managementgroups/azure-mgmt-managementgroups/README.md b/sdk/managementgroups/azure-mgmt-managementgroups/README.md index 24fb18d90fc8..c929285d407f 100644 --- a/sdk/managementgroups/azure-mgmt-managementgroups/README.md +++ b/sdk/managementgroups/azure-mgmt-managementgroups/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/managementgroups/azure-mgmt-managementgroups/setup.cfg b/sdk/managementgroups/azure-mgmt-managementgroups/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/managementgroups/azure-mgmt-managementgroups/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/managementgroups/azure-mgmt-managementgroups/setup.py b/sdk/managementgroups/azure-mgmt-managementgroups/setup.py index 0b3a358717e8..b2ff700872e9 100644 --- a/sdk/managementgroups/azure-mgmt-managementgroups/setup.py +++ b/sdk/managementgroups/azure-mgmt-managementgroups/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/managementpartner/azure-mgmt-managementpartner/README.md b/sdk/managementpartner/azure-mgmt-managementpartner/README.md index f67931cada14..2236a702b6e2 100644 --- a/sdk/managementpartner/azure-mgmt-managementpartner/README.md +++ b/sdk/managementpartner/azure-mgmt-managementpartner/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/managementpartner/azure-mgmt-managementpartner/setup.cfg b/sdk/managementpartner/azure-mgmt-managementpartner/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/managementpartner/azure-mgmt-managementpartner/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/managementpartner/azure-mgmt-managementpartner/setup.py b/sdk/managementpartner/azure-mgmt-managementpartner/setup.py index 121661b9648a..93f564d8cca4 100644 --- a/sdk/managementpartner/azure-mgmt-managementpartner/setup.py +++ b/sdk/managementpartner/azure-mgmt-managementpartner/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/maps/azure-mgmt-maps/README.md b/sdk/maps/azure-mgmt-maps/README.md index 32aa7a5b677f..06a5cf943628 100644 --- a/sdk/maps/azure-mgmt-maps/README.md +++ b/sdk/maps/azure-mgmt-maps/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/maps/azure-mgmt-maps/setup.cfg b/sdk/maps/azure-mgmt-maps/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/maps/azure-mgmt-maps/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/maps/azure-mgmt-maps/setup.py b/sdk/maps/azure-mgmt-maps/setup.py index 7bd0e75c05d9..76b441543c9f 100644 --- a/sdk/maps/azure-mgmt-maps/setup.py +++ b/sdk/maps/azure-mgmt-maps/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/marketplaceordering/azure-mgmt-marketplaceordering/README.md b/sdk/marketplaceordering/azure-mgmt-marketplaceordering/README.md index c803d4b12586..e2e232085dd3 100644 --- a/sdk/marketplaceordering/azure-mgmt-marketplaceordering/README.md +++ b/sdk/marketplaceordering/azure-mgmt-marketplaceordering/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/marketplaceordering/azure-mgmt-marketplaceordering/setup.cfg b/sdk/marketplaceordering/azure-mgmt-marketplaceordering/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/marketplaceordering/azure-mgmt-marketplaceordering/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/marketplaceordering/azure-mgmt-marketplaceordering/setup.py b/sdk/marketplaceordering/azure-mgmt-marketplaceordering/setup.py index 26a6362df3a7..5076a0130b71 100644 --- a/sdk/marketplaceordering/azure-mgmt-marketplaceordering/setup.py +++ b/sdk/marketplaceordering/azure-mgmt-marketplaceordering/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/media/azure-mgmt-media/README.md b/sdk/media/azure-mgmt-media/README.md index d4f4d2b7002a..b92228d9332f 100644 --- a/sdk/media/azure-mgmt-media/README.md +++ b/sdk/media/azure-mgmt-media/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/media/azure-mgmt-media/setup.cfg b/sdk/media/azure-mgmt-media/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/media/azure-mgmt-media/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/media/azure-mgmt-media/setup.py b/sdk/media/azure-mgmt-media/setup.py index a9c727b46b7c..4367c8166ee5 100644 --- a/sdk/media/azure-mgmt-media/setup.py +++ b/sdk/media/azure-mgmt-media/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 5 - Production/Stable', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/mixedreality/azure-mgmt-mixedreality/README.md b/sdk/mixedreality/azure-mgmt-mixedreality/README.md index 9db000c1ad51..7f4bd732e8a7 100644 --- a/sdk/mixedreality/azure-mgmt-mixedreality/README.md +++ b/sdk/mixedreality/azure-mgmt-mixedreality/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/mixedreality/azure-mgmt-mixedreality/setup.cfg b/sdk/mixedreality/azure-mgmt-mixedreality/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/mixedreality/azure-mgmt-mixedreality/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/mixedreality/azure-mgmt-mixedreality/setup.py b/sdk/mixedreality/azure-mgmt-mixedreality/setup.py index e1c61c2a9422..9cc24b4fdc93 100644 --- a/sdk/mixedreality/azure-mgmt-mixedreality/setup.py +++ b/sdk/mixedreality/azure-mgmt-mixedreality/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/monitor/azure-mgmt-monitor/README.md b/sdk/monitor/azure-mgmt-monitor/README.md index c953e8f12ab7..75cfdb7c0868 100644 --- a/sdk/monitor/azure-mgmt-monitor/README.md +++ b/sdk/monitor/azure-mgmt-monitor/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/monitor/azure-mgmt-monitor/setup.cfg b/sdk/monitor/azure-mgmt-monitor/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/monitor/azure-mgmt-monitor/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/monitor/azure-mgmt-monitor/setup.py b/sdk/monitor/azure-mgmt-monitor/setup.py index 0edd50645f90..a0103b75c340 100644 --- a/sdk/monitor/azure-mgmt-monitor/setup.py +++ b/sdk/monitor/azure-mgmt-monitor/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/netapp/azure-mgmt-netapp/README.md b/sdk/netapp/azure-mgmt-netapp/README.md index df075afab293..f4474c9291d3 100644 --- a/sdk/netapp/azure-mgmt-netapp/README.md +++ b/sdk/netapp/azure-mgmt-netapp/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/netapp/azure-mgmt-netapp/setup.cfg b/sdk/netapp/azure-mgmt-netapp/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/netapp/azure-mgmt-netapp/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/netapp/azure-mgmt-netapp/setup.py b/sdk/netapp/azure-mgmt-netapp/setup.py index 62543e2f17ac..bae81c3aa141 100644 --- a/sdk/netapp/azure-mgmt-netapp/setup.py +++ b/sdk/netapp/azure-mgmt-netapp/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/network/azure-mgmt-dns/README.md b/sdk/network/azure-mgmt-dns/README.md index c18cb8889597..6c7d2cab0ae5 100644 --- a/sdk/network/azure-mgmt-dns/README.md +++ b/sdk/network/azure-mgmt-dns/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/network/azure-mgmt-dns/setup.cfg b/sdk/network/azure-mgmt-dns/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/network/azure-mgmt-dns/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/network/azure-mgmt-dns/setup.py b/sdk/network/azure-mgmt-dns/setup.py index c7f3f94c6df5..3a9c6c7d28ee 100644 --- a/sdk/network/azure-mgmt-dns/setup.py +++ b/sdk/network/azure-mgmt-dns/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/network/azure-mgmt-frontdoor/README.md b/sdk/network/azure-mgmt-frontdoor/README.md index a123a7072444..6de4389cf4b9 100644 --- a/sdk/network/azure-mgmt-frontdoor/README.md +++ b/sdk/network/azure-mgmt-frontdoor/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/network/azure-mgmt-frontdoor/setup.cfg b/sdk/network/azure-mgmt-frontdoor/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/network/azure-mgmt-frontdoor/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/network/azure-mgmt-frontdoor/setup.py b/sdk/network/azure-mgmt-frontdoor/setup.py index 415c2c64c6f7..b29e00fcf94e 100644 --- a/sdk/network/azure-mgmt-frontdoor/setup.py +++ b/sdk/network/azure-mgmt-frontdoor/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/network/azure-mgmt-network/README.md b/sdk/network/azure-mgmt-network/README.md index 4a169b7b6061..e41d9bc69e49 100644 --- a/sdk/network/azure-mgmt-network/README.md +++ b/sdk/network/azure-mgmt-network/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/network/azure-mgmt-network/setup.cfg b/sdk/network/azure-mgmt-network/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/network/azure-mgmt-network/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/network/azure-mgmt-network/setup.py b/sdk/network/azure-mgmt-network/setup.py index 6f3648186086..ef14e9275535 100644 --- a/sdk/network/azure-mgmt-network/setup.py +++ b/sdk/network/azure-mgmt-network/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 5 - Production/Stable', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/network/azure-mgmt-privatedns/README.md b/sdk/network/azure-mgmt-privatedns/README.md index e2c2adca00e7..6c26b78aa85e 100644 --- a/sdk/network/azure-mgmt-privatedns/README.md +++ b/sdk/network/azure-mgmt-privatedns/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/network/azure-mgmt-privatedns/setup.cfg b/sdk/network/azure-mgmt-privatedns/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/network/azure-mgmt-privatedns/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/network/azure-mgmt-privatedns/setup.py b/sdk/network/azure-mgmt-privatedns/setup.py index fb9ee8b5a3d4..9034b8ff7f09 100644 --- a/sdk/network/azure-mgmt-privatedns/setup.py +++ b/sdk/network/azure-mgmt-privatedns/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/notificationhubs/azure-mgmt-notificationhubs/README.md b/sdk/notificationhubs/azure-mgmt-notificationhubs/README.md index 76408538786d..8f933a97d790 100644 --- a/sdk/notificationhubs/azure-mgmt-notificationhubs/README.md +++ b/sdk/notificationhubs/azure-mgmt-notificationhubs/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/notificationhubs/azure-mgmt-notificationhubs/setup.cfg b/sdk/notificationhubs/azure-mgmt-notificationhubs/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/notificationhubs/azure-mgmt-notificationhubs/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/notificationhubs/azure-mgmt-notificationhubs/setup.py b/sdk/notificationhubs/azure-mgmt-notificationhubs/setup.py index eeb2ec32a09d..32f04bae1875 100644 --- a/sdk/notificationhubs/azure-mgmt-notificationhubs/setup.py +++ b/sdk/notificationhubs/azure-mgmt-notificationhubs/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 5 - Production/Stable', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.3.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/nspkg/azure-mgmt-datalake-nspkg/setup.py b/sdk/nspkg/azure-mgmt-datalake-nspkg/setup.py index 2194452d433a..1586c9068c41 100644 --- a/sdk/nspkg/azure-mgmt-datalake-nspkg/setup.py +++ b/sdk/nspkg/azure-mgmt-datalake-nspkg/setup.py @@ -8,20 +8,6 @@ import sys from setuptools import setup -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass PACKAGES = [] # Do an empty package on Python 3 and not python_requires, since not everybody is ready @@ -43,11 +29,8 @@ classifiers=[ 'Development Status :: 5 - Production/Stable', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'License :: OSI Approved :: MIT License', ], diff --git a/sdk/nspkg/azure-mgmt-nspkg/setup.py b/sdk/nspkg/azure-mgmt-nspkg/setup.py index c2670c8e6d8b..c8170c80d4c3 100644 --- a/sdk/nspkg/azure-mgmt-nspkg/setup.py +++ b/sdk/nspkg/azure-mgmt-nspkg/setup.py @@ -8,20 +8,6 @@ import sys from setuptools import setup -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass PACKAGES = [] # Do an empty package on Python 3 and not python_requires, since not everybody is ready @@ -43,12 +29,10 @@ classifiers=[ 'Development Status :: 5 - Production/Stable', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'License :: OSI Approved :: MIT License', ], diff --git a/sdk/operationsmanagement/azure-mgmt-operationsmanagement/README.md b/sdk/operationsmanagement/azure-mgmt-operationsmanagement/README.md index 3f69443d070b..05f50ec814a1 100644 --- a/sdk/operationsmanagement/azure-mgmt-operationsmanagement/README.md +++ b/sdk/operationsmanagement/azure-mgmt-operationsmanagement/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/operationsmanagement/azure-mgmt-operationsmanagement/setup.cfg b/sdk/operationsmanagement/azure-mgmt-operationsmanagement/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/operationsmanagement/azure-mgmt-operationsmanagement/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/operationsmanagement/azure-mgmt-operationsmanagement/setup.py b/sdk/operationsmanagement/azure-mgmt-operationsmanagement/setup.py index c49e12c26676..fbae44944b01 100644 --- a/sdk/operationsmanagement/azure-mgmt-operationsmanagement/setup.py +++ b/sdk/operationsmanagement/azure-mgmt-operationsmanagement/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/orbital/azure-mgmt-orbital/README.md b/sdk/orbital/azure-mgmt-orbital/README.md index 6be4f85cc87a..dde171be5f70 100644 --- a/sdk/orbital/azure-mgmt-orbital/README.md +++ b/sdk/orbital/azure-mgmt-orbital/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/orbital/azure-mgmt-orbital/setup.cfg b/sdk/orbital/azure-mgmt-orbital/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/orbital/azure-mgmt-orbital/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/orbital/azure-mgmt-orbital/setup.py b/sdk/orbital/azure-mgmt-orbital/setup.py index 276333d3afe0..0cc6c489cde6 100644 --- a/sdk/orbital/azure-mgmt-orbital/setup.py +++ b/sdk/orbital/azure-mgmt-orbital/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/peering/azure-mgmt-peering/README.md b/sdk/peering/azure-mgmt-peering/README.md index f6d4053a936e..0d9e29d3906a 100644 --- a/sdk/peering/azure-mgmt-peering/README.md +++ b/sdk/peering/azure-mgmt-peering/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/peering/azure-mgmt-peering/setup.cfg b/sdk/peering/azure-mgmt-peering/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/peering/azure-mgmt-peering/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/peering/azure-mgmt-peering/setup.py b/sdk/peering/azure-mgmt-peering/setup.py index 077934139dc9..422085f50b61 100644 --- a/sdk/peering/azure-mgmt-peering/setup.py +++ b/sdk/peering/azure-mgmt-peering/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/policyinsights/azure-mgmt-policyinsights/README.md b/sdk/policyinsights/azure-mgmt-policyinsights/README.md index 5b0cfc60dffb..4493381a6ceb 100644 --- a/sdk/policyinsights/azure-mgmt-policyinsights/README.md +++ b/sdk/policyinsights/azure-mgmt-policyinsights/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/policyinsights/azure-mgmt-policyinsights/setup.cfg b/sdk/policyinsights/azure-mgmt-policyinsights/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/policyinsights/azure-mgmt-policyinsights/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/policyinsights/azure-mgmt-policyinsights/setup.py b/sdk/policyinsights/azure-mgmt-policyinsights/setup.py index c63f94d8e9a1..990d045938d1 100644 --- a/sdk/policyinsights/azure-mgmt-policyinsights/setup.py +++ b/sdk/policyinsights/azure-mgmt-policyinsights/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/portal/azure-mgmt-portal/README.md b/sdk/portal/azure-mgmt-portal/README.md index 43cc5310b5bd..575ef0933aa6 100644 --- a/sdk/portal/azure-mgmt-portal/README.md +++ b/sdk/portal/azure-mgmt-portal/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/portal/azure-mgmt-portal/setup.cfg b/sdk/portal/azure-mgmt-portal/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/portal/azure-mgmt-portal/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/portal/azure-mgmt-portal/setup.py b/sdk/portal/azure-mgmt-portal/setup.py index 260b0a49df06..1869d4eec455 100644 --- a/sdk/portal/azure-mgmt-portal/setup.py +++ b/sdk/portal/azure-mgmt-portal/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 5 - Production/Stable', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/powerbidedicated/azure-mgmt-powerbidedicated/README.md b/sdk/powerbidedicated/azure-mgmt-powerbidedicated/README.md index df9ebf73a3ab..d305850cc144 100644 --- a/sdk/powerbidedicated/azure-mgmt-powerbidedicated/README.md +++ b/sdk/powerbidedicated/azure-mgmt-powerbidedicated/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/powerbidedicated/azure-mgmt-powerbidedicated/setup.cfg b/sdk/powerbidedicated/azure-mgmt-powerbidedicated/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/powerbidedicated/azure-mgmt-powerbidedicated/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/powerbidedicated/azure-mgmt-powerbidedicated/setup.py b/sdk/powerbidedicated/azure-mgmt-powerbidedicated/setup.py index e5a2382b6ae9..47d60e45b955 100644 --- a/sdk/powerbidedicated/azure-mgmt-powerbidedicated/setup.py +++ b/sdk/powerbidedicated/azure-mgmt-powerbidedicated/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/powerbiembedded/azure-mgmt-powerbiembedded/README.md b/sdk/powerbiembedded/azure-mgmt-powerbiembedded/README.md index d459c0168aa0..20547f91a6c5 100644 --- a/sdk/powerbiembedded/azure-mgmt-powerbiembedded/README.md +++ b/sdk/powerbiembedded/azure-mgmt-powerbiembedded/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/powerbiembedded/azure-mgmt-powerbiembedded/setup.cfg b/sdk/powerbiembedded/azure-mgmt-powerbiembedded/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/powerbiembedded/azure-mgmt-powerbiembedded/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/powerbiembedded/azure-mgmt-powerbiembedded/setup.py b/sdk/powerbiembedded/azure-mgmt-powerbiembedded/setup.py index ebc79600a072..4c5daca54e93 100644 --- a/sdk/powerbiembedded/azure-mgmt-powerbiembedded/setup.py +++ b/sdk/powerbiembedded/azure-mgmt-powerbiembedded/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 5 - Production/Stable', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'msrestazure>=0.4.32,<2.0.0', 'azure-common~=1.1', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/purview/azure-mgmt-purview/README.md b/sdk/purview/azure-mgmt-purview/README.md index b9ba7df6dc0a..ac484f84cf2d 100644 --- a/sdk/purview/azure-mgmt-purview/README.md +++ b/sdk/purview/azure-mgmt-purview/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/purview/azure-mgmt-purview/setup.cfg b/sdk/purview/azure-mgmt-purview/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/purview/azure-mgmt-purview/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/purview/azure-mgmt-purview/setup.py b/sdk/purview/azure-mgmt-purview/setup.py index df0217f82947..db88c19ce8df 100644 --- a/sdk/purview/azure-mgmt-purview/setup.py +++ b/sdk/purview/azure-mgmt-purview/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/quantum/azure-mgmt-quantum/README.md b/sdk/quantum/azure-mgmt-quantum/README.md index c98d6474c783..f7b8f8b1a878 100644 --- a/sdk/quantum/azure-mgmt-quantum/README.md +++ b/sdk/quantum/azure-mgmt-quantum/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/quantum/azure-mgmt-quantum/setup.cfg b/sdk/quantum/azure-mgmt-quantum/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/quantum/azure-mgmt-quantum/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/quantum/azure-mgmt-quantum/setup.py b/sdk/quantum/azure-mgmt-quantum/setup.py index b498eabfeadb..d236d7476787 100644 --- a/sdk/quantum/azure-mgmt-quantum/setup.py +++ b/sdk/quantum/azure-mgmt-quantum/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/quota/azure-mgmt-quota/README.md b/sdk/quota/azure-mgmt-quota/README.md index a72971e687f0..ec442d5ce0c3 100644 --- a/sdk/quota/azure-mgmt-quota/README.md +++ b/sdk/quota/azure-mgmt-quota/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/quota/azure-mgmt-quota/setup.cfg b/sdk/quota/azure-mgmt-quota/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/quota/azure-mgmt-quota/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/quota/azure-mgmt-quota/setup.py b/sdk/quota/azure-mgmt-quota/setup.py index c86f9d964540..c97254fc9b99 100644 --- a/sdk/quota/azure-mgmt-quota/setup.py +++ b/sdk/quota/azure-mgmt-quota/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/rdbms/azure-mgmt-rdbms/README.md b/sdk/rdbms/azure-mgmt-rdbms/README.md index f1f3f8b0adf3..64378fdc0db8 100644 --- a/sdk/rdbms/azure-mgmt-rdbms/README.md +++ b/sdk/rdbms/azure-mgmt-rdbms/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/rdbms/azure-mgmt-rdbms/setup.cfg b/sdk/rdbms/azure-mgmt-rdbms/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/rdbms/azure-mgmt-rdbms/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/rdbms/azure-mgmt-rdbms/setup.py b/sdk/rdbms/azure-mgmt-rdbms/setup.py index 123a9934ee54..985353912c03 100644 --- a/sdk/rdbms/azure-mgmt-rdbms/setup.py +++ b/sdk/rdbms/azure-mgmt-rdbms/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 5 - Production/Stable', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservices/README.md b/sdk/recoveryservices/azure-mgmt-recoveryservices/README.md index 1258995d07e2..102ef8ed6fb8 100644 --- a/sdk/recoveryservices/azure-mgmt-recoveryservices/README.md +++ b/sdk/recoveryservices/azure-mgmt-recoveryservices/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservices/setup.cfg b/sdk/recoveryservices/azure-mgmt-recoveryservices/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/recoveryservices/azure-mgmt-recoveryservices/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservices/setup.py b/sdk/recoveryservices/azure-mgmt-recoveryservices/setup.py index f67ee8265711..a2010db0f96b 100644 --- a/sdk/recoveryservices/azure-mgmt-recoveryservices/setup.py +++ b/sdk/recoveryservices/azure-mgmt-recoveryservices/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservicesbackup/README.md b/sdk/recoveryservices/azure-mgmt-recoveryservicesbackup/README.md index d8909e95736f..cc138842beaa 100644 --- a/sdk/recoveryservices/azure-mgmt-recoveryservicesbackup/README.md +++ b/sdk/recoveryservices/azure-mgmt-recoveryservicesbackup/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservicesbackup/setup.cfg b/sdk/recoveryservices/azure-mgmt-recoveryservicesbackup/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/recoveryservices/azure-mgmt-recoveryservicesbackup/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservicesbackup/setup.py b/sdk/recoveryservices/azure-mgmt-recoveryservicesbackup/setup.py index 71442cadabc3..9e9dc746e958 100644 --- a/sdk/recoveryservices/azure-mgmt-recoveryservicesbackup/setup.py +++ b/sdk/recoveryservices/azure-mgmt-recoveryservicesbackup/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.3.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/README.md b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/README.md index 7faaaade3838..d69b208804b4 100644 --- a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/README.md +++ b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/setup.cfg b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/setup.py b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/setup.py index 07ec5ebf7a22..79d50becc450 100644 --- a/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/setup.py +++ b/sdk/recoveryservices/azure-mgmt-recoveryservicessiterecovery/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/README.md b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/README.md index c4d1b9d683d9..50c36d6f8819 100644 --- a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/README.md +++ b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/setup.cfg b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/setup.py b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/setup.py index 907d424531bb..6464f93b9fe0 100644 --- a/sdk/redhatopenshift/azure-mgmt-redhatopenshift/setup.py +++ b/sdk/redhatopenshift/azure-mgmt-redhatopenshift/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 5 - Production/Stable', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/redis/azure-mgmt-redis/README.md b/sdk/redis/azure-mgmt-redis/README.md index fb5e4e6ebe43..563032751eb8 100644 --- a/sdk/redis/azure-mgmt-redis/README.md +++ b/sdk/redis/azure-mgmt-redis/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/redis/azure-mgmt-redis/setup.cfg b/sdk/redis/azure-mgmt-redis/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/redis/azure-mgmt-redis/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/redis/azure-mgmt-redis/setup.py b/sdk/redis/azure-mgmt-redis/setup.py index 2febcc2c7152..6fa1c5bd0f42 100644 --- a/sdk/redis/azure-mgmt-redis/setup.py +++ b/sdk/redis/azure-mgmt-redis/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 5 - Production/Stable', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.3.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/redisenterprise/azure-mgmt-redisenterprise/README.md b/sdk/redisenterprise/azure-mgmt-redisenterprise/README.md index cc8b3a711e68..d95682a12de8 100644 --- a/sdk/redisenterprise/azure-mgmt-redisenterprise/README.md +++ b/sdk/redisenterprise/azure-mgmt-redisenterprise/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/redisenterprise/azure-mgmt-redisenterprise/setup.cfg b/sdk/redisenterprise/azure-mgmt-redisenterprise/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/redisenterprise/azure-mgmt-redisenterprise/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/redisenterprise/azure-mgmt-redisenterprise/setup.py b/sdk/redisenterprise/azure-mgmt-redisenterprise/setup.py index ad1395c72304..107a4271f858 100644 --- a/sdk/redisenterprise/azure-mgmt-redisenterprise/setup.py +++ b/sdk/redisenterprise/azure-mgmt-redisenterprise/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/regionmove/azure-mgmt-regionmove/README.md b/sdk/regionmove/azure-mgmt-regionmove/README.md index 9fa9208007bb..e0ea8a55f099 100644 --- a/sdk/regionmove/azure-mgmt-regionmove/README.md +++ b/sdk/regionmove/azure-mgmt-regionmove/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/regionmove/azure-mgmt-regionmove/setup.cfg b/sdk/regionmove/azure-mgmt-regionmove/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/regionmove/azure-mgmt-regionmove/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/regionmove/azure-mgmt-regionmove/setup.py b/sdk/regionmove/azure-mgmt-regionmove/setup.py index 034485ab52af..d8a97ba7589b 100644 --- a/sdk/regionmove/azure-mgmt-regionmove/setup.py +++ b/sdk/regionmove/azure-mgmt-regionmove/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/relay/azure-mgmt-relay/README.md b/sdk/relay/azure-mgmt-relay/README.md index 98fde65e1519..fc6a25b611fb 100644 --- a/sdk/relay/azure-mgmt-relay/README.md +++ b/sdk/relay/azure-mgmt-relay/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/relay/azure-mgmt-relay/setup.cfg b/sdk/relay/azure-mgmt-relay/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/relay/azure-mgmt-relay/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/relay/azure-mgmt-relay/setup.py b/sdk/relay/azure-mgmt-relay/setup.py index 062afb46c0d6..bf1e6d35e166 100644 --- a/sdk/relay/azure-mgmt-relay/setup.py +++ b/sdk/relay/azure-mgmt-relay/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/reservations/azure-mgmt-reservations/README.md b/sdk/reservations/azure-mgmt-reservations/README.md index 6bf8940ae345..74085cac3632 100644 --- a/sdk/reservations/azure-mgmt-reservations/README.md +++ b/sdk/reservations/azure-mgmt-reservations/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/reservations/azure-mgmt-reservations/setup.cfg b/sdk/reservations/azure-mgmt-reservations/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/reservations/azure-mgmt-reservations/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/reservations/azure-mgmt-reservations/setup.py b/sdk/reservations/azure-mgmt-reservations/setup.py index 88a210dda47f..68661869919c 100644 --- a/sdk/reservations/azure-mgmt-reservations/setup.py +++ b/sdk/reservations/azure-mgmt-reservations/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/resourceconnector/azure-mgmt-resourceconnector/README.md b/sdk/resourceconnector/azure-mgmt-resourceconnector/README.md index c98b919aef10..1aea39d61207 100644 --- a/sdk/resourceconnector/azure-mgmt-resourceconnector/README.md +++ b/sdk/resourceconnector/azure-mgmt-resourceconnector/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/resourceconnector/azure-mgmt-resourceconnector/setup.cfg b/sdk/resourceconnector/azure-mgmt-resourceconnector/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/resourceconnector/azure-mgmt-resourceconnector/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/resourceconnector/azure-mgmt-resourceconnector/setup.py b/sdk/resourceconnector/azure-mgmt-resourceconnector/setup.py index 1c912489172a..bea5b37e7356 100644 --- a/sdk/resourceconnector/azure-mgmt-resourceconnector/setup.py +++ b/sdk/resourceconnector/azure-mgmt-resourceconnector/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/resourcehealth/azure-mgmt-resourcehealth/README.md b/sdk/resourcehealth/azure-mgmt-resourcehealth/README.md index 8bfbfabebf60..6730107e6bd6 100644 --- a/sdk/resourcehealth/azure-mgmt-resourcehealth/README.md +++ b/sdk/resourcehealth/azure-mgmt-resourcehealth/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/resourcehealth/azure-mgmt-resourcehealth/setup.cfg b/sdk/resourcehealth/azure-mgmt-resourcehealth/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/resourcehealth/azure-mgmt-resourcehealth/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/resourcehealth/azure-mgmt-resourcehealth/setup.py b/sdk/resourcehealth/azure-mgmt-resourcehealth/setup.py index b169421f8237..d80d0900f864 100644 --- a/sdk/resourcehealth/azure-mgmt-resourcehealth/setup.py +++ b/sdk/resourcehealth/azure-mgmt-resourcehealth/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/resourcemover/azure-mgmt-resourcemover/README.md b/sdk/resourcemover/azure-mgmt-resourcemover/README.md index 129de5149f4f..736c90f516b0 100644 --- a/sdk/resourcemover/azure-mgmt-resourcemover/README.md +++ b/sdk/resourcemover/azure-mgmt-resourcemover/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/resourcemover/azure-mgmt-resourcemover/setup.cfg b/sdk/resourcemover/azure-mgmt-resourcemover/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/resourcemover/azure-mgmt-resourcemover/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/resourcemover/azure-mgmt-resourcemover/setup.py b/sdk/resourcemover/azure-mgmt-resourcemover/setup.py index 86268e0764ab..0f2915426939 100644 --- a/sdk/resourcemover/azure-mgmt-resourcemover/setup.py +++ b/sdk/resourcemover/azure-mgmt-resourcemover/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/resources/azure-mgmt-msi/README.md b/sdk/resources/azure-mgmt-msi/README.md index 1676106478ff..5e7bd5ddc018 100644 --- a/sdk/resources/azure-mgmt-msi/README.md +++ b/sdk/resources/azure-mgmt-msi/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/resources/azure-mgmt-msi/setup.cfg b/sdk/resources/azure-mgmt-msi/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/resources/azure-mgmt-msi/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/resources/azure-mgmt-msi/setup.py b/sdk/resources/azure-mgmt-msi/setup.py index 851e49e5fbf9..21594e7600dd 100644 --- a/sdk/resources/azure-mgmt-msi/setup.py +++ b/sdk/resources/azure-mgmt-msi/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/resources/azure-mgmt-resource/README.md b/sdk/resources/azure-mgmt-resource/README.md index c95019d47d7b..dc3a90c3eba0 100644 --- a/sdk/resources/azure-mgmt-resource/README.md +++ b/sdk/resources/azure-mgmt-resource/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/resources/azure-mgmt-resource/setup.cfg b/sdk/resources/azure-mgmt-resource/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/resources/azure-mgmt-resource/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/resources/azure-mgmt-resource/setup.py b/sdk/resources/azure-mgmt-resource/setup.py index 9cf5e9effbd3..fd8a806c7078 100644 --- a/sdk/resources/azure-mgmt-resource/setup.py +++ b/sdk/resources/azure-mgmt-resource/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 5 - Production/Stable', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/resources/azure-mgmt-resourcegraph/README.md b/sdk/resources/azure-mgmt-resourcegraph/README.md index 404641650f84..c4200ae6f841 100644 --- a/sdk/resources/azure-mgmt-resourcegraph/README.md +++ b/sdk/resources/azure-mgmt-resourcegraph/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/resources/azure-mgmt-resourcegraph/setup.cfg b/sdk/resources/azure-mgmt-resourcegraph/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/resources/azure-mgmt-resourcegraph/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/resources/azure-mgmt-resourcegraph/setup.py b/sdk/resources/azure-mgmt-resourcegraph/setup.py index 21927ab364be..4dc651444292 100644 --- a/sdk/resources/azure-mgmt-resourcegraph/setup.py +++ b/sdk/resources/azure-mgmt-resourcegraph/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/scheduler/azure-mgmt-scheduler/README.md b/sdk/scheduler/azure-mgmt-scheduler/README.md index d21e700924f1..574111c29b17 100644 --- a/sdk/scheduler/azure-mgmt-scheduler/README.md +++ b/sdk/scheduler/azure-mgmt-scheduler/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/scheduler/azure-mgmt-scheduler/setup.cfg b/sdk/scheduler/azure-mgmt-scheduler/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/scheduler/azure-mgmt-scheduler/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/scheduler/azure-mgmt-scheduler/setup.py b/sdk/scheduler/azure-mgmt-scheduler/setup.py index fd1350f18808..691863e954ec 100644 --- a/sdk/scheduler/azure-mgmt-scheduler/setup.py +++ b/sdk/scheduler/azure-mgmt-scheduler/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 5 - Production/Stable', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/search/azure-mgmt-search/README.md b/sdk/search/azure-mgmt-search/README.md index f1095db92f9e..63188c66c7ee 100644 --- a/sdk/search/azure-mgmt-search/README.md +++ b/sdk/search/azure-mgmt-search/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/search/azure-mgmt-search/setup.cfg b/sdk/search/azure-mgmt-search/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/search/azure-mgmt-search/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/search/azure-mgmt-search/setup.py b/sdk/search/azure-mgmt-search/setup.py index f9da9a1f6eb2..5463c454dd63 100644 --- a/sdk/search/azure-mgmt-search/setup.py +++ b/sdk/search/azure-mgmt-search/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/security/azure-mgmt-security/README.md b/sdk/security/azure-mgmt-security/README.md index 813ba2d1c21a..aefa44d3feb0 100644 --- a/sdk/security/azure-mgmt-security/README.md +++ b/sdk/security/azure-mgmt-security/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/security/azure-mgmt-security/setup.cfg b/sdk/security/azure-mgmt-security/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/security/azure-mgmt-security/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/security/azure-mgmt-security/setup.py b/sdk/security/azure-mgmt-security/setup.py index 4f17444f76ee..8183561edb01 100644 --- a/sdk/security/azure-mgmt-security/setup.py +++ b/sdk/security/azure-mgmt-security/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/securityinsight/azure-mgmt-securityinsight/README.md b/sdk/securityinsight/azure-mgmt-securityinsight/README.md index 153e001bd4c1..8d109eadba43 100644 --- a/sdk/securityinsight/azure-mgmt-securityinsight/README.md +++ b/sdk/securityinsight/azure-mgmt-securityinsight/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/securityinsight/azure-mgmt-securityinsight/setup.cfg b/sdk/securityinsight/azure-mgmt-securityinsight/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/securityinsight/azure-mgmt-securityinsight/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/securityinsight/azure-mgmt-securityinsight/setup.py b/sdk/securityinsight/azure-mgmt-securityinsight/setup.py index b559549bf2b2..46b3159aa0d0 100644 --- a/sdk/securityinsight/azure-mgmt-securityinsight/setup.py +++ b/sdk/securityinsight/azure-mgmt-securityinsight/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/serialconsole/azure-mgmt-serialconsole/README.md b/sdk/serialconsole/azure-mgmt-serialconsole/README.md index f9911c92b6eb..c8be9232ccd1 100644 --- a/sdk/serialconsole/azure-mgmt-serialconsole/README.md +++ b/sdk/serialconsole/azure-mgmt-serialconsole/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/serialconsole/azure-mgmt-serialconsole/setup.cfg b/sdk/serialconsole/azure-mgmt-serialconsole/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/serialconsole/azure-mgmt-serialconsole/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/serialconsole/azure-mgmt-serialconsole/setup.py b/sdk/serialconsole/azure-mgmt-serialconsole/setup.py index de9df2aa5cb3..54c21ef141be 100644 --- a/sdk/serialconsole/azure-mgmt-serialconsole/setup.py +++ b/sdk/serialconsole/azure-mgmt-serialconsole/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/servermanager/azure-mgmt-servermanager/README.md b/sdk/servermanager/azure-mgmt-servermanager/README.md index 28c3f445e417..48653d6c5bbd 100644 --- a/sdk/servermanager/azure-mgmt-servermanager/README.md +++ b/sdk/servermanager/azure-mgmt-servermanager/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage @@ -12,7 +16,7 @@ To learn how to use this package, see the [quickstart guide](https://aka.ms/azsd -For docs and references, see [Python SDK References](https://docs.microsoft.com/python/api/overview/azure/server-manager) +For docs and references, see [Python SDK References](https://docs.microsoft.com/python/api/overview/azure) Code samples for this package can be found at [Server Manager Management](https://docs.microsoft.com/samples/browse/?languages=python&term=Getting%20started%20-%20Managing&terms=Getting%20started%20-%20Managing) on docs.microsoft.com. Additional code samples for different Azure services are available at [Samples Repo](https://aka.ms/azsdk/python/mgmt/samples) diff --git a/sdk/servermanager/azure-mgmt-servermanager/sdk_packaging.toml b/sdk/servermanager/azure-mgmt-servermanager/sdk_packaging.toml index 402f04cd8321..12225a0b97bd 100644 --- a/sdk/servermanager/azure-mgmt-servermanager/sdk_packaging.toml +++ b/sdk/servermanager/azure-mgmt-servermanager/sdk_packaging.toml @@ -1,5 +1,5 @@ [packaging] package_name = "azure-mgmt-servermanager" package_pprint_name = "Server Manager Management" -package_doc_id = "server-manager" +package_doc_id = "" is_stable = true diff --git a/sdk/servermanager/azure-mgmt-servermanager/setup.cfg b/sdk/servermanager/azure-mgmt-servermanager/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/servermanager/azure-mgmt-servermanager/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/servermanager/azure-mgmt-servermanager/setup.py b/sdk/servermanager/azure-mgmt-servermanager/setup.py index df275f0ddd49..276515aa5f81 100644 --- a/sdk/servermanager/azure-mgmt-servermanager/setup.py +++ b/sdk/servermanager/azure-mgmt-servermanager/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 5 - Production/Stable', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/servicebus/azure-mgmt-servicebus/README.md b/sdk/servicebus/azure-mgmt-servicebus/README.md index 35f5866226aa..96019a98f5bb 100644 --- a/sdk/servicebus/azure-mgmt-servicebus/README.md +++ b/sdk/servicebus/azure-mgmt-servicebus/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/servicebus/azure-mgmt-servicebus/setup.cfg b/sdk/servicebus/azure-mgmt-servicebus/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/servicebus/azure-mgmt-servicebus/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/servicebus/azure-mgmt-servicebus/setup.py b/sdk/servicebus/azure-mgmt-servicebus/setup.py index f531082fb0e5..3034077bb4e5 100644 --- a/sdk/servicebus/azure-mgmt-servicebus/setup.py +++ b/sdk/servicebus/azure-mgmt-servicebus/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/servicefabric/azure-mgmt-servicefabric/README.md b/sdk/servicefabric/azure-mgmt-servicefabric/README.md index ec3049ce942f..4aa503640616 100644 --- a/sdk/servicefabric/azure-mgmt-servicefabric/README.md +++ b/sdk/servicefabric/azure-mgmt-servicefabric/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/servicefabric/azure-mgmt-servicefabric/setup.cfg b/sdk/servicefabric/azure-mgmt-servicefabric/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/servicefabric/azure-mgmt-servicefabric/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/servicefabric/azure-mgmt-servicefabric/setup.py b/sdk/servicefabric/azure-mgmt-servicefabric/setup.py index c1e30c78447a..02a3aa838422 100644 --- a/sdk/servicefabric/azure-mgmt-servicefabric/setup.py +++ b/sdk/servicefabric/azure-mgmt-servicefabric/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/README.md b/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/README.md index 3b16c179b1aa..df31ceb4a4df 100644 --- a/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/README.md +++ b/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/setup.cfg b/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/setup.py b/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/setup.py index de3f3fc19165..f9e66e9edb2e 100644 --- a/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/setup.py +++ b/sdk/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/servicelinker/azure-mgmt-servicelinker/README.md b/sdk/servicelinker/azure-mgmt-servicelinker/README.md index e9480b939923..20b8a7fd7cf2 100644 --- a/sdk/servicelinker/azure-mgmt-servicelinker/README.md +++ b/sdk/servicelinker/azure-mgmt-servicelinker/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/servicelinker/azure-mgmt-servicelinker/setup.cfg b/sdk/servicelinker/azure-mgmt-servicelinker/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/servicelinker/azure-mgmt-servicelinker/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/servicelinker/azure-mgmt-servicelinker/setup.py b/sdk/servicelinker/azure-mgmt-servicelinker/setup.py index 27426dcd2e69..abc5d73a49c4 100644 --- a/sdk/servicelinker/azure-mgmt-servicelinker/setup.py +++ b/sdk/servicelinker/azure-mgmt-servicelinker/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/signalr/azure-mgmt-signalr/README.md b/sdk/signalr/azure-mgmt-signalr/README.md index 02dea2ac5008..897fced40131 100644 --- a/sdk/signalr/azure-mgmt-signalr/README.md +++ b/sdk/signalr/azure-mgmt-signalr/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/signalr/azure-mgmt-signalr/setup.cfg b/sdk/signalr/azure-mgmt-signalr/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/signalr/azure-mgmt-signalr/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/signalr/azure-mgmt-signalr/setup.py b/sdk/signalr/azure-mgmt-signalr/setup.py index 6b26ddb03ca1..0d912edcc31d 100644 --- a/sdk/signalr/azure-mgmt-signalr/setup.py +++ b/sdk/signalr/azure-mgmt-signalr/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/sql/azure-mgmt-sql/README.md b/sdk/sql/azure-mgmt-sql/README.md index f802f9cb25ed..1a15817d1d31 100644 --- a/sdk/sql/azure-mgmt-sql/README.md +++ b/sdk/sql/azure-mgmt-sql/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/sql/azure-mgmt-sql/setup.cfg b/sdk/sql/azure-mgmt-sql/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/sql/azure-mgmt-sql/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/sql/azure-mgmt-sql/setup.py b/sdk/sql/azure-mgmt-sql/setup.py index ffc9e28d59fa..c22e86de1410 100644 --- a/sdk/sql/azure-mgmt-sql/setup.py +++ b/sdk/sql/azure-mgmt-sql/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/sql/azure-mgmt-sqlvirtualmachine/README.md b/sdk/sql/azure-mgmt-sqlvirtualmachine/README.md index 1aaa8839cec6..9e4785a21e52 100644 --- a/sdk/sql/azure-mgmt-sqlvirtualmachine/README.md +++ b/sdk/sql/azure-mgmt-sqlvirtualmachine/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/sql/azure-mgmt-sqlvirtualmachine/setup.cfg b/sdk/sql/azure-mgmt-sqlvirtualmachine/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/sql/azure-mgmt-sqlvirtualmachine/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/sql/azure-mgmt-sqlvirtualmachine/setup.py b/sdk/sql/azure-mgmt-sqlvirtualmachine/setup.py index 1a1a3254953c..d6eea64d540d 100644 --- a/sdk/sql/azure-mgmt-sqlvirtualmachine/setup.py +++ b/sdk/sql/azure-mgmt-sqlvirtualmachine/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/storage/azure-mgmt-storage/README.md b/sdk/storage/azure-mgmt-storage/README.md index 24eac4791a89..d150d7fdb852 100644 --- a/sdk/storage/azure-mgmt-storage/README.md +++ b/sdk/storage/azure-mgmt-storage/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/storage/azure-mgmt-storage/setup.cfg b/sdk/storage/azure-mgmt-storage/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/storage/azure-mgmt-storage/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/storage/azure-mgmt-storage/setup.py b/sdk/storage/azure-mgmt-storage/setup.py index 51f445467eae..14778764249a 100644 --- a/sdk/storage/azure-mgmt-storage/setup.py +++ b/sdk/storage/azure-mgmt-storage/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 5 - Production/Stable', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/storage/azure-mgmt-storagecache/README.md b/sdk/storage/azure-mgmt-storagecache/README.md index 5f8588da6e34..590e20ecf754 100644 --- a/sdk/storage/azure-mgmt-storagecache/README.md +++ b/sdk/storage/azure-mgmt-storagecache/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/storage/azure-mgmt-storagecache/setup.cfg b/sdk/storage/azure-mgmt-storagecache/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/storage/azure-mgmt-storagecache/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/storage/azure-mgmt-storagecache/setup.py b/sdk/storage/azure-mgmt-storagecache/setup.py index 3ddc9c28f9be..3b63201ac60a 100644 --- a/sdk/storage/azure-mgmt-storagecache/setup.py +++ b/sdk/storage/azure-mgmt-storagecache/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/storage/azure-mgmt-storageimportexport/README.md b/sdk/storage/azure-mgmt-storageimportexport/README.md index 046839de6ea1..5eed21c42ec5 100644 --- a/sdk/storage/azure-mgmt-storageimportexport/README.md +++ b/sdk/storage/azure-mgmt-storageimportexport/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/storage/azure-mgmt-storageimportexport/setup.cfg b/sdk/storage/azure-mgmt-storageimportexport/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/storage/azure-mgmt-storageimportexport/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/storage/azure-mgmt-storageimportexport/setup.py b/sdk/storage/azure-mgmt-storageimportexport/setup.py index 3f6726d20fed..20a4f9c07113 100644 --- a/sdk/storage/azure-mgmt-storageimportexport/setup.py +++ b/sdk/storage/azure-mgmt-storageimportexport/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/storage/azure-mgmt-storagesync/README.md b/sdk/storage/azure-mgmt-storagesync/README.md index 945dfc1a4da4..a784bffa2a3d 100644 --- a/sdk/storage/azure-mgmt-storagesync/README.md +++ b/sdk/storage/azure-mgmt-storagesync/README.md @@ -14,6 +14,10 @@ library. For a more complete set of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + ## Usage diff --git a/sdk/storage/azure-mgmt-storagesync/setup.cfg b/sdk/storage/azure-mgmt-storagesync/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/storage/azure-mgmt-storagesync/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/storage/azure-mgmt-storagesync/setup.py b/sdk/storage/azure-mgmt-storagesync/setup.py index bc9bf4d4ff8c..97e6e2f4de74 100644 --- a/sdk/storage/azure-mgmt-storagesync/setup.py +++ b/sdk/storage/azure-mgmt-storagesync/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, '_version.py'), 'r') as fd: @@ -61,11 +47,9 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.5', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'License :: OSI Approved :: MIT License', @@ -82,7 +66,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/storagepool/azure-mgmt-storagepool/README.md b/sdk/storagepool/azure-mgmt-storagepool/README.md index 9085d2546e8e..d6cbb629a1c3 100644 --- a/sdk/storagepool/azure-mgmt-storagepool/README.md +++ b/sdk/storagepool/azure-mgmt-storagepool/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/storagepool/azure-mgmt-storagepool/setup.cfg b/sdk/storagepool/azure-mgmt-storagepool/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/storagepool/azure-mgmt-storagepool/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/storagepool/azure-mgmt-storagepool/setup.py b/sdk/storagepool/azure-mgmt-storagepool/setup.py index 24fd2a46458e..3a5a7292df75 100644 --- a/sdk/storagepool/azure-mgmt-storagepool/setup.py +++ b/sdk/storagepool/azure-mgmt-storagepool/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/streamanalytics/azure-mgmt-streamanalytics/README.md b/sdk/streamanalytics/azure-mgmt-streamanalytics/README.md index 490e75d235c9..578cd7162ee2 100644 --- a/sdk/streamanalytics/azure-mgmt-streamanalytics/README.md +++ b/sdk/streamanalytics/azure-mgmt-streamanalytics/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/streamanalytics/azure-mgmt-streamanalytics/setup.cfg b/sdk/streamanalytics/azure-mgmt-streamanalytics/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/streamanalytics/azure-mgmt-streamanalytics/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/streamanalytics/azure-mgmt-streamanalytics/setup.py b/sdk/streamanalytics/azure-mgmt-streamanalytics/setup.py index adb65843ff71..646534c52381 100644 --- a/sdk/streamanalytics/azure-mgmt-streamanalytics/setup.py +++ b/sdk/streamanalytics/azure-mgmt-streamanalytics/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/subscription/azure-mgmt-subscription/README.md b/sdk/subscription/azure-mgmt-subscription/README.md index 02c20d853a2e..b6d634f7fae0 100644 --- a/sdk/subscription/azure-mgmt-subscription/README.md +++ b/sdk/subscription/azure-mgmt-subscription/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/subscription/azure-mgmt-subscription/setup.cfg b/sdk/subscription/azure-mgmt-subscription/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/subscription/azure-mgmt-subscription/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/subscription/azure-mgmt-subscription/setup.py b/sdk/subscription/azure-mgmt-subscription/setup.py index e1dc841d4b48..771c8484d130 100644 --- a/sdk/subscription/azure-mgmt-subscription/setup.py +++ b/sdk/subscription/azure-mgmt-subscription/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/support/azure-mgmt-support/README.md b/sdk/support/azure-mgmt-support/README.md index 3f04f44e4c56..de1e05b2daba 100644 --- a/sdk/support/azure-mgmt-support/README.md +++ b/sdk/support/azure-mgmt-support/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/support/azure-mgmt-support/setup.cfg b/sdk/support/azure-mgmt-support/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/support/azure-mgmt-support/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/support/azure-mgmt-support/setup.py b/sdk/support/azure-mgmt-support/setup.py index c9bb178d5bb3..7412df9d6cb4 100644 --- a/sdk/support/azure-mgmt-support/setup.py +++ b/sdk/support/azure-mgmt-support/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/synapse/azure-mgmt-synapse/README.md b/sdk/synapse/azure-mgmt-synapse/README.md index 071cc2b3cbc6..5fd268338845 100644 --- a/sdk/synapse/azure-mgmt-synapse/README.md +++ b/sdk/synapse/azure-mgmt-synapse/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/synapse/azure-mgmt-synapse/setup.cfg b/sdk/synapse/azure-mgmt-synapse/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/synapse/azure-mgmt-synapse/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/synapse/azure-mgmt-synapse/setup.py b/sdk/synapse/azure-mgmt-synapse/setup.py index 5a1b10c6d53a..1320b7fa1ebd 100644 --- a/sdk/synapse/azure-mgmt-synapse/setup.py +++ b/sdk/synapse/azure-mgmt-synapse/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/testbase/azure-mgmt-testbase/README.md b/sdk/testbase/azure-mgmt-testbase/README.md index bf729307b9dc..0e86c3b4c728 100644 --- a/sdk/testbase/azure-mgmt-testbase/README.md +++ b/sdk/testbase/azure-mgmt-testbase/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/testbase/azure-mgmt-testbase/setup.cfg b/sdk/testbase/azure-mgmt-testbase/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/testbase/azure-mgmt-testbase/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/testbase/azure-mgmt-testbase/setup.py b/sdk/testbase/azure-mgmt-testbase/setup.py index 6ef117ed54af..df4617388374 100644 --- a/sdk/testbase/azure-mgmt-testbase/setup.py +++ b/sdk/testbase/azure-mgmt-testbase/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/timeseriesinsights/azure-mgmt-timeseriesinsights/README.md b/sdk/timeseriesinsights/azure-mgmt-timeseriesinsights/README.md index 32e541fd1b2a..c4690532b3eb 100644 --- a/sdk/timeseriesinsights/azure-mgmt-timeseriesinsights/README.md +++ b/sdk/timeseriesinsights/azure-mgmt-timeseriesinsights/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/timeseriesinsights/azure-mgmt-timeseriesinsights/setup.cfg b/sdk/timeseriesinsights/azure-mgmt-timeseriesinsights/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/timeseriesinsights/azure-mgmt-timeseriesinsights/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/timeseriesinsights/azure-mgmt-timeseriesinsights/setup.py b/sdk/timeseriesinsights/azure-mgmt-timeseriesinsights/setup.py index da048408fa49..d6239b4c2094 100644 --- a/sdk/timeseriesinsights/azure-mgmt-timeseriesinsights/setup.py +++ b/sdk/timeseriesinsights/azure-mgmt-timeseriesinsights/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/trafficmanager/azure-mgmt-trafficmanager/README.md b/sdk/trafficmanager/azure-mgmt-trafficmanager/README.md index 84c61e7f5ba2..c9d81df5df19 100644 --- a/sdk/trafficmanager/azure-mgmt-trafficmanager/README.md +++ b/sdk/trafficmanager/azure-mgmt-trafficmanager/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/trafficmanager/azure-mgmt-trafficmanager/setup.cfg b/sdk/trafficmanager/azure-mgmt-trafficmanager/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/trafficmanager/azure-mgmt-trafficmanager/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/trafficmanager/azure-mgmt-trafficmanager/setup.py b/sdk/trafficmanager/azure-mgmt-trafficmanager/setup.py index 5f895d009249..1684859e1807 100644 --- a/sdk/trafficmanager/azure-mgmt-trafficmanager/setup.py +++ b/sdk/trafficmanager/azure-mgmt-trafficmanager/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/videoanalyzer/azure-mgmt-videoanalyzer/README.md b/sdk/videoanalyzer/azure-mgmt-videoanalyzer/README.md index 82ded434cb91..d2cb0dd74dc8 100644 --- a/sdk/videoanalyzer/azure-mgmt-videoanalyzer/README.md +++ b/sdk/videoanalyzer/azure-mgmt-videoanalyzer/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/videoanalyzer/azure-mgmt-videoanalyzer/setup.cfg b/sdk/videoanalyzer/azure-mgmt-videoanalyzer/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/videoanalyzer/azure-mgmt-videoanalyzer/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/videoanalyzer/azure-mgmt-videoanalyzer/setup.py b/sdk/videoanalyzer/azure-mgmt-videoanalyzer/setup.py index 301e4db82fef..f90efb05144a 100644 --- a/sdk/videoanalyzer/azure-mgmt-videoanalyzer/setup.py +++ b/sdk/videoanalyzer/azure-mgmt-videoanalyzer/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/webpubsub/azure-mgmt-webpubsub/README.md b/sdk/webpubsub/azure-mgmt-webpubsub/README.md index e2acd9ef06a7..d68a8591c44c 100644 --- a/sdk/webpubsub/azure-mgmt-webpubsub/README.md +++ b/sdk/webpubsub/azure-mgmt-webpubsub/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/webpubsub/azure-mgmt-webpubsub/setup.cfg b/sdk/webpubsub/azure-mgmt-webpubsub/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/webpubsub/azure-mgmt-webpubsub/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/webpubsub/azure-mgmt-webpubsub/setup.py b/sdk/webpubsub/azure-mgmt-webpubsub/setup.py index 893d1e293a9e..1f8fa4ee2900 100644 --- a/sdk/webpubsub/azure-mgmt-webpubsub/setup.py +++ b/sdk/webpubsub/azure-mgmt-webpubsub/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", ) diff --git a/sdk/workloadmonitor/azure-mgmt-workloadmonitor/README.md b/sdk/workloadmonitor/azure-mgmt-workloadmonitor/README.md index b18a32a7a3ac..40a439e063f7 100644 --- a/sdk/workloadmonitor/azure-mgmt-workloadmonitor/README.md +++ b/sdk/workloadmonitor/azure-mgmt-workloadmonitor/README.md @@ -5,6 +5,10 @@ This package has been tested with Python 2.7, 3.6+. For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). +## _Disclaimer_ + +_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_ + # Usage diff --git a/sdk/workloadmonitor/azure-mgmt-workloadmonitor/setup.cfg b/sdk/workloadmonitor/azure-mgmt-workloadmonitor/setup.cfg deleted file mode 100644 index 3c6e79cf31da..000000000000 --- a/sdk/workloadmonitor/azure-mgmt-workloadmonitor/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal=1 diff --git a/sdk/workloadmonitor/azure-mgmt-workloadmonitor/setup.py b/sdk/workloadmonitor/azure-mgmt-workloadmonitor/setup.py index a4e548dbc8cc..315b7dec5b6f 100644 --- a/sdk/workloadmonitor/azure-mgmt-workloadmonitor/setup.py +++ b/sdk/workloadmonitor/azure-mgmt-workloadmonitor/setup.py @@ -20,20 +20,6 @@ # a-b-c => a.b.c namespace_name = PACKAGE_NAME.replace('-', '.') -# azure v0.x is not compatible with this package -# azure v0.x used to have a __version__ attribute (newer versions don't) -try: - import azure - try: - ver = azure.__version__ - raise Exception( - 'This package is incompatible with azure=={}. '.format(ver) + - 'Uninstall it with "pip uninstall azure".' - ) - except AttributeError: - pass -except ImportError: - pass # Version extraction inspired from 'requests' with open(os.path.join(package_folder_path, 'version.py') @@ -63,10 +49,8 @@ classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', @@ -85,7 +69,5 @@ 'azure-common~=1.1', 'azure-mgmt-core>=1.2.0,<2.0.0', ], - extras_require={ - ":python_version<'3.0'": ['azure-mgmt-nspkg'], - } + python_requires=">=3.7", )