Skip to content

Commit e5048d8

Browse files
authored
Bump required Python version to 3.8 (#36715)
1 parent 46293fe commit e5048d8

File tree

19 files changed

+38
-23
lines changed

19 files changed

+38
-23
lines changed

sdk/maps/azure-maps-geolocation/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ _Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For
1313

1414
### Prerequisites
1515

16-
- Python 3.7 or later is required to use this package.
16+
- Python 3.8 or later is required to use this package.
1717
- An [Azure subscription][azure_subscription] and an [Azure Maps account](https://docs.microsoft.com/azure/azure-maps/how-to-manage-account-keys).
1818
- A deployed Maps Services resource. You can create the resource via [Azure Portal][azure_portal] or [Azure CLI][azure_cli].
1919

@@ -92,7 +92,7 @@ Once you initialized a `MapsGeolocationClient` class, you can explore the method
9292

9393
### Async Clients
9494

95-
This library includes a complete async API supported on Python 3.5+. To use it, you must first install an async transport, such as [aiohttp](https://pypi.org/project/aiohttp/).
95+
This library includes a complete async API supported on Python 3.8+. To use it, you must first install an async transport, such as [aiohttp](https://pypi.org/project/aiohttp/).
9696
See [azure-core documentation](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/core/azure-core/CLIENT_LIBRARY_DEVELOPER.md#transport) for more information.
9797

9898
Async clients and credentials should be closed when they're no longer needed. These
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
-e ../../../tools/azure-sdk-tools
22
-e ../../core/azure-core
33
-e ../../identity/azure-identity
4-
aiohttp>=3.0; python_version >= '3.7'
4+
aiohttp>=3.0; python_version >= '3.8'

sdk/maps/azure-maps-geolocation/samples/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Then for common Azure Maps Geolocation operations:
2121

2222
## Prerequisites
2323

24-
* Python 3.6 or later is required to use this package
24+
* Python 3.8 or later is required to use this package
2525
* You must have an [Azure subscription](https://azure.microsoft.com/free/)
2626
* A deployed Maps Services resource. You can create the resource via [Azure Portal][azure_portal] or [Azure CLI][azure_cli].
2727

sdk/maps/azure-maps-geolocation/setup.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@
6969
"Programming Language :: Python :: 3.8",
7070
"Programming Language :: Python :: 3.9",
7171
"Programming Language :: Python :: 3.10",
72+
"Programming Language :: Python :: 3.11",
73+
"Programming Language :: Python :: 3.12",
7274
"License :: OSI Approved :: MIT License",
7375
],
7476
zip_safe=False,
@@ -83,5 +85,6 @@
8385
'msrest>=0.6.21',
8486
'azure-common~=1.1',
8587
'azure-mgmt-core<2.0.0,>=1.3.0'
86-
]
88+
],
89+
python_requires=">=3.8",
8790
)

sdk/maps/azure-maps-render/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ _Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For
1313

1414
### Prerequisites
1515

16-
- Python 3.7 or later is required to use this package.
16+
- Python 3.8 or later is required to use this package.
1717
- An [Azure subscription][azure_subscription] and an [Azure Maps account](https://docs.microsoft.com/azure/azure-maps/how-to-manage-account-keys).
1818
- A deployed Maps Services resource. You can create the resource via [Azure Portal][azure_portal] or [Azure CLI][azure_cli].
1919

@@ -92,7 +92,7 @@ Once you initialized a `MapsRenderClient` class, you can explore the methods on
9292

9393
### Async Clients
9494

95-
This library includes a complete async API supported on Python 3.5+. To use it, you must first install an async transport, such as [aiohttp](https://pypi.org/project/aiohttp/).
95+
This library includes a complete async API supported on Python 3.8+. To use it, you must first install an async transport, such as [aiohttp](https://pypi.org/project/aiohttp/).
9696
See [azure-core documentation](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/core/azure-core/CLIENT_LIBRARY_DEVELOPER.md#transport) for more information.
9797

9898
Async clients and credentials should be closed when they're no longer needed. These
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
-e ../../../tools/azure-sdk-tools
22
-e ../../core/azure-core
33
-e ../../identity/azure-identity
4-
aiohttp>=3.0; python_version >= '3.7'
4+
aiohttp>=3.0; python_version >= '3.8'

sdk/maps/azure-maps-render/samples/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Then for common Azure Maps Render operations:
3535

3636
## Prerequisites
3737

38-
* Python 3.6 or later is required to use this package
38+
* Python 3.8 or later is required to use this package
3939
* You must have an [Azure subscription](https://azure.microsoft.com/free/)
4040
* A deployed Maps Services resource. You can create the resource via [Azure Portal][azure_portal] or [Azure CLI][azure_cli].
4141

sdk/maps/azure-maps-render/setup.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@
6969
"Programming Language :: Python :: 3.8",
7070
"Programming Language :: Python :: 3.9",
7171
"Programming Language :: Python :: 3.10",
72+
"Programming Language :: Python :: 3.11",
73+
"Programming Language :: Python :: 3.12",
7274
"License :: OSI Approved :: MIT License",
7375
],
7476
zip_safe=False,
@@ -83,5 +85,6 @@
8385
'msrest>=0.6.21',
8486
'azure-common~=1.1',
8587
'azure-mgmt-core>=1.3.0,<2.0.0',
86-
]
88+
],
89+
python_requires=">=3.8",
8790
)

sdk/maps/azure-maps-route/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ _Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For
1313

1414
### Prerequisites
1515

16-
- Python 3.6 or later is required to use this package.
16+
- Python 3.8 or later is required to use this package.
1717
- An [Azure subscription][azure_subscription] and an [Azure Maps account](https://docs.microsoft.com/azure/azure-maps/how-to-manage-account-keys).
1818
- A deployed Maps Services resource. You can create the resource via [Azure Portal][azure_portal] or [Azure CLI][azure_cli].
1919

@@ -92,7 +92,7 @@ Once you initialized a `MapsRouteClient` class, you can explore the methods on t
9292

9393
### Async Clients
9494

95-
This library includes a complete async API supported on Python 3.5+. To use it, you must first install an async transport, such as [aiohttp](https://pypi.org/project/aiohttp/).
95+
This library includes a complete async API supported on Python 3.8+. To use it, you must first install an async transport, such as [aiohttp](https://pypi.org/project/aiohttp/).
9696
See [azure-core documentation](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/core/azure-core/CLIENT_LIBRARY_DEVELOPER.md#transport) for more information.
9797

9898
Async clients and credentials should be closed when they're no longer needed. These
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
-e ../../../tools/azure-sdk-tools
22
-e ../../core/azure-core
33
-e ../../identity/azure-identity
4-
aiohttp>=3.0; python_version >= '3.7'
4+
aiohttp>=3.0; python_version >= '3.8'

0 commit comments

Comments
 (0)