Skip to content

Commit da54de9

Browse files
author
Yalin Li
authored
Add python 3.12 and drop python 3.7 support (#33685)
* Add python 3.12 support * Drop python 3.7
1 parent 1931a7a commit da54de9

File tree

24 files changed

+31
-39
lines changed

24 files changed

+31
-39
lines changed

sdk/appconfiguration/azure-appconfiguration/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
- Bumped minimum dependency on `azure-core` to `>=1.28.0`.
1919
- Updated the default `api_version` to "2023-10-01".
2020
- Removed `etag` keyword documentation in `set_read_only()` as it's not in use.
21+
- Added support for Python 3.12.
22+
- Python 3.7 is no longer supported. Please use Python version 3.8 or later.
2123

2224
## 1.5.0b3 (2023-10-10)
2325

sdk/appconfiguration/azure-appconfiguration/README.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,6 @@ Use the client library for App Configuration to create and manage application co
1212
| [API reference documentation](https://learn.microsoft.com/python/api/azure-appconfiguration/azure.appconfiguration?view=azure-python)
1313
| [Product documentation][appconfig_docs]
1414

15-
## _Disclaimer_
16-
17-
_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_
18-
_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)._
19-
2015
## Getting started
2116

2217
### Install the package
@@ -29,7 +24,7 @@ pip install azure-appconfiguration
2924

3025
### Prerequisites
3126

32-
* Python 3.7 or later is required to use this package.
27+
* Python 3.8 or later is required to use this package.
3328
* You need an [Azure subscription][azure_sub], and a [Configuration Store][configuration_store] to use this package.
3429

3530
To create a Configuration Store, you can use the Azure Portal or [Azure CLI][azure_cli].

sdk/appconfiguration/azure-appconfiguration/samples/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ products:
1111

1212
## Prerequisites
1313

14-
* Python 3.7 or later is required to use this package.
14+
* Python 3.8 or later is required to use this package.
1515
* You must have an [Azure subscription][azure_sub], and a [Configuration Store][configuration_store] to use this package.
1616

1717
To create a Configuration Store, you can either use [Azure Portal](https://ms.portal.azure.com/#create/Microsoft.Azconfig) or if you are using [Azure CLI][azure_cli] you can simply run the following snippet in your console:

sdk/appconfiguration/azure-appconfiguration/setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@
5757
"Programming Language :: Python",
5858
"Programming Language :: Python :: 3 :: Only",
5959
"Programming Language :: Python :: 3",
60-
"Programming Language :: Python :: 3.7",
6160
"Programming Language :: Python :: 3.8",
6261
"Programming Language :: Python :: 3.9",
6362
"Programming Language :: Python :: 3.10",
@@ -67,7 +66,7 @@
6766
],
6867
zip_safe=False,
6968
packages=find_packages(exclude=exclude_packages),
70-
python_requires=">=3.7",
69+
python_requires=">=3.8",
7170
install_requires=[
7271
"azure-core<2.0.0,>=1.28.0",
7372
"isodate>=0.6.0",

sdk/appconfiguration/azure-appconfiguration/tests/perfstress_tests/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# App config Performance Tests
22

33
In order to run the performance tests, the `devtools_testutils` package must be installed. This is done as part of the `dev_requirements`.
4-
Start be creating a new virtual environment for your perf tests. This will need to be a Python 3 environment, preferably >=3.7.
4+
Start be creating a new virtual environment for your perf tests. This will need to be a Python 3 environment, preferably >=3.8.
55

66
### Setup for test resources
77

sdk/containerregistry/azure-containerregistry/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
### Bugs Fixed
1010

1111
### Other Changes
12+
- Added support for Python 3.12.
13+
- Python 3.7 is no longer supported. Please use Python version 3.8 or later.
1214

1315
## 1.2.0 (2023-07-11)
1416

sdk/containerregistry/azure-containerregistry/README.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,6 @@ Use the client library for Azure Container Registry to:
1616
| [REST API documentation][rest_docs]
1717
| [Product documentation][product_docs]
1818

19-
## _Disclaimer_
20-
21-
_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_
22-
_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)._
23-
2419
## Getting started
2520

2621
### Install the package
@@ -33,7 +28,7 @@ pip install --pre azure-containerregistry
3328

3429
### Prerequisites
3530

36-
* Python 3.7 or later is required to use this package.
31+
* Python 3.8 or later is required to use this package.
3732
* You need an [Azure subscription][azure_sub] and a [Container Registry account][container_registry_docs] to use this package.
3833

3934
To create a new Container Registry, you can use the [Azure Portal][container_registry_create_portal],

sdk/containerregistry/azure-containerregistry/samples/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ These code samples show common scenario operations with the Azure Container Regi
2323
|[sample_set_get_image.py][set_get_image] ([sample_set_get_image_async.py][set_get_image_async]) | Set and get a manifest, and upload and download a blob to and from a repository |
2424

2525
### Prerequisites
26-
* Python 3.7 or later is required to use this package.
26+
* Python 3.8 or later is required to use this package.
2727
* You need an [Azure subscription][azure_sub] and a [Container Registry account][container_registry_docs] to use this package.
2828

2929
## Setup

sdk/containerregistry/azure-containerregistry/setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@
4040
"Programming Language :: Python",
4141
"Programming Language :: Python :: 3 :: Only",
4242
"Programming Language :: Python :: 3",
43-
"Programming Language :: Python :: 3.7",
4443
"Programming Language :: Python :: 3.8",
4544
"Programming Language :: Python :: 3.9",
4645
"Programming Language :: Python :: 3.10",
4746
"Programming Language :: Python :: 3.11",
47+
"Programming Language :: Python :: 3.12",
4848
"License :: OSI Approved :: MIT License",
4949
],
5050
packages=find_packages(
@@ -54,7 +54,7 @@
5454
"azure",
5555
]
5656
),
57-
python_requires=">=3.7",
57+
python_requires=">=3.8",
5858
install_requires=[
5959
"azure-core>=1.24.0,<2.0.0",
6060
"isodate>=0.6.0",

sdk/containerregistry/azure-containerregistry/tests/perfstress_tests/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
In order to run the performance tests, the `devtools_testutils` package must be installed. This is done as part of the
44
`dev_requirements` install. Start by creating a new virtual environment for your perf tests. This will need to be a
5-
Python 3 environment, preferably >=3.7.
5+
Python 3 environment, preferably >=3.8.
66

77
### Setup for test resources
88

0 commit comments

Comments
 (0)