Skip to content

Commit fe77748

Browse files
committed
Release pydevd 3.0.2
1 parent 81145ab commit fe77748

7 files changed

Lines changed: 54 additions & 19 deletions

File tree

.github/workflows/pydevd-release-manylinux.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@ jobs:
2424
- uses: actions/setup-python@v3
2525

2626
- name: Install cibuildwheel
27-
run: python -m pip install cibuildwheel==2.16.5
27+
run: python -m pip install cibuildwheel==2.16.2
2828

2929
- name: Remove .so files (will be rebuilt)
3030
run: rm pydevd_attach_to_process/*.so
3131

3232
- name: Build wheels
3333
run: python -m cibuildwheel --output-dir wheelhouse
3434
env:
35-
CIBW_SKIP: pp*
35+
CIBW_SKIP: pp* cp36-* cp37-*
3636
CIBW_BUILD_VERBOSITY: 1
3737

3838
- uses: actions/upload-artifact@v3

.github/workflows/pydevd-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
fail-fast: false
1717
matrix:
1818
os: [macos-latest, windows-latest]
19-
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
19+
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
2020
steps:
2121
- uses: actions/checkout@v3
2222
- name: Set up Python

.github/workflows/pydevd-tests-python.yml

Lines changed: 26 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,26 +17,27 @@ jobs:
1717
name: [
1818
"ubuntu-pypy3",
1919
# "macos-py37-cython", -- misbehaving on github actions
20-
"ubuntu-py38-cython",
20+
"ubuntu-py38-cython-checkbin",
2121
"windows-py39-cython",
2222
"windows-py310-cython-checkbin",
2323
"windows-py311-cython",
2424
"ubuntu-py311-cython",
25-
"ubuntu-py312-cython",
25+
"ubuntu-py312-cython-checkbin",
26+
"windows-py312-cython-checkbin",
2627
]
2728

2829
include:
2930
- name: "ubuntu-pypy3"
3031
python: "pypy3.10"
31-
os: ubuntu-latest
32+
os: ubuntu-20.04
3233
PYDEVD_USE_CYTHON: NO
3334
# - name: "macos-py37-cython"
3435
# python: "3.7"
3536
# os: macos-latest
3637
# PYDEVD_USE_CYTHON: YES
37-
- name: "ubuntu-py38-cython"
38+
- name: "ubuntu-py38-cython-checkbin"
3839
python: "3.8"
39-
os: ubuntu-latest
40+
os: ubuntu-20.04
4041
PYDEVD_USE_CYTHON: YES
4142
- name: "windows-py39-cython"
4243
python: "3.9"
@@ -53,11 +54,15 @@ jobs:
5354
PYDEVD_USE_CYTHON: YES
5455
- name: "ubuntu-py311-cython"
5556
python: "3.11.0"
56-
os: ubuntu-latest
57+
os: ubuntu-20.04
5758
PYDEVD_USE_CYTHON: YES
5859
- name: "ubuntu-py312-cython"
5960
python: "3.12.0"
60-
os: ubuntu-latest
61+
os: ubuntu-20.04
62+
PYDEVD_USE_CYTHON: YES
63+
- name: "windows-py312-cython-checkbin"
64+
python: "3.12"
65+
os: windows-latest
6166
PYDEVD_USE_CYTHON: YES
6267

6368
steps:
@@ -103,13 +108,27 @@ jobs:
103108
if: contains(matrix.name, 'py3')
104109
run: |
105110
pip install trio
111+
112+
- name: Check that wheels can be built
113+
if: contains(matrix.name, 'checkbin') && contains(matrix.name, 'ubuntu')
114+
run: |
115+
python -m pip install cibuildwheel==2.16.2
116+
# Remove these .so files (will be rebuilt)
117+
rm pydevd_attach_to_process/*.so
118+
python -m cibuildwheel --output-dir wheelhouse
119+
env:
120+
CIBW_BUILD: cp38-*manylinux*x86_64
121+
CIBW_BUILD_VERBOSITY: 1
122+
106123
- name: Check cython unchanged
107124
if: contains(matrix.name, 'checkbin')
108125
env:
109126
PYTHONPATH: .
110127
run: |
111128
python build_tools/build.py
112129
python build_tools/check_no_git_modifications.py
130+
131+
113132
- name: Create cython binaries
114133
if: contains(matrix.name, 'cython')
115134
run: |

README.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,31 +8,34 @@ The PyDev Debugger is a Python debugger which historically was created to
88
work with `PyDev` (in Eclipse).
99

1010
Over the years (as it's open source -- EPL) it was adopted by other IDEs/companies
11-
(so, it was integrated into PyCharm and is also bundled in VSCode Python by
12-
the usage of debugpy).
11+
(so, it was integrated into PyCharm and VSCode Python through `debugpy`, which bundles `pydevd`).
1312

1413
Note that although it was adopted by other IDEs (and over the years companies of other
1514
commercial IDEs did provide backing), by far most of the work was done without any
1615
external backing and the ongoing work on the project relies on community support.
1716

18-
If you like using it, please consider becoming a backer of the project (this is
17+
So, if you like using it, please consider becoming a backer of the project (this is
1918
done through the `PyDev` umbrella, so please see https://www.pydev.org/about.html
20-
for how to financially contribute to the project).
19+
for how to contribute to the project).
2120

2221
The sources for the PyDev.Debugger may be seen at:
2322

2423
https://github.com/fabioz/PyDev.Debugger
2524

2625
In general, the debugger backend should **NOT** be installed separately if you're using an IDE which already
27-
bundles it (such as PyDev, PyCharm or bundled through debugpy, which is the debug adapter used in
26+
bundles it (such as PyDev, PyCharm or bundled through debugpy, which is the debug adapter used in
2827
VSCode Python and Visual Studio Python).
2928

3029
It is however available in PyPi so that it can be installed for doing remote debugging with `pip` -- so, when
3130
debugging a process which runs in another machine, it's possible to `pip install pydevd` and in the code use
3231
`pydevd.settrace(host='10.1.1.1')` to connect the debugger backend to the debugger UI running in the IDE
3332
(whereas previously the sources had to be manually copied from the IDE installation).
3433

35-
`pydevd` is compatible with Python 3.6 onwards and is tested both with CPython as well as PyPy.
34+
For instructions on how to `Remote Debug` with `PyDev`, see: https://www.pydev.org/manual_adv_remote_debugger.html
35+
36+
`pydevd` is compatible with Python 3.8 onwards and is tested both with CPython as well as PyPy.
37+
38+
For `Python 3.3 to 3.7` please keep using `pydevd 2.10.0`.
3639

3740
For `Python 2` please keep using `pydevd 2.8.0`.
3841

build_tools/check_no_git_modifications.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,21 @@
2525
+ "_pydevd_frame_eval\\\\pydevd_frame_evaluator.pyx",
2626
- "_pydevd_bundle/pydevd_cython.pxd",
2727
+ "_pydevd_bundle\\\\pydevd_cython.pxd",
28+
29+
--- a/_pydevd_sys_monitoring/_pydevd_sys_monitoring_cython.c
30+
+++ b/_pydevd_sys_monitoring/_pydevd_sys_monitoring_cython.c
31+
- "_pydevd_sys_monitoring\\\\\\\\_pydevd_sys_monitoring_cython.pyx",
32+
+ "_pydevd_sys_monitoring/_pydevd_sys_monitoring_cython.pyx",
33+
- ".\\\\\\\\_pydevd_bundle\\\\\\\\pydevd_cython.pxd",
34+
+ "./_pydevd_bundle/pydevd_cython.pxd",
35+
-static const char __pyx_k_pydevd_sys_monitoring__pydevd_s[] = "_pydevd_sys_monitoring\\\\_pydevd_sys_monitoring_cython.pyx";
36+
+static const char __pyx_k_pydevd_sys_monitoring__pydevd_s[] = "_pydevd_sys_monitoring/_pydevd_sys_monitoring_cython.pyx";
37+
38+
- "_pydevd_sys_monitoring\\\\_pydevd_sys_monitoring_cython.pyx",
39+
- ".\\\\\\\\_pydevd_bundle\\\\pydevd_cython.pxd",
40+
-static const char __pyx_k_pydevd_sys_monitoring__pydevd_s[] = "_pydevd_sys_monitoring\\_pydevd_sys_monitoring_cython.pyx";
41+
- ".\\\\\\\\_pydevd_bundle\\\\\\\\pydevd_cython.pxd",
42+
- ".\\\\_pydevd_bundle\\\\pydevd_cython.pxd",
2843
'''.splitlines() if line.strip())
2944

3045

pydevd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@
119119
if USE_CUSTOM_SYS_CURRENT_FRAMES_MAP:
120120
from _pydevd_bundle.pydevd_constants import constructed_tid_to_last_frame
121121

122-
__version_info__ = (3, 0, 1)
122+
__version_info__ = (3, 0, 2)
123123
__version_info_str__ = []
124124
for v in __version_info__:
125125
__version_info_str__.append(str(v))

setup.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,6 @@ def accept_file(f):
113113
'Operating System :: POSIX',
114114
'Programming Language :: Python',
115115
'Programming Language :: Python :: 3',
116-
'Programming Language :: Python :: 3.6',
117-
'Programming Language :: Python :: 3.7',
118116
'Programming Language :: Python :: 3.8',
119117
'Programming Language :: Python :: 3.9',
120118
'Programming Language :: Python :: 3.10',

0 commit comments

Comments
 (0)