From ad79fd81e67049719bb1aa6e515d3e95b5ac4b3c Mon Sep 17 00:00:00 2001 From: YalinLi0312 Date: Thu, 4 Aug 2022 15:46:52 -0700 Subject: [PATCH 1/3] Drop Python 3.6 --- sdk/containerregistry/azure-containerregistry/CHANGELOG.md | 1 + sdk/containerregistry/azure-containerregistry/README.md | 3 ++- .../azure-containerregistry/samples/README.md | 3 +-- sdk/containerregistry/azure-containerregistry/setup.py | 3 +-- .../azure-containerregistry/tests/perfstress_tests/README.md | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sdk/containerregistry/azure-containerregistry/CHANGELOG.md b/sdk/containerregistry/azure-containerregistry/CHANGELOG.md index bd634484de49..2533a7b8405f 100644 --- a/sdk/containerregistry/azure-containerregistry/CHANGELOG.md +++ b/sdk/containerregistry/azure-containerregistry/CHANGELOG.md @@ -9,6 +9,7 @@ ### Bugs Fixed ### Other Changes +* Python 3.6 is no longer supported. Please use Python version 3.7 or later. ## 1.1.0b1 (2022-05-10) diff --git a/sdk/containerregistry/azure-containerregistry/README.md b/sdk/containerregistry/azure-containerregistry/README.md index ed9ed8894c34..28d7e865a8a0 100644 --- a/sdk/containerregistry/azure-containerregistry/README.md +++ b/sdk/containerregistry/azure-containerregistry/README.md @@ -14,6 +14,7 @@ Use the client library for Azure Container Registry to: ## _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_ +_Python 3.7 or later is required to use this package. For more details, please refer to [Azure SDK for Python version support policy](https://github.com/Azure/azure-sdk-for-python/wiki/Azure-SDKs-Python-version-support-policy)._ ## Getting started @@ -27,7 +28,7 @@ pip install --pre azure-containerregistry ### Prerequisites -* Python 3.6 or later is required to use this package. +* Python 3.7 or later is required to use this package. * You need an [Azure subscription][azure_sub] and a [Container Registry account][container_registry_docs] to use this package. To create a new Container Registry, you can use the [Azure Portal][container_registry_create_portal], diff --git a/sdk/containerregistry/azure-containerregistry/samples/README.md b/sdk/containerregistry/azure-containerregistry/samples/README.md index ebe2245b92ec..bcd52e253def 100644 --- a/sdk/containerregistry/azure-containerregistry/samples/README.md +++ b/sdk/containerregistry/azure-containerregistry/samples/README.md @@ -11,7 +11,6 @@ urlFragment: containerregistry-samples # Samples for Azure Container Registry These code samples show common scenario operations with the Azure Container Registry client library. The code samples assume an environment variable `CONTAINERREGISTRY_ENDPOINT` is set, which includes the name of the login server and the `https://` prefix. For more information on using AAD with Azure Container Registry, please see the service's [Authentication Overview](https://docs.microsoft.com/azure/container-registry/container-registry-authentication). -The async versions of the samples require Python 3.6 or later. |**File Name**|**Description**| @@ -23,7 +22,7 @@ The async versions of the samples require Python 3.6 or later. |[sample_list_tags.py][list_tags] ([sample_list_tags_async.py][list_tags_async]) | List tags on an image with anonymous access | ### Prerequisites -* Python 3.6 or later is required to use this package. +* Python 3.7 or later is required to use this package. * You need an [Azure subscription][azure_sub] and a [Container Registry account][container_registry_docs] to use this package. ## Setup diff --git a/sdk/containerregistry/azure-containerregistry/setup.py b/sdk/containerregistry/azure-containerregistry/setup.py index e6a860707bed..5e0d1195a67b 100644 --- a/sdk/containerregistry/azure-containerregistry/setup.py +++ b/sdk/containerregistry/azure-containerregistry/setup.py @@ -39,7 +39,6 @@ "Programming Language :: Python", "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", @@ -53,7 +52,7 @@ "azure", ] ), - python_requires=">=3.6", + python_requires=">=3.7", install_requires=[ "azure-core>=1.23.0,<2.0.0", "msrest>=0.6.21", diff --git a/sdk/containerregistry/azure-containerregistry/tests/perfstress_tests/README.md b/sdk/containerregistry/azure-containerregistry/tests/perfstress_tests/README.md index 6fccebddc438..883c6574168e 100644 --- a/sdk/containerregistry/azure-containerregistry/tests/perfstress_tests/README.md +++ b/sdk/containerregistry/azure-containerregistry/tests/perfstress_tests/README.md @@ -2,7 +2,7 @@ In order to run the performance tests, the `azure-devtools` package must be installed. This is done as part of the `dev_requirements` install. Start by creating a new virtual environment for your perf tests. This will need to be a -Python 3 environment, preferably >=3.6. +Python 3 environment, preferably >=3.7. ### Setup for test resources From b2eda23d681c539740b92da761447cbb7c6607df Mon Sep 17 00:00:00 2001 From: YalinLi0312 Date: Thu, 18 Aug 2022 14:28:03 -0700 Subject: [PATCH 2/3] Bump msrest version --- sdk/containerregistry/azure-containerregistry/CHANGELOG.md | 1 + sdk/containerregistry/azure-containerregistry/setup.py | 2 +- shared_requirements.txt | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/sdk/containerregistry/azure-containerregistry/CHANGELOG.md b/sdk/containerregistry/azure-containerregistry/CHANGELOG.md index 2533a7b8405f..e803c13b749d 100644 --- a/sdk/containerregistry/azure-containerregistry/CHANGELOG.md +++ b/sdk/containerregistry/azure-containerregistry/CHANGELOG.md @@ -10,6 +10,7 @@ ### Other Changes * Python 3.6 is no longer supported. Please use Python version 3.7 or later. +* Bumped minimum dependency on `msrest` to `>=0.7.1` ## 1.1.0b1 (2022-05-10) diff --git a/sdk/containerregistry/azure-containerregistry/setup.py b/sdk/containerregistry/azure-containerregistry/setup.py index 5e0d1195a67b..90993d368510 100644 --- a/sdk/containerregistry/azure-containerregistry/setup.py +++ b/sdk/containerregistry/azure-containerregistry/setup.py @@ -55,7 +55,7 @@ python_requires=">=3.7", install_requires=[ "azure-core>=1.23.0,<2.0.0", - "msrest>=0.6.21", + "msrest>=0.7.1", ], project_urls={ "Bug Reports": "https://github.com/Azure/azure-sdk-for-python/issues", diff --git a/shared_requirements.txt b/shared_requirements.txt index 37bf110d5369..c1dec2c7b07c 100644 --- a/shared_requirements.txt +++ b/shared_requirements.txt @@ -134,6 +134,7 @@ chardet<5,>=3.0.2 #override azure azure-keyvault~=1.0 #override azure-mgmt-core azure-core<2.0.0,>=1.24.0 #override azure-containerregistry azure-core>=1.23.0,<2.0.0 +#override azure-containerregistry msrest>=0.7.1 #override azure-core-tracing-opencensus azure-core<2.0.0,>=1.13.0 #override azure-core-tracing-opentelemetry azure-core<2.0.0,>=1.13.0 #override azure-cosmos azure-core<2.0.0,>=1.23.0 From 2979c4cfd53c27aa3f2b185734fe5893dbe81117 Mon Sep 17 00:00:00 2001 From: YalinLi0312 Date: Thu, 18 Aug 2022 14:52:49 -0700 Subject: [PATCH 3/3] Bump azure-core min version --- sdk/containerregistry/azure-containerregistry/CHANGELOG.md | 3 ++- sdk/containerregistry/azure-containerregistry/setup.py | 2 +- shared_requirements.txt | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/sdk/containerregistry/azure-containerregistry/CHANGELOG.md b/sdk/containerregistry/azure-containerregistry/CHANGELOG.md index e803c13b749d..116d45cb1139 100644 --- a/sdk/containerregistry/azure-containerregistry/CHANGELOG.md +++ b/sdk/containerregistry/azure-containerregistry/CHANGELOG.md @@ -10,7 +10,8 @@ ### Other Changes * Python 3.6 is no longer supported. Please use Python version 3.7 or later. -* Bumped minimum dependency on `msrest` to `>=0.7.1` +* Bumped minimum dependency on `azure-core` to `>=1.24.0` +* Bumped minimum dependency on `msrest` to `>=0.7.1` ## 1.1.0b1 (2022-05-10) diff --git a/sdk/containerregistry/azure-containerregistry/setup.py b/sdk/containerregistry/azure-containerregistry/setup.py index 90993d368510..c76959b6903d 100644 --- a/sdk/containerregistry/azure-containerregistry/setup.py +++ b/sdk/containerregistry/azure-containerregistry/setup.py @@ -54,7 +54,7 @@ ), python_requires=">=3.7", install_requires=[ - "azure-core>=1.23.0,<2.0.0", + "azure-core>=1.24.0,<2.0.0", "msrest>=0.7.1", ], project_urls={ diff --git a/shared_requirements.txt b/shared_requirements.txt index c1dec2c7b07c..effc1da4794e 100644 --- a/shared_requirements.txt +++ b/shared_requirements.txt @@ -133,7 +133,7 @@ chardet<5,>=3.0.2 #override azure-search-documents typing-extensions>=3.7.4.3 #override azure azure-keyvault~=1.0 #override azure-mgmt-core azure-core<2.0.0,>=1.24.0 -#override azure-containerregistry azure-core>=1.23.0,<2.0.0 +#override azure-containerregistry azure-core>=1.24.0,<2.0.0 #override azure-containerregistry msrest>=0.7.1 #override azure-core-tracing-opencensus azure-core<2.0.0,>=1.13.0 #override azure-core-tracing-opentelemetry azure-core<2.0.0,>=1.13.0