Skip to content

Commit 1a6c323

Browse files
Pavel Minaevint19h
authored andcommitted
Remove Python 3.6 support.
1 parent fb56410 commit 1a6c323

4 files changed

Lines changed: 5 additions & 9 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,14 +83,14 @@ debugpy.wait_for_client() # blocks execution until client is attached
8383
```
8484

8585
### `breakpoint()` function
86-
In Python 3.7 and above, `debugpy` supports the standard `breakpoint()` function. Use `debugpy.breakpoint()` function for similar behavior and compatibility with older versions of Python. If the debugger is attached when either of these functions is invoked, it will pause execution on the calling line, as if it had a breakpoint set. If there's no client attached, the functions do nothing, and the code continues to execute normally.
86+
Where available, debugpy supports the standard `breakpoint()` function for programmatic breakpoints. Use `debugpy.breakpoint()` function to get the same behavior when `breakpoint()` handler installed by debugpy is overridden by another handler. If the debugger is attached when either of these functions is invoked, it will pause execution on the calling line, as if it had a breakpoint set. If there's no client attached, the functions do nothing, and the code continues to execute normally.
8787
```python
8888
import debugpy
8989
debugpy.listen(...)
9090

9191
while True:
9292
...
93-
breakpoint() # or debugpy.breakpoint() on 3.6 and below
93+
breakpoint() # or debugpy.breakpoint()
9494
...
9595
```
9696

azure-pipelines/pipelines.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@ jobs:
3737

3838
strategy:
3939
matrix:
40-
py36:
41-
python.version: "3.6"
4240
py37:
4341
python.version: "3.7"
4442
py38:
@@ -95,8 +93,6 @@ jobs:
9593

9694
strategy:
9795
matrix:
98-
py36:
99-
python.version: "3.6"
10096
py37:
10197
python.version: "3.7"
10298
py38:

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,13 +158,13 @@ def tail_is(*suffixes):
158158
project_urls={
159159
"Source": "https://github.com/microsoft/debugpy",
160160
},
161-
python_requires=">=3.6",
161+
python_requires=">=3.7",
162162
classifiers=[
163163
"Development Status :: 5 - Production/Stable",
164-
"Programming Language :: Python :: 3.6",
165164
"Programming Language :: Python :: 3.7",
166165
"Programming Language :: Python :: 3.8",
167166
"Programming Language :: Python :: 3.9",
167+
"Programming Language :: Python :: 3.10",
168168
"Topic :: Software Development :: Debuggers",
169169
"Operating System :: Microsoft :: Windows",
170170
"Operating System :: MacOS",

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py{36,37,38,39,310}{,-cov}
2+
envlist = py{37,38,39,310}{,-cov}
33

44
[testenv]
55
deps = -rtests/requirements.txt

0 commit comments

Comments
 (0)