Skip to content

Commit af40372

Browse files
authored
[EventHub] drop python 2.7/3.6 (Azure#22319)
* drop 2.7/3.6 * checkpointstoreblobs * bump versions
1 parent 1594062 commit af40372

File tree

20 files changed

+32
-61
lines changed

20 files changed

+32
-61
lines changed

sdk/eventhub/azure-eventhub-checkpointstoreblob-aio/CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Release History
22

3-
## 1.1.5 (Unreleased)
3+
## 1.2.0 (Unreleased)
4+
5+
This version and all future versions will require Python 3.7+. Python 2.7 and 3.6 are no longer supported.
46

57
### Bugs Fixed
68

sdk/eventhub/azure-eventhub-checkpointstoreblob-aio/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ Please note that this is an async library, for sync version of the Azure EventHu
99

1010
## _Disclaimer_
1111

12-
_Azure SDK Python packages support for Python 2.7 is ending 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_
12+
_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_
1313

1414
## Getting started
1515

1616
### Prerequisites
1717

18-
- Python 3.6 or later.
18+
- Python 3.7 or later.
1919
- **Microsoft Azure Subscription:** To use Azure services, including Azure Event Hubs, you'll need a subscription. If you do not have an existing Azure account, you may sign up for a free trial or use your MSDN subscriber benefits when you [create an account](https://azure.microsoft.com/).
2020

2121
- **Event Hubs namespace with an Event Hub:** To interact with Azure Event Hubs, you'll also need to have a namespace and Event Hub available. If you are not familiar with creating Azure resources, you may wish to follow the step-by-step guide for [creating an Event Hub using the Azure portal](https://docs.microsoft.com/azure/event-hubs/event-hubs-create). There, you can also find detailed instructions for using the Azure CLI, Azure PowerShell, or Azure Resource Manager (ARM) templates to create an Event Hub.

sdk/eventhub/azure-eventhub-checkpointstoreblob-aio/azure/eventhub/extensions/checkpointstoreblobaio/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
# Licensed under the MIT License.
44
# ------------------------------------
55

6-
VERSION = "1.1.4"
6+
VERSION = "1.2.0"

sdk/eventhub/azure-eventhub-checkpointstoreblob-aio/samples/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ These sample programs show how to use the async Python client libraries for Azur
1818
| [receive_events_using_checkpoint_store_storage_api_version_async.py](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/eventhub/azure-eventhub-checkpointstoreblob-aio/samples/receive_events_using_checkpoint_store_storage_api_version_async.py) | Demonstrates how to use a specific Azure Storage Blobs API version with BlobCheckpointStore. |
1919

2020
## Prerequisites
21-
- Python2.7, Python 3.6 or later.
21+
- Python 3.7 or later.
2222
- **Microsoft Azure Subscription:** To use Azure services, including Azure Event Hubs, you'll need a subscription. If you do not have an existing Azure account, you may sign up for a free trial or use your MSDN subscriber benefits when you [create an account](https://azure.microsoft.com/).
2323

2424
- **Event Hubs namespace with an Event Hub:** To interact with Azure Event Hubs, you'll also need to have a namespace and Event Hub available. If you are not familiar with creating Azure resources, you may wish to follow the step-by-step guide for [creating an Event Hub using the Azure portal](https://docs.microsoft.com/azure/event-hubs/event-hubs-create). There, you can also find detailed instructions for using the Azure CLI, Azure PowerShell, or Azure Resource Manager (ARM) templates to create an Event Hub.

sdk/eventhub/azure-eventhub-checkpointstoreblob-aio/setup.cfg

Lines changed: 0 additions & 2 deletions
This file was deleted.

sdk/eventhub/azure-eventhub-checkpointstoreblob-aio/setup.py

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,7 @@
5555
classifiers=[
5656
"Development Status :: 5 - Production/Stable",
5757
'Programming Language :: Python',
58-
'Programming Language :: Python :: 3',
59-
'Programming Language :: Python :: 3.6',
58+
'Programming Language :: Python :: 3 :: Only',
6059
'Programming Language :: Python :: 3.7',
6160
'Programming Language :: Python :: 3.8',
6261
'Programming Language :: Python :: 3.9',
@@ -65,7 +64,7 @@
6564
],
6665
zip_safe=False,
6766
packages=find_packages(exclude=exclude_packages),
68-
python_requires=">=3.6",
67+
python_requires=">=3.7",
6968
install_requires=[
7069
# dependencies for the vendored storage blob
7170
"azure-core<2.0.0,>=1.20.1",
@@ -74,12 +73,5 @@
7473
# end of dependencies for the vendored storage blob
7574
'azure-eventhub<6.0.0,>=5.0.0',
7675
'aiohttp<4.0,>=3.0',
77-
],
78-
extras_require={
79-
# dependencies for the vendored storage blob
80-
":python_version<'3.0'": ['futures'],
81-
":python_version<'3.4'": ['enum34>=1.0.4'],
82-
":python_version<'3.5'": ["typing"]
83-
# end of dependencies for the vendored storage blob
84-
},
76+
]
8577
)

sdk/eventhub/azure-eventhub-checkpointstoreblob/CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Release History
22

3-
## 1.1.5 (Unreleased)
3+
## 1.2.0 (Unreleased)
4+
5+
This version and all future versions will require Python 3.7+. Python 2.7 and 3.6 are no longer supported.
46

57
### Bugs Fixed
68

sdk/eventhub/azure-eventhub-checkpointstoreblob/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ Please note that this is a sync library, for async version of the Azure EventHub
99

1010
## _Disclaimer_
1111

12-
_Azure SDK Python packages support for Python 2.7 is ending 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_
12+
_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_
1313

1414
## Getting started
1515

1616
### Prerequisites
1717

18-
- Python2.7, Python 3.6 or later.
18+
- Python 3.7 or later.
1919
- **Microsoft Azure Subscription:** To use Azure services, including Azure Event Hubs, you'll need a subscription. If you do not have an existing Azure account, you may sign up for a free trial or use your MSDN subscriber benefits when you [create an account](https://azure.microsoft.com/).
2020

2121
- **Event Hubs namespace with an Event Hub:** To interact with Azure Event Hubs, you'll also need to have a namespace and Event Hub available. If you are not familiar with creating Azure resources, you may wish to follow the step-by-step guide for [creating an Event Hub using the Azure portal](https://docs.microsoft.com/azure/event-hubs/event-hubs-create). There, you can also find detailed instructions for using the Azure CLI, Azure PowerShell, or Azure Resource Manager (ARM) templates to create an Event Hub.

sdk/eventhub/azure-eventhub-checkpointstoreblob/azure/eventhub/extensions/checkpointstoreblob/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
# Licensed under the MIT License.
44
# ------------------------------------
55

6-
VERSION = "1.1.4"
6+
VERSION = "1.2.0"

sdk/eventhub/azure-eventhub-checkpointstoreblob/samples/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ These sample programs show how to use the sync Python client libraries for Azure
1818
| [receive_events_using_checkpoint_store_storage_api_version.py](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/eventhub/azure-eventhub-checkpointstoreblob/samples/receive_events_using_checkpoint_store_storage_api_version.py) | Demonstrates how to use a specific Azure Storage Blobs API version with BlobCheckpointStore. |
1919

2020
## Prerequisites
21-
- Python2.7, Python 3.6 or later.
21+
- Python 3.7 or later.
2222
- **Microsoft Azure Subscription:** To use Azure services, including Azure Event Hubs, you'll need a subscription. If you do not have an existing Azure account, you may sign up for a free trial or use your MSDN subscriber benefits when you [create an account](https://azure.microsoft.com/).
2323

2424
- **Event Hubs namespace with an Event Hub:** To interact with Azure Event Hubs, you'll also need to have a namespace and Event Hub available. If you are not familiar with creating Azure resources, you may wish to follow the step-by-step guide for [creating an Event Hub using the Azure portal](https://docs.microsoft.com/azure/event-hubs/event-hubs-create). There, you can also find detailed instructions for using the Azure CLI, Azure PowerShell, or Azure Resource Manager (ARM) templates to create an Event Hub.

0 commit comments

Comments
 (0)