diff --git a/sdk/containerregistry/azure-containerregistry/CHANGELOG.md b/sdk/containerregistry/azure-containerregistry/CHANGELOG.md index bd634484de49..116d45cb1139 100644 --- a/sdk/containerregistry/azure-containerregistry/CHANGELOG.md +++ b/sdk/containerregistry/azure-containerregistry/CHANGELOG.md @@ -9,6 +9,9 @@ ### Bugs Fixed ### Other Changes +* Python 3.6 is no longer supported. Please use Python version 3.7 or later. +* 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/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..c76959b6903d 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,10 +52,10 @@ "azure", ] ), - python_requires=">=3.6", + python_requires=">=3.7", install_requires=[ - "azure-core>=1.23.0,<2.0.0", - "msrest>=0.6.21", + "azure-core>=1.24.0,<2.0.0", + "msrest>=0.7.1", ], project_urls={ "Bug Reports": "https://github.com/Azure/azure-sdk-for-python/issues", 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 diff --git a/shared_requirements.txt b/shared_requirements.txt index 37bf110d5369..effc1da4794e 100644 --- a/shared_requirements.txt +++ b/shared_requirements.txt @@ -133,7 +133,8 @@ 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 #override azure-cosmos azure-core<2.0.0,>=1.23.0