Skip to content

Commit

Permalink
Release pydevd 3.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
fabioz committed Jan 31, 2024
1 parent 81145ab commit fe77748
Show file tree
Hide file tree
Showing 7 changed files with 54 additions and 19 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pydevd-release-manylinux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ jobs:
- uses: actions/setup-python@v3

- name: Install cibuildwheel
run: python -m pip install cibuildwheel==2.16.5
run: python -m pip install cibuildwheel==2.16.2

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

- name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse
env:
CIBW_SKIP: pp*
CIBW_SKIP: pp* cp36-* cp37-*
CIBW_BUILD_VERBOSITY: 1

- uses: actions/upload-artifact@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pydevd-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
fail-fast: false
matrix:
os: [macos-latest, windows-latest]
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v3
- name: Set up Python
Expand Down
33 changes: 26 additions & 7 deletions .github/workflows/pydevd-tests-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,26 +17,27 @@ jobs:
name: [
"ubuntu-pypy3",
# "macos-py37-cython", -- misbehaving on github actions
"ubuntu-py38-cython",
"ubuntu-py38-cython-checkbin",
"windows-py39-cython",
"windows-py310-cython-checkbin",
"windows-py311-cython",
"ubuntu-py311-cython",
"ubuntu-py312-cython",
"ubuntu-py312-cython-checkbin",
"windows-py312-cython-checkbin",
]

include:
- name: "ubuntu-pypy3"
python: "pypy3.10"
os: ubuntu-latest
os: ubuntu-20.04
PYDEVD_USE_CYTHON: NO
# - name: "macos-py37-cython"
# python: "3.7"
# os: macos-latest
# PYDEVD_USE_CYTHON: YES
- name: "ubuntu-py38-cython"
- name: "ubuntu-py38-cython-checkbin"
python: "3.8"
os: ubuntu-latest
os: ubuntu-20.04
PYDEVD_USE_CYTHON: YES
- name: "windows-py39-cython"
python: "3.9"
Expand All @@ -53,11 +54,15 @@ jobs:
PYDEVD_USE_CYTHON: YES
- name: "ubuntu-py311-cython"
python: "3.11.0"
os: ubuntu-latest
os: ubuntu-20.04
PYDEVD_USE_CYTHON: YES
- name: "ubuntu-py312-cython"
python: "3.12.0"
os: ubuntu-latest
os: ubuntu-20.04
PYDEVD_USE_CYTHON: YES
- name: "windows-py312-cython-checkbin"
python: "3.12"
os: windows-latest
PYDEVD_USE_CYTHON: YES

steps:
Expand Down Expand Up @@ -103,13 +108,27 @@ jobs:
if: contains(matrix.name, 'py3')
run: |
pip install trio
- name: Check that wheels can be built
if: contains(matrix.name, 'checkbin') && contains(matrix.name, 'ubuntu')
run: |
python -m pip install cibuildwheel==2.16.2
# Remove these .so files (will be rebuilt)
rm pydevd_attach_to_process/*.so
python -m cibuildwheel --output-dir wheelhouse
env:
CIBW_BUILD: cp38-*manylinux*x86_64
CIBW_BUILD_VERBOSITY: 1

- name: Check cython unchanged
if: contains(matrix.name, 'checkbin')
env:
PYTHONPATH: .
run: |
python build_tools/build.py
python build_tools/check_no_git_modifications.py
- name: Create cython binaries
if: contains(matrix.name, 'cython')
run: |
Expand Down
15 changes: 9 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,31 +8,34 @@ The PyDev Debugger is a Python debugger which historically was created to
work with `PyDev` (in Eclipse).

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

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

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

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

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

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

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

`pydevd` is compatible with Python 3.6 onwards and is tested both with CPython as well as PyPy.
For instructions on how to `Remote Debug` with `PyDev`, see: https://www.pydev.org/manual_adv_remote_debugger.html

`pydevd` is compatible with Python 3.8 onwards and is tested both with CPython as well as PyPy.

For `Python 3.3 to 3.7` please keep using `pydevd 2.10.0`.

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

Expand Down
15 changes: 15 additions & 0 deletions build_tools/check_no_git_modifications.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,21 @@
+ "_pydevd_frame_eval\\\\pydevd_frame_evaluator.pyx",
- "_pydevd_bundle/pydevd_cython.pxd",
+ "_pydevd_bundle\\\\pydevd_cython.pxd",
--- a/_pydevd_sys_monitoring/_pydevd_sys_monitoring_cython.c
+++ b/_pydevd_sys_monitoring/_pydevd_sys_monitoring_cython.c
- "_pydevd_sys_monitoring\\\\\\\\_pydevd_sys_monitoring_cython.pyx",
+ "_pydevd_sys_monitoring/_pydevd_sys_monitoring_cython.pyx",
- ".\\\\\\\\_pydevd_bundle\\\\\\\\pydevd_cython.pxd",
+ "./_pydevd_bundle/pydevd_cython.pxd",
-static const char __pyx_k_pydevd_sys_monitoring__pydevd_s[] = "_pydevd_sys_monitoring\\\\_pydevd_sys_monitoring_cython.pyx";
+static const char __pyx_k_pydevd_sys_monitoring__pydevd_s[] = "_pydevd_sys_monitoring/_pydevd_sys_monitoring_cython.pyx";
- "_pydevd_sys_monitoring\\\\_pydevd_sys_monitoring_cython.pyx",
- ".\\\\\\\\_pydevd_bundle\\\\pydevd_cython.pxd",
-static const char __pyx_k_pydevd_sys_monitoring__pydevd_s[] = "_pydevd_sys_monitoring\\_pydevd_sys_monitoring_cython.pyx";
- ".\\\\\\\\_pydevd_bundle\\\\\\\\pydevd_cython.pxd",
- ".\\\\_pydevd_bundle\\\\pydevd_cython.pxd",
'''.splitlines() if line.strip())


Expand Down
2 changes: 1 addition & 1 deletion pydevd.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
if USE_CUSTOM_SYS_CURRENT_FRAMES_MAP:
from _pydevd_bundle.pydevd_constants import constructed_tid_to_last_frame

__version_info__ = (3, 0, 1)
__version_info__ = (3, 0, 2)
__version_info_str__ = []
for v in __version_info__:
__version_info_str__.append(str(v))
Expand Down
2 changes: 0 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,6 @@ def accept_file(f):
'Operating System :: POSIX',
'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',
Expand Down

0 comments on commit fe77748

Please sign in to comment.