Skip to content

Commit 1594062

Browse files
authored
drop py27 for ditital twins (Azure#22343)
1 parent 1d2eccb commit 1594062

File tree

6 files changed

+21
-14
lines changed

6 files changed

+21
-14
lines changed

sdk/digitaltwins/azure-digitaltwins-core/CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# Release History
22

3+
## 1.2.0 (Unreleased)
4+
5+
### Features Added
6+
7+
### Breaking Changes
8+
9+
### Bugs Fixed
10+
11+
### Other Changes
12+
13+
- Python 2.7 and 3.6 are no longer supported. Please use Python version 3.7 or later.
14+
315
## 1.1.0 (2020-11-24)
416

517
- The is the GA release containing the following changes:

sdk/digitaltwins/azure-digitaltwins-core/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
This package contains an SDK for Azure Digital Twins API to provide access to the Azure Digital Twins service for managing twins, models, relationships, etc.
44

5+
## _Disclaimer_
6+
7+
_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_
8+
59
## Getting started
610

711
### Introduction

sdk/digitaltwins/azure-digitaltwins-core/azure/digitaltwins/core/_version.py

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

6-
VERSION = "1.1.0"
6+
VERSION = "1.2.0"
77

88
SDK_MONIKER = "digitaltwins-core/{}".format(VERSION) # type: str

sdk/digitaltwins/azure-digitaltwins-core/dev_requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ azure-mgmt-authorization
44
azure-mgmt-digitaltwins
55
-e ../../identity/azure-identity
66
-e ../../../tools/azure-sdk-tools
7-
aiohttp>=3.0; python_version >= '3.5'
7+
aiohttp>=3.0
88
../../nspkg/azure-digitaltwins-nspkg

sdk/digitaltwins/azure-digitaltwins-core/setup.cfg

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

sdk/digitaltwins/azure-digitaltwins-core/setup.py

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,11 @@
4545
classifiers=[
4646
"Development Status :: 4 - Beta",
4747
"Programming Language :: Python",
48-
"Programming Language :: Python :: 2",
49-
"Programming Language :: Python :: 2.7",
50-
"Programming Language :: Python :: 3",
51-
"Programming Language :: Python :: 3.5",
52-
"Programming Language :: Python :: 3.6",
48+
"Programming Language :: Python :: 3 :: Only",
5349
"Programming Language :: Python :: 3.7",
5450
"Programming Language :: Python :: 3.8",
5551
"Programming Language :: Python :: 3.9",
52+
"Programming Language :: Python :: 3.10",
5653
"License :: OSI Approved :: MIT License",
5754
],
5855
zip_safe=False,
@@ -65,13 +62,9 @@
6562
'azure.digitaltwins',
6663
]
6764
),
65+
python_requires=">=3.7",
6866
install_requires=[
6967
"azure-core<2.0.0,>=1.2.2",
7068
"msrest>=0.6.21"
7169
],
72-
extras_require={
73-
":python_version<'3.0'": ['futures', 'azure-digitaltwins-nspkg>=1.0.0'],
74-
":python_version<'3.4'": ['enum34>=1.0.4'],
75-
":python_version<'3.5'": ["typing"]
76-
},
7770
)

0 commit comments

Comments
 (0)