Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove EOL Python versions #451

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
env/
.vs/
src/aztool.egg-info/
src/aztool/__pycache__/__init__.cpython-36.pyc
src/aztool/__pycache__/
src/azdev.egg-info/*
*.pyc
Expand Down
4 changes: 4 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

Release History
===============
Unreleased
++++++++++
* Remove EOL Python versions, namely 3.6 and 3.7.

0.1.72
++++++
* Bump `pylint` to 3
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ The `azdev` tool is designed to aid new and experienced developers in contributi

## Setting up your development environment

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.
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.
2. Fork and clone the repository or repositories you wish to develop for.
- For Azure CLI: https://github.com/Azure/azure-cli
- For Azure CLI Extensions: https://github.com/Azure/azure-cli-extensions
Expand All @@ -45,10 +45,10 @@ The `azdev` tool is designed to aid new and experienced developers in contributi

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.


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

Python 3.6+ (all platforms):
Python 3.8+ (all platforms):
```BatchFile
python -m venv env
```
Expand Down Expand Up @@ -84,11 +84,11 @@ The `azdev` tool is designed to aid new and experienced developers in contributi
```
For rpm packages:
```Bash
sudo yum install gcc python3-devel
sudo yum install gcc python3-devel
```
Otherwise you will have `psutil` installation issues (#269) when you setup `azure-cli` later.
Upgrade `pip` on all platforms:
```
python -m pip install -U pip
Expand All @@ -102,7 +102,7 @@ The `azdev` tool is designed to aid new and experienced developers in contributi
```
azdev setup
```
This will launch the interactive setup process. You can also run with non-interactive options:
```
azdev setup --cli /path/to/azure-cli --repo /path/to/azure-cli-extensions
Expand All @@ -127,7 +127,7 @@ azdev extension add <extension-name>
Run `az <command> --help` with your command groups or commands for a quick check on the command interface and help messages.
For instructions on manually writing the commands and tests, see more in
For instructions on manually writing the commands and tests, see more in
- [Authoring Command Modules](https://github.com/Azure/azure-cli/tree/dev/doc/authoring_command_modules)
- [Authoring Extensions](https://github.com/Azure/azure-cli/blob/dev/doc/extensions/authoring.md)
- [Authoring Tests](https://github.com/Azure/azure-cli/blob/dev/doc/authoring_tests.md)
Expand Down
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ The ``azdev`` tool is designed to aid new and experienced developers in contribu
Setting up your development environment
+++++++++++++++++++++++++++++++++++++++

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

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

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

Python 3.6+ (all platforms):
Python 3.8+ (all platforms):

::

Expand Down
6 changes: 3 additions & 3 deletions azdev.pyproj
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@
<ItemGroup>
<Interpreter Include="env\">
<Id>env</Id>
<Version>3.6</Version>
<Description>env (Python 3.6 (32-bit))</Description>
<Version>3.10</Version>
<Description>env (Python 3.10 (32-bit))</Description>
<InterpreterPath>Scripts\python.exe</InterpreterPath>
<WindowsInterpreterPath>Scripts\pythonw.exe</WindowsInterpreterPath>
<PathEnvironmentVariable>PYTHONPATH</PathEnvironmentVariable>
Expand All @@ -98,4 +98,4 @@
<Content Include="azdev\operations\linter\rules\linter_exclusions.yml" />
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\Python Tools\Microsoft.PythonTools.targets" />
</Project>
</Project>
4 changes: 2 additions & 2 deletions azdev/mod_templates/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
'Intended Audience :: System Administrators',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'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',
]

Expand Down
4 changes: 2 additions & 2 deletions azure-cli-diff-tool/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ The ``azure-cli-diff-tool`` is designed to aid azure-cli users in diffing metada
Setting up your environment
+++++++++++++++++++++++++++++++++++++++

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

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

Python 3.6+ (all platforms):
Python 3.8+ (all platforms):

::

Expand Down
4 changes: 1 addition & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,12 @@
'Environment :: Console',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10'
],
keywords='azure',
python_requires='>=3.6',
python_requires='>=3.8',
packages=[
'azdev',
'azdev.config',
Expand Down
2 changes: 0 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
[tox]
envlist =
py36
py37
py38
py39
py310
Expand Down