Skip to content

Commit

Permalink
drop py27 for ditital twins (#22343)
Browse files Browse the repository at this point in the history
  • Loading branch information
xiangyan99 authored Jan 5, 2022
1 parent 1d2eccb commit 1594062
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 14 deletions.
12 changes: 12 additions & 0 deletions sdk/digitaltwins/azure-digitaltwins-core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Release History

## 1.2.0 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes

- Python 2.7 and 3.6 are no longer supported. Please use Python version 3.7 or later.

## 1.1.0 (2020-11-24)

- The is the GA release containing the following changes:
Expand Down
4 changes: 4 additions & 0 deletions sdk/digitaltwins/azure-digitaltwins-core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

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.

## _Disclaimer_

_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_

## Getting started

### Introduction
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
# Licensed under the MIT License.
# ------------------------------------

VERSION = "1.1.0"
VERSION = "1.2.0"

SDK_MONIKER = "digitaltwins-core/{}".format(VERSION) # type: str
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ azure-mgmt-authorization
azure-mgmt-digitaltwins
-e ../../identity/azure-identity
-e ../../../tools/azure-sdk-tools
aiohttp>=3.0; python_version >= '3.5'
aiohttp>=3.0
../../nspkg/azure-digitaltwins-nspkg
2 changes: 0 additions & 2 deletions sdk/digitaltwins/azure-digitaltwins-core/setup.cfg

This file was deleted.

13 changes: 3 additions & 10 deletions sdk/digitaltwins/azure-digitaltwins-core/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,11 @@
classifiers=[
"Development Status :: 4 - Beta",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"License :: OSI Approved :: MIT License",
],
zip_safe=False,
Expand All @@ -65,13 +62,9 @@
'azure.digitaltwins',
]
),
python_requires=">=3.7",
install_requires=[
"azure-core<2.0.0,>=1.2.2",
"msrest>=0.6.21"
],
extras_require={
":python_version<'3.0'": ['futures', 'azure-digitaltwins-nspkg>=1.0.0'],
":python_version<'3.4'": ['enum34>=1.0.4'],
":python_version<'3.5'": ["typing"]
},
)

0 comments on commit 1594062

Please sign in to comment.