Skip to content

Commit 0110841

Browse files
xiangyan99AutorestCIscbedd
authored
batch dropping 2.7 (#24295)
* batch dropping 2.7 * Packaging update of azure-servicefabric * Packaging update of azure-iot-modelsrepository * update * update * update * update * update * ensure that the readme type is set properly Co-authored-by: Azure SDK Bot <adxpysdk@microsoft.com> Co-authored-by: scbedd <45376673+scbedd@users.noreply.github.com>
1 parent 461591a commit 0110841

80 files changed

Lines changed: 177 additions & 407 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

eng/.docsettings.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ known_content_issues:
101101
- ['sdk/attestation/azure-security-attestation/swagger/README.md', '#4554']
102102
- ['sdk/core/azure-core/tests/testserver_tests/coretestserver/README.rst', '#4554']
103103
- ['sdk/media/azure-media-analytics-edge/README.md', '#4554']
104+
- ['sdk/remoterendering/azure-mixedreality-remoterendering/README.md', '#4554']
105+
- ['sdk/modelsrepository/azure-iot-modelsrepository/README.md', '#4554']
104106

105107
# common.
106108
- ['sdk/appconfiguration/azure-appconfiguration/README.md', 'common']
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Release History
22

3+
## 1.0.0b2 (Unreleased)
4+
5+
### Bugs Fixed
6+
7+
### Other Changes
8+
9+
- Python 2.7 is no longer supported. Please use Python version 3.6 or later.
10+
311
## 1.0.0b1 (2021-05-25)
412

513
- This is the initial release of the Azure AgriFood Farming library.

sdk/agrifood/azure-agrifood-farming/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Use FarmBeats client library for Python to do the following.
1616
To use this package, you must have:
1717
- Azure subscription - [Create a free account][azure_subscription]
1818
- Azure FarmBeats resource - [Install FarmBeats][install_farmbeats]
19-
- Python 2.7, 3.6 or later - [Install Python][python]
19+
- 3.6 or later - [Install Python][python]
2020

2121
### Install the package
2222

sdk/agrifood/azure-agrifood-farming/azure/agrifood/farming/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "1.0.0b1"
9+
VERSION = "1.0.0b2"

sdk/agrifood/azure-agrifood-farming/dev_requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
../../core/azure-core
44
-e ../../identity/azure-identity
55
../../nspkg/azure-agrifood-nspkg
6-
aiohttp>=3.0; python_version >= '3.5'
6+
aiohttp>=3.0

sdk/agrifood/azure-agrifood-farming/setup.cfg

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

sdk/agrifood/azure-agrifood-farming/setup.py

Lines changed: 4 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -20,21 +20,6 @@
2020
# a-b-c => a.b.c
2121
namespace_name = PACKAGE_NAME.replace('-', '.')
2222

23-
# azure v0.x is not compatible with this package
24-
# azure v0.x used to have a __version__ attribute (newer versions don't)
25-
try:
26-
import azure
27-
try:
28-
ver = azure.__version__
29-
raise Exception(
30-
'This package is incompatible with azure=={}. '.format(ver) +
31-
'Uninstall it with "pip uninstall azure".'
32-
)
33-
except AttributeError:
34-
pass
35-
except ImportError:
36-
pass
37-
3823
# Version extraction inspired from 'requests'
3924
with open(os.path.join(package_folder_path, '_version.py'), 'r') as fd:
4025
version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]',
@@ -61,13 +46,13 @@
6146
classifiers=[
6247
"Development Status :: 4 - Beta",
6348
'Programming Language :: Python',
64-
'Programming Language :: Python :: 2',
65-
'Programming Language :: Python :: 2.7',
49+
'Programming Language :: Python :: 3 :: Only',
6650
'Programming Language :: Python :: 3',
6751
'Programming Language :: Python :: 3.6',
6852
'Programming Language :: Python :: 3.7',
6953
'Programming Language :: Python :: 3.8',
7054
'Programming Language :: Python :: 3.9',
55+
'Programming Language :: Python :: 3.10',
7156
'License :: OSI Approved :: MIT License',
7257
],
7358
zip_safe=False,
@@ -77,13 +62,10 @@
7762
'azure',
7863
'azure.agrifood',
7964
]),
65+
python_requires=">=3.6",
8066
install_requires=[
8167
"azure-core<2.0.0,>=1.14.0",
8268
"msrest>=0.6.21",
8369
'six>=1.11.0',
8470
],
85-
extras_require={
86-
":python_version<'3.0'": ['azure-agrifood-nspkg'],
87-
":python_version<'3.5'": ['typing'],
88-
}
89-
)
71+
)
Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +0,0 @@
1-
# coding: utf-8
2-
# -------------------------------------------------------------------------
3-
# Copyright (c) Microsoft Corporation. All rights reserved.
4-
# Licensed under the MIT License. See License.txt in the project root for
5-
# license information.
6-
# --------------------------------------------------------------------------
7-
8-
import sys
9-
10-
# fixture needs to be visible from conftest
11-
12-
# Ignore async tests for Python < 3.5
13-
collect_ignore_glob = []
14-
if sys.version_info < (3, 5):
15-
collect_ignore_glob.append("*_async.py")

sdk/anomalydetector/azure-ai-anomalydetector/CHANGELOG.md

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

1111
### Other Changes
1212

13+
- Python 2.7 is no longer supported. Please use Python version 3.6 or later.
14+
1315
## 3.0.0b5 (2022-01-23)
1416

1517
- Fix release issues
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Microsoft Azure SDK for Python
22

33
This is the Microsoft Azure Cognitive Services Anomaly Detector Client Library.
4-
This package has been tested with Python 2.7, 3.5, 3.6, 3.7 and 3.8.
4+
This package has been tested with Python 3.6+.
55

66
For a more complete set of Azure libraries, see the
77
[azure sdk python release](https://aka.ms/azsdk/python/all).
@@ -11,12 +11,10 @@ For a more complete set of Azure libraries, see the
1111
For code examples, see [Cognitive Services Anomaly Detector](https://docs.microsoft.com/python/api/overview/azure/cognitive-services)
1212
on docs.microsoft.com.
1313

14-
1514
# Provide Feedback
1615

1716
If you encounter any bugs or have suggestions, please file an issue in the
1817
[Issues](https://github.com/Azure/azure-sdk-for-python/issues)
1918
section of the project.
2019

21-
2220
![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-cognitiveservices-anomalydetector%2FREADME.png)

0 commit comments

Comments
 (0)