Skip to content

Commit

Permalink
[EventHubs & ServiceBus] add python3.9 support (#14301)
Browse files Browse the repository at this point in the history
* add python3.9 support

* update eh test yml

* use specific python39 version

* tweak changelog

* tweak changelog

* remove useless argument
  • Loading branch information
yunhaoling authored Oct 16, 2020
1 parent 2635f65 commit d2ac6c4
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 9 deletions.
3 changes: 3 additions & 0 deletions sdk/eventhub/azure-eventhub/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

## 5.2.1 (Unreleased)

**Note**

* Updated uAMQP dependency to 1.2.12 adding support for Python 3.9.

## 5.2.0 (2020-09-08)

Expand Down
3 changes: 2 additions & 1 deletion sdk/eventhub/azure-eventhub/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,14 @@
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'License :: OSI Approved :: MIT License',
],
zip_safe=False,
packages=find_packages(exclude=exclude_packages),
install_requires=[
"azure-core<2.0.0,>=1.5.0",
"uamqp<2.0,>=1.2.7",
"uamqp>=1.2.12,<2.0.0",
],
extras_require={
":python_version<'3.0'": ['azure-nspkg'],
Expand Down
4 changes: 2 additions & 2 deletions sdk/eventhub/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ jobs:
Linux_Python35:
OSVmImage: 'ubuntu-18.04'
PythonVersion: '3.5'
Linux_Python38:
Linux_Python39:
OSVmImage: 'ubuntu-18.04'
PythonVersion: '3.8'
PythonVersion: '3.9.0'
Windows_Python27:
OSVmImage: 'windows-2019'
PythonVersion: '2.7'
Expand Down
3 changes: 2 additions & 1 deletion sdk/servicebus/azure-servicebus/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@

**BugFixes**

* Updated uAMQP dependency to 1.2.11.
* Updated uAMQP dependency to 1.2.12.
- Added support for Python 3.9.
- Fixed bug where amqp message `footer` and `delivery_annotation` were not encoded into the outgoing payload.

## 7.0.0b7 (2020-10-05)
Expand Down
3 changes: 2 additions & 1 deletion sdk/servicebus/azure-servicebus/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'License :: OSI Approved :: MIT License',
],
zip_safe=False,
Expand All @@ -78,7 +79,7 @@
'azure',
]),
install_requires=[
'uamqp>=1.2.11,<2.0.0',
"uamqp>=1.2.12,<2.0.0",
'azure-common~=1.1',
'msrest>=0.6.17,<2.0.0',
'azure-core<2.0.0,>=1.6.0',
Expand Down
4 changes: 2 additions & 2 deletions sdk/servicebus/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ jobs:
Windows_Python27:
OSVmImage: 'windows-2019'
PythonVersion: '2.7'
Linux_Python38:
Linux_Python39:
OSVmImage: 'ubuntu-18.04'
PythonVersion: '3.8'
PythonVersion: '3.9.0'
4 changes: 2 additions & 2 deletions shared_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,9 @@ opentelemetry-api==0.13b0
#override azure-eventhub-checkpointstoreblob msrest>=0.6.10
#override azure-eventhub-checkpointstoreblob-aio msrest>=0.6.10
#override azure-eventhub-checkpointstoreblob-aio aiohttp<4.0,>=3.0
#override azure-eventhub uamqp<2.0,>=1.2.7
#override azure-eventhub uamqp>=1.2.12,<2.0.0
#override azure-appconfiguration msrest>=0.6.10
#override azure-servicebus uamqp>=1.2.11,<2.0.0
#override azure-servicebus uamqp>=1.2.12,<2.0.0
#override azure-servicebus msrest>=0.6.17,<2.0.0
#override azure-servicebus azure-core<2.0.0,>=1.6.0
#override azure-search-documents msrest>=0.6.10
Expand Down

0 comments on commit d2ac6c4

Please sign in to comment.