Skip to content

Commit 8e9d731

Browse files
author
Yalin Li
authored
[Tables] Add the support for Python 3.6 back (Azure#22564)
1 parent 9b31ac2 commit 8e9d731

File tree

6 files changed

+8
-7
lines changed

6 files changed

+8
-7
lines changed

sdk/tables/azure-data-tables/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
### Bugs Fixed
1010

1111
### Other Changes
12-
* Python 2.7 and 3.6 are no longer supported. Please use Python version 3.7 or later.
12+
* Python 2.7 is no longer supported. Please use Python version 3.6 or later.
1313

1414
## 12.2.0 (2021-11-10)
1515
**Warning** This release involves a bug fix that may change the behaviour for some users. Partition and Row keys that contain a single quote character (`'`) will now be automatically escaped for upsert, update and delete entity operations. Partition and Row keys that were already escaped, or contained duplicate single quote char (`''`) will now be treated as unescaped values.

sdk/tables/azure-data-tables/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ _Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For
1616
The Azure Tables SDK can access an Azure Storage or CosmosDB account.
1717

1818
### Prerequisites
19-
* Python 3.7 or later is required to use this package.
19+
* Python 3.6 or later is required to use this package.
2020
* You must have an [Azure subscription][azure_subscription] and either
2121
* an [Azure Storage account][azure_storage_account] or
2222
* an [Azure Cosmos Account][azure_cosmos_account].
@@ -313,7 +313,7 @@ Get started with our [Table samples][tables_samples].
313313
Several Azure Tables Python SDK samples are available to you in the SDK's GitHub repository. These samples provide example code for additional scenarios commonly encountered while working with Tables.
314314

315315
### Common Scenarios
316-
These code samples show common scenario operations with the Azure Tables client library. The async versions of the samples (the python sample files appended with _async) show asynchronous operations with Tables and require Python 3.7 or later.
316+
These code samples show common scenario operations with the Azure Tables client library. The async versions of the samples (the python sample files appended with _async) show asynchronous operations with Tables and require Python 3.6 or later.
317317

318318
* Create and delete tables: [sample_create_delete_table.py](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/tables/azure-data-tables/samples/sample_create_delete_table.py) ([async version](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/tables/azure-data-tables/samples/async_samples/sample_create_delete_table_async.py))
319319
* List and query tables: [sample_query_tables.py](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/tables/azure-data-tables/samples/sample_query_tables.py) ([async version](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/tables/azure-data-tables/samples/async_samples/sample_query_tables_async.py))

sdk/tables/azure-data-tables/dev_requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
-e ../../cosmos/azure-mgmt-cosmosdb
44
../../core/azure-core
55
../../nspkg/azure-data-nspkg
6-
aiohttp>=3.0; python_version >= '3.7'
6+
aiohttp>=3.0
77
azure-identity

sdk/tables/azure-data-tables/samples/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ These sample programs show common scenarios for the Tables client's offerings.
2828

2929

3030
### Prerequisites
31-
* Python 3.7 or later is required to use this package.
31+
* Python 3.6 or later is required to use this package.
3232
* You must have an [Azure subscription](https://azure.microsoft.com/free/) and either an
3333
[Azure storage account](https://docs.microsoft.com/azure/storage/common/storage-account-overview) or an [Azure Cosmos Account](https://docs.microsoft.com/azure/cosmos-db/account-overview) to use this package.
3434

sdk/tables/azure-data-tables/setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
'Programming Language :: Python',
5050
"Programming Language :: Python :: 3 :: Only",
5151
'Programming Language :: Python :: 3',
52+
'Programming Language :: Python :: 3.6',
5253
'Programming Language :: Python :: 3.7',
5354
'Programming Language :: Python :: 3.8',
5455
'Programming Language :: Python :: 3.9',
@@ -61,7 +62,7 @@
6162
'tests',
6263
'azure.data',
6364
]),
64-
python_requires=">=3.7",
65+
python_requires=">=3.6",
6566
install_requires=[
6667
"azure-core<2.0.0,>=1.15.0",
6768
"msrest>=0.6.21"

sdk/tables/azure-data-tables/tests/perfstress_tests/README.md

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

33
In order to run the performance tests, the `azure-devtools` 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.6.
55
T1 perf tests are not available at this time.
66

77
### Setup for test resources

0 commit comments

Comments
 (0)