Skip to content

Commit 18f5ed0

Browse files
committed
Remove EOL Python versions
1 parent f5e2256 commit 18f5ed0

File tree

9 files changed

+21
-22
lines changed

9 files changed

+21
-22
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
env/
22
.vs/
33
src/aztool.egg-info/
4-
src/aztool/__pycache__/__init__.cpython-36.pyc
54
src/aztool/__pycache__/
65
src/azdev.egg-info/*
76
*.pyc

HISTORY.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
33
Release History
44
===============
5+
Unreleased
6+
++++++++++
7+
* Remove EOL Python versions, namely 3.6 and 3.7.
8+
59
0.1.69
610
++++++
711
* `azdev command-change tree-export`: Add command help message.

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ The `azdev` tool is designed to aid new and experienced developers in contributi
2121

2222
## Setting up your development environment
2323

24-
1. Install Python 3.6/3.7/3.8 from http://python.org. Please note that the version of Python that comes preinstalled on OSX is 2.7. Currently it's not recommended to use Python 3.9.
24+
1. Install Python 3.8/3.9/3.10 from http://python.org. Please note that the version of Python that comes preinstalled on OSX is 2.7.
2525
2. Fork and clone the repository or repositories you wish to develop for.
2626
- For Azure CLI: https://github.com/Azure/azure-cli
2727
- For Azure CLI Extensions: https://github.com/Azure/azure-cli-extensions
@@ -45,10 +45,10 @@ The `azdev` tool is designed to aid new and experienced developers in contributi
4545

4646
See [Authenticating with GitHub from Git](https://docs.github.com/github/getting-started-with-github/set-up-git#next-steps-authenticating-with-github-from-git) about caching your GitHub credentials in Git which is needed when you push the code.
4747

48-
48+
4949
3. Create a new virtual environment for Python in the root of your clone. You can do this by running:
5050

51-
Python 3.6+ (all platforms):
51+
Python 3.8+ (all platforms):
5252
```BatchFile
5353
python -m venv env
5454
```
@@ -84,11 +84,11 @@ The `azdev` tool is designed to aid new and experienced developers in contributi
8484
```
8585
For rpm packages:
8686
```Bash
87-
sudo yum install gcc python3-devel
87+
sudo yum install gcc python3-devel
8888
```
8989
9090
Otherwise you will have `psutil` installation issues (#269) when you setup `azure-cli` later.
91-
91+
9292
Upgrade `pip` on all platforms:
9393
```
9494
python -m pip install -U pip
@@ -102,7 +102,7 @@ The `azdev` tool is designed to aid new and experienced developers in contributi
102102
```
103103
azdev setup
104104
```
105-
105+
106106
This will launch the interactive setup process. You can also run with non-interactive options:
107107
```
108108
azdev setup --cli /path/to/azure-cli --repo /path/to/azure-cli-extensions
@@ -127,7 +127,7 @@ azdev extension add <extension-name>
127127
128128
Run `az <command> --help` with your command groups or commands for a quick check on the command interface and help messages.
129129
130-
For instructions on manually writing the commands and tests, see more in
130+
For instructions on manually writing the commands and tests, see more in
131131
- [Authoring Command Modules](https://github.com/Azure/azure-cli/tree/dev/doc/authoring_command_modules)
132132
- [Authoring Extensions](https://github.com/Azure/azure-cli/blob/dev/doc/extensions/authoring.md)
133133
- [Authoring Tests](https://github.com/Azure/azure-cli/blob/dev/doc/authoring_tests.md)

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ The ``azdev`` tool is designed to aid new and experienced developers in contribu
66
Setting up your development environment
77
+++++++++++++++++++++++++++++++++++++++
88

9-
1. Install Python 3.6+ from http://python.org. Please note that the version of Python that comes preinstalled on OSX is 2.7.
9+
1. Install Python 3.8+ from http://python.org. Please note that the version of Python that comes preinstalled on OSX is 2.7.
1010

1111
2. Fork and clone the repository or repositories you wish to develop for.
1212
- For Azure CLI: https://github.com/Azure/azure-cli
@@ -15,7 +15,7 @@ Setting up your development environment
1515

1616
3. Create a new virtual environment for Python in the root of your clone. You can do this by running:
1717

18-
Python 3.6+ (all platforms):
18+
Python 3.8+ (all platforms):
1919

2020
::
2121

azdev.pyproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@
8585
<ItemGroup>
8686
<Interpreter Include="env\">
8787
<Id>env</Id>
88-
<Version>3.6</Version>
89-
<Description>env (Python 3.6 (32-bit))</Description>
88+
<Version>3.10</Version>
89+
<Description>env (Python 3.10 (32-bit))</Description>
9090
<InterpreterPath>Scripts\python.exe</InterpreterPath>
9191
<WindowsInterpreterPath>Scripts\pythonw.exe</WindowsInterpreterPath>
9292
<PathEnvironmentVariable>PYTHONPATH</PathEnvironmentVariable>
@@ -98,4 +98,4 @@
9898
<Content Include="azdev\operations\linter\rules\linter_exclusions.yml" />
9999
</ItemGroup>
100100
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\Python Tools\Microsoft.PythonTools.targets" />
101-
</Project>
101+
</Project>

azdev/mod_templates/setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@
2626
'Intended Audience :: System Administrators',
2727
'Programming Language :: Python',
2828
'Programming Language :: Python :: 3',
29-
'Programming Language :: Python :: 3.6',
30-
'Programming Language :: Python :: 3.7',
3129
'Programming Language :: Python :: 3.8',
30+
'Programming Language :: Python :: 3.9',
31+
'Programming Language :: Python :: 3.10',
3232
'License :: OSI Approved :: MIT License',
3333
]
3434

azure-cli-diff-tool/README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ The ``azure-cli-diff-tool`` is designed to aid azure-cli users in diffing metada
66
Setting up your environment
77
+++++++++++++++++++++++++++++++++++++++
88

9-
1. Install Python 3.6+ from http://python.org. Please note that the version of Python that comes preinstalled on OSX is 2.7.
9+
1. Install Python 3.8+ from http://python.org. Please note that the version of Python that comes preinstalled on OSX is 2.7.
1010

1111
3. Create a new virtual environment for Python in the root of your clone. You can do this by running:
1212

13-
Python 3.6+ (all platforms):
13+
Python 3.8+ (all platforms):
1414

1515
::
1616

setup.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,12 @@
4040
'Environment :: Console',
4141
'License :: OSI Approved :: MIT License',
4242
'Natural Language :: English',
43-
'Programming Language :: Python :: 3.6',
44-
'Programming Language :: Python :: 3.7',
4543
'Programming Language :: Python :: 3.8',
4644
'Programming Language :: Python :: 3.9',
4745
'Programming Language :: Python :: 3.10'
4846
],
4947
keywords='azure',
50-
python_requires='>=3.6',
48+
python_requires='>=3.8',
5149
packages=[
5250
'azdev',
5351
'azdev.config',

tox.ini

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
[tox]
22
envlist =
3-
py36
4-
py37
53
py38
64
py39
75
py310

0 commit comments

Comments
 (0)