Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[keyvault] Drop Python 3.6 support in packages #25449

Merged
merged 11 commits into from
Aug 3, 2022
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"ubuntu-20.04": { "OSVmImage": "MMSUbuntu20.04", "Pool": "azsdk-pool-mms-ubuntu-2004-general" },
"macOS-10.15": { "OSVmImage": "macOS-10.15", "Pool": "Azure Pipelines" }
},
"PythonVersion": [ "pypy3.7", "3.8"],
mccoyp marked this conversation as resolved.
Show resolved Hide resolved
"PythonVersion": [ "pypy3.7", "3.8", "3.9"],
"CoverageArg": "--disablecov"
},
"include": [
Expand Down
2 changes: 1 addition & 1 deletion eng/pipelines/templates/stages/platform-matrix.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"windows-2019": { "OSVmImage": "MMS2019", "Pool": "azsdk-pool-mms-win-2019-general" },
"macOS-10.15": { "OSVmImage": "macOS-10.15", "Pool": "Azure Pipelines" }
},
"PythonVersion": [ "pypy3.7", "3.7", "3.8" ],
"PythonVersion": [ "pypy3.7", "3.7", "3.8", "3.9"],
mccoyp marked this conversation as resolved.
Show resolved Hide resolved
"CoverageArg": "--disablecov",
"TestSamples": "false"
},
Expand Down
1 change: 1 addition & 0 deletions sdk/keyvault/azure-keyvault-administration/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
### Bugs Fixed

### Other Changes
- Python 3.6 is no longer supported. Please use Python version 3.7 or later.

## 4.1.0 (2022-03-28)

Expand Down
1 change: 1 addition & 0 deletions sdk/keyvault/azure-keyvault-administration/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ create, manage, and deploy public and private SSL/TLS certificates
## _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)._
mccoyp marked this conversation as resolved.
Show resolved Hide resolved

## Getting started
### Install packages
Expand Down
2 changes: 1 addition & 1 deletion sdk/keyvault/azure-keyvault-administration/mypy.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[mypy]
python_version = 3.6
python_version = 3.7
warn_unused_configs = True
ignore_missing_imports = True

Expand Down
2 changes: 1 addition & 1 deletion sdk/keyvault/azure-keyvault-administration/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,6 @@
"azure.keyvault",
]
),
python_requires=">=3.6",
python_requires=">=3.7",
mccoyp marked this conversation as resolved.
Show resolved Hide resolved
install_requires=["azure-common~=1.1", "azure-core<2.0.0,>=1.20.0", "msrest>=0.6.21", "six>=1.11.0"],
)
1 change: 1 addition & 0 deletions sdk/keyvault/azure-keyvault-certificates/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
### Bugs Fixed

### Other Changes
- Python 3.6 is no longer supported. Please use Python version 3.7 or later.

## 4.5.0b1 (2022-06-07)

Expand Down
3 changes: 2 additions & 1 deletion sdk/keyvault/azure-keyvault-certificates/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ and other secrets
## _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
### Install the package
Expand All @@ -27,7 +28,7 @@ authentication as demonstrated below.

### Prerequisites
* An [Azure subscription][azure_sub]
* Python 3.6 or later
* Python 3.7 or later
* A Key Vault. If you need to create one, you can use the
[Azure Cloud Shell][azure_cloud_shell] to create one with these commands
(replace `"my-resource-group"` and `"my-key-vault"` with your own, unique
Expand Down
2 changes: 1 addition & 1 deletion sdk/keyvault/azure-keyvault-certificates/mypy.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[mypy]
python_version = 3.6
python_version = 3.7
mccoyp marked this conversation as resolved.
Show resolved Hide resolved
warn_unused_configs = True
ignore_missing_imports = True

Expand Down
3 changes: 1 addition & 2 deletions sdk/keyvault/azure-keyvault-certificates/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,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",
Expand All @@ -65,7 +64,7 @@
"azure.keyvault",
]
),
python_requires=">=3.6",
python_requires=">=3.7",
install_requires=[
"azure-core<2.0.0,>=1.20.0",
"msrest>=0.6.21",
Expand Down
1 change: 1 addition & 0 deletions sdk/keyvault/azure-keyvault-keys/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
### Bugs Fixed

### Other Changes
- Python 3.6 is no longer supported. Please use Python version 3.7 or later.

## 4.6.0b1 (2022-06-07)

Expand Down
3 changes: 2 additions & 1 deletion sdk/keyvault/azure-keyvault-keys/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ create, manage, and deploy public and private SSL/TLS certificates
## _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
### Install packages
Expand All @@ -29,7 +30,7 @@ authentication as demonstrated below.

### Prerequisites
* An [Azure subscription][azure_sub]
* Python 3.6 or later
* Python 3.7 or later
* A Key Vault. If you need to create one, you can use the
[Azure Cloud Shell][azure_cloud_shell] to create one with these commands
(replace `"my-resource-group"` and `"my-key-vault"` with your own, unique
Expand Down
2 changes: 1 addition & 1 deletion sdk/keyvault/azure-keyvault-keys/mypy.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[mypy]
python_version = 3.6
python_version = 3.7
warn_unused_configs = True
ignore_missing_imports = True

Expand Down
3 changes: 1 addition & 2 deletions sdk/keyvault/azure-keyvault-keys/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,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",
Expand All @@ -65,7 +64,7 @@
"azure.keyvault",
]
),
python_requires=">=3.6",
python_requires=">=3.7",
install_requires=[
"azure-core<2.0.0,>=1.20.0",
"cryptography>=2.1.4",
Expand Down
1 change: 1 addition & 0 deletions sdk/keyvault/azure-keyvault-secrets/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
### Bugs Fixed

### Other Changes
- Python 3.6 is no longer supported. Please use Python version 3.7 or later.

## 4.5.0b1 (2022-06-07)

Expand Down
1 change: 1 addition & 0 deletions sdk/keyvault/azure-keyvault-secrets/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ create, manage, and deploy public and private SSL/TLS certificates
## _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)._
mccoyp marked this conversation as resolved.
Show resolved Hide resolved

## Getting started
### Install packages
Expand Down
2 changes: 1 addition & 1 deletion sdk/keyvault/azure-keyvault-secrets/mypy.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[mypy]
python_version = 3.6
python_version = 3.7
warn_unused_configs = True
ignore_missing_imports = True

Expand Down
3 changes: 1 addition & 2 deletions sdk/keyvault/azure-keyvault-secrets/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,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",
Expand All @@ -65,7 +64,7 @@
"azure.keyvault",
]
),
python_requires=">=3.6",
python_requires=">=3.7",
install_requires=[
"azure-core<2.0.0,>=1.20.0",
"msrest>=0.6.21",
Expand Down
11 changes: 11 additions & 0 deletions sdk/keyvault/azure-keyvault/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Release History

## 4.2.1b1 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes
- Python 3.6 is no longer supported. Please use Python version 3.7 or later.

## 4.2.0 (2022-03-29)
**Disclaimer**

Expand Down
2 changes: 1 addition & 1 deletion sdk/keyvault/azure-keyvault/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ of packages that provide APIs for Key Vault operations:
## _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)._

## Install the package
Install the Azure Key Vault client libraries for Python with [pip][pip]:
Expand Down
3 changes: 1 addition & 2 deletions sdk/keyvault/azure-keyvault/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

setup(
name='azure-keyvault',
version='4.2.0',
version='4.2.1b1',
description='Microsoft Azure Key Vault Client Libraries for Python',
long_description=README + "\n\n" + CHANGELOG,
long_description_content_type="text/markdown",
Expand All @@ -29,7 +29,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',
Expand Down
4 changes: 4 additions & 0 deletions sdk/keyvault/azure-mgmt-keyvault/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release History

## 10.0.1b1 (Unreleased)

- Python 3.6 is no longer supported. Please use Python version 3.7 or later.

## 10.0.0 (2022-05-24)

**Breaking changes**
Expand Down
1 change: 1 addition & 0 deletions sdk/keyvault/azure-mgmt-keyvault/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ For a more complete view of Azure libraries, see the [azure sdk python release](
## _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)._

# Usage

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
# license information.
# --------------------------------------------------------------------------

VERSION = "10.0.0"
VERSION = "10.0.1b1"
2 changes: 1 addition & 1 deletion sdk/keyvault/azure-mgmt-keyvault/dev_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
aiohttp>=3.0; python_version >= '3.5'
aiohttp>=3.0
-e ../../../tools/azure-sdk-tools
-e ../../../tools/azure-devtools
../../identity/azure-identity
3 changes: 1 addition & 2 deletions sdk/keyvault/azure-mgmt-keyvault/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,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',
Expand All @@ -74,5 +73,5 @@
'azure-common~=1.1',
'azure-mgmt-core>=1.3.0,<2.0.0',
],
python_requires=">=3.6"
python_requires=">=3.7"
)