From 5e4c0c51ddaf14b49fa382cac8ccb8823c18390e Mon Sep 17 00:00:00 2001 From: Fabio Zadrozny Date: Wed, 31 Jan 2024 21:58:52 -0300 Subject: [PATCH] Release pydevd 3.0.3 --- .github/workflows/pydevd-tests-python.yml | 4 ++-- build_tools/build.py | 1 - pydevd.py | 2 +- setup.py | 4 +++- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pydevd-tests-python.yml b/.github/workflows/pydevd-tests-python.yml index e0a9849f..142fac73 100644 --- a/.github/workflows/pydevd-tests-python.yml +++ b/.github/workflows/pydevd-tests-python.yml @@ -56,7 +56,7 @@ jobs: python: "3.11.0" os: ubuntu-20.04 PYDEVD_USE_CYTHON: YES - - name: "ubuntu-py312-cython" + - name: "ubuntu-py312-cython-checkbin" python: "3.12.0" os: ubuntu-20.04 PYDEVD_USE_CYTHON: YES @@ -117,7 +117,7 @@ jobs: rm pydevd_attach_to_process/*.so python -m cibuildwheel --output-dir wheelhouse env: - CIBW_BUILD: cp38-*manylinux*x86_64 + CIBW_BUILD: cp310-*manylinux*x86_64 cp311-*manylinux*x86_64 cp312-*manylinux*x86_64 CIBW_BUILD_VERBOSITY: 1 - name: Check cython unchanged diff --git a/build_tools/build.py b/build_tools/build.py index 53199c71..c57bfa58 100644 --- a/build_tools/build.py +++ b/build_tools/build.py @@ -152,7 +152,6 @@ def build(): sys.executable, os.path.join(os.path.dirname(__file__), '..', 'setup_pydevd_cython.py'), 'build_ext', '--inplace', ] + additional_args print('Calling args: %s' % (args,)) - env['PYDEVD_FORCE_BUILD_ALL'] = '1' subprocess.check_call(args, env=env,) diff --git a/pydevd.py b/pydevd.py index d1421a93..47c850d8 100644 --- a/pydevd.py +++ b/pydevd.py @@ -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, 2) +__version_info__ = (3, 0, 3) __version_info_str__ = [] for v in __version_info__: __version_info_str__.append(str(v)) diff --git a/setup.py b/setup.py index 2d1e989e..32487bfe 100644 --- a/setup.py +++ b/setup.py @@ -176,7 +176,7 @@ def accept_file(f): ] py_version = sys.version_info[:2] - if (3, 6) <= py_version <= (3, 11): + if (3, 6) <= py_version <= (3, 10): ext_modules.append( Extension( '_pydevd_frame_eval.pydevd_frame_evaluator', @@ -186,6 +186,8 @@ def accept_file(f): ) ) + # Note: 3.11 does not have frame eval implemented (nor sys.monitoring) + if py_version >= (3, 12): ext_modules.append( Extension(