Skip to content

Commit 4344aad

Browse files
authored
drop py2 (#22309)
1 parent 2407a89 commit 4344aad

File tree

6 files changed

+15
-16
lines changed

6 files changed

+15
-16
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
The MIT License (MIT)
1+
Copyright (c) Microsoft Corporation.
22

3-
Copyright (c) 2017 Microsoft
3+
MIT License
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal
@@ -12,10 +12,10 @@ furnished to do so, subject to the following conditions:
1212
The above copyright notice and this permission notice shall be included in all
1313
copies or substantial portions of the Software.
1414

15-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15+
THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1616
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1717
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1818
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1919
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2020
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21-
SOFTWARE.
21+
SOFTWARE.
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
include *.md
22
include {{ folder_first }}/__init__.py
33
include {{ folder_first }}/{{ folder_second }}/__init__.py
4-
include LICENSE.txt
4+
include LICENSE
55
recursive-include tests *.py
66
recursive-include samples *.py *.md

scripts/quickstart_tooling_llc/template/README.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
# {{ package_pprint_name }} client library for Python
22
<!-- write necessary description of service -->
33

4+
## _Disclaimer_
5+
6+
_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please
7+
refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_
8+
49
## Getting started
510

611
### Installating the package

scripts/quickstart_tooling_llc/template/dev_requirements.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
../../core/azure-core
44
../../identity/azure-identity
55
../../nspkg/{{ folder_first }}-{{ folder_second }}-nspkg
6-
aiohttp>=3.0; python_version >= '3.5'
6+
aiohttp>=3.0;
77
typing_extensions>=3.7.2
8-
asyncio; python_version >= '3.5'
8+
asyncio;

scripts/quickstart_tooling_llc/template/setup.cfg

-2
This file was deleted.

scripts/quickstart_tooling_llc/template/setup.py

+3-7
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,12 @@
4343
classifiers=[
4444
"Development Status :: 4 - Beta",
4545
"Programming Language :: Python",
46-
"Programming Language :: Python :: 2",
47-
"Programming Language :: Python :: 2.7",
46+
"Programming Language :: Python :: 3 :: Only",
4847
"Programming Language :: Python :: 3",
49-
"Programming Language :: Python :: 3.6",
5048
"Programming Language :: Python :: 3.7",
5149
"Programming Language :: Python :: 3.8",
5250
"Programming Language :: Python :: 3.9",
51+
"Programming Language :: Python :: 3.10",
5352
"License :: OSI Approved :: MIT License",
5453
],
5554
zip_safe=False,
@@ -65,8 +64,5 @@
6564
"msrest>=0.6.21",
6665
'six>=1.11.0',
6766
],
68-
extras_require={
69-
":python_version<'3.0'": ["futures", "{{ folder_first }}-{{ folder_second }}-nspkg"],
70-
":python_version<'3.5'": ["typing"],
71-
},
67+
python_requires=">=3.7",
7268
)

0 commit comments

Comments
 (0)