Skip to content

Commit 0ffc152

Browse files
authored
[Packaging] Drop Python 3.7 support (#26855)
1 parent d845393 commit 0ffc152

File tree

9 files changed

+9
-14
lines changed

9 files changed

+9
-14
lines changed

doc/command_guidelines.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ Follow the [Error Handling Guidelines](https://github.com/Azure/azure-cli/blob/d
426426

427427
## Coding Practices
428428

429-
- All code must support Python 3.7 ~ 3.10
429+
- All code must support Python 3.8 ~ 3.10
430430
- PRs to Azure/azure-cli and Azure/azure-cli-extensions must pass CI
431431
- Code must pass style checks with pylint and pep8
432432
- (*) All commands should have tests

doc/debug/debug_in_vs_code.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
* Visual Studio Code [Link](http://code.visualstudio.com/)
66
* Visual Studio Code Python Extension [Link](https://marketplace.visualstudio.com/items?itemName=donjayamanne.python)
7-
* Python 3.7+
7+
* Python 3.8+
88
* Set up development environment [Link](https://github.com/Azure/azure-cli/blob/master/doc/configuring_your_machine.md)
99

1010
## Quick start

doc/extensions/authoring.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,9 @@ See [Extension Metadata](metadata.md) for more information.
129129

130130
### Test your extension on Python 3
131131

132-
- The Azure CLI supports Python 3.7 ~ 3.10 so verify that your extension does the same.
132+
- The Azure CLI supports Python 3.8 ~ 3.10 so verify that your extension does the same.
133133
- You can create virtual environments for different versions and run your extension in them.
134-
- e.g. `python3.7 -m venv env37` and `python3.10 -m venv env310`.
134+
- e.g. `python3.8 -m venv env38` and `python3.10 -m venv env310`.
135135

136136

137137
Also, see the [FAQ](faq.md).

doc/install_linux_prerequisites.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,26 +3,26 @@ Linux Install Prerequisites
33

44
Some native Linux packages are required when installing the CLI with:
55

6-
- Interactive install script
6+
- Interactive installation script
77
- `pip`
88

9-
Current supported Python versions are Python 3.7 ~ 3.10.
9+
Current supported Python versions are Python 3.8 ~ 3.10.
1010

1111
The commands to run to install the dependencies for some common distributions are listed below.
1212

13-
### Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Debian 9, Debian 10
13+
### Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Debian 9, Debian 10, Debian 11
1414
```
1515
sudo apt-get update && sudo apt-get install -y libssl-dev libffi-dev python-dev build-essential
1616
```
1717

18-
### RHEL 8, CentOS Stream 8
18+
### RHEL 8, CentOS Stream 8, RHEL 9, CentOS Stream 9
1919
Install the latest Python 3.9 available in the software repo.
2020
```
2121
sudo dnf install -y gcc libffi-devel python39-devel openssl-devel
2222
```
2323

2424
### SUSE OpenSUSE 13.2
25-
Install Python 3.7+ if needed.
25+
Install Python 3.8+ if needed.
2626
```
2727
sudo zypper refresh && sudo zypper --non-interactive install gcc libffi-devel python-devel openssl-devel
2828
```

scripts/ci/build.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ CLASSIFIERS = [
9898
'Intended Audience :: Developers',
9999
'Programming Language :: Python',
100100
'Programming Language :: Python :: 3',
101-
'Programming Language :: Python :: 3.7',
102101
'Programming Language :: Python :: 3.8',
103102
'Programming Language :: Python :: 3.9',
104103
'Programming Language :: Python :: 3.10',

src/azure-cli-core/setup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
'Intended Audience :: System Administrators',
3636
'Programming Language :: Python',
3737
'Programming Language :: Python :: 3',
38-
'Programming Language :: Python :: 3.7',
3938
'Programming Language :: Python :: 3.8',
4039
'Programming Language :: Python :: 3.9',
4140
'Programming Language :: Python :: 3.10',

src/azure-cli-telemetry/setup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
'Intended Audience :: System Administrators',
1717
'Programming Language :: Python',
1818
'Programming Language :: Python :: 3',
19-
'Programming Language :: Python :: 3.7',
2019
'Programming Language :: Python :: 3.8',
2120
'Programming Language :: Python :: 3.9',
2221
'Programming Language :: Python :: 3.10',

src/azure-cli-testsdk/setup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
'Intended Audience :: Developers',
1616
'Programming Language :: Python',
1717
'Programming Language :: Python :: 3',
18-
'Programming Language :: Python :: 3.7',
1918
'Programming Language :: Python :: 3.8',
2019
'Programming Language :: Python :: 3.9',
2120
'Programming Language :: Python :: 3.10',

src/azure-cli/setup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
'Intended Audience :: System Administrators',
4343
'Programming Language :: Python',
4444
'Programming Language :: Python :: 3',
45-
'Programming Language :: Python :: 3.7',
4645
'Programming Language :: Python :: 3.8',
4746
'Programming Language :: Python :: 3.9',
4847
'Programming Language :: Python :: 3.10',

0 commit comments

Comments
 (0)