3
0
Fork 0
forked from mirrors/nixpkgs

pythonPackages.debugpy: 1.4.1 → 1.4.2

This commit is contained in:
Kira Bruneau 2021-09-08 21:32:28 -04:00
parent 1eaa7bc9f3
commit 689e408afc
4 changed files with 13 additions and 16 deletions

View file

@ -17,13 +17,13 @@
buildPythonPackage rec {
pname = "debugpy";
version = "1.4.1";
version = "1.4.2";
src = fetchFromGitHub {
owner = "Microsoft";
repo = pname;
rev = "v${version}";
hash = "sha256-W51Y9tZB1Uyp175+hWCpXChwL+MBpDWjudF87F1MRso=";
hash = "sha256-asowRMcNWUsy5av7GOoWALy7Ph3WNk4sU/EsiwVUkf4=";
};
patches = [

View file

@ -1,5 +1,5 @@
diff --git a/tests/debug/session.py b/tests/debug/session.py
index 101492f..4ee7cfb 100644
index 101492fc..4ee7cfbe 100644
--- a/tests/debug/session.py
+++ b/tests/debug/session.py
@@ -630,6 +630,7 @@ class Session(object):

View file

@ -1,8 +1,8 @@
diff --git a/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/add_code_to_python_process.py b/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/add_code_to_python_process.py
index 51017f2..46654ab 100644
index 3c0e1b94..e995a20f 100644
--- a/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/add_code_to_python_process.py
+++ b/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/add_code_to_python_process.py
@@ -398,7 +398,7 @@ def run_python_code_linux(pid, python_code, connect_debugger_tracing=False, show
@@ -399,7 +399,7 @@ def run_python_code_linux(pid, python_code, connect_debugger_tracing=False, show
is_debug = 0
# Note that the space in the beginning of each line in the multi-line is important!
cmd = [

View file

@ -1,25 +1,22 @@
diff --git a/setup.py b/setup.py
index cfec60d..32ca206 100644
index ee5bbba9..0b7b9b45 100644
--- a/setup.py
+++ b/setup.py
@@ -24,7 +24,6 @@ elif "--abi" in sys.argv:
from setuptools import setup # noqa
@@ -15,7 +15,6 @@ from distutils.command.build_py import build_py as _build_py
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
-import versioneer # noqa
del sys.path[0]
@@ -86,7 +85,7 @@ if __name__ == "__main__":
if not os.getenv("SKIP_CYTHON_BUILD"):
cython_build()
@@ -129,12 +128,12 @@ if __name__ == "__main__":
if platforms is not None:
extras["platforms"] = platforms
- cmds = versioneer.get_cmdclass()
+ cmds = {}
cmds["bdist_wheel"] = bdist_wheel
extras = {}
@@ -96,7 +95,7 @@ if __name__ == "__main__":
cmds.update(build=build, build_py=build_py)
setup(
name="debugpy",
@ -29,7 +26,7 @@ index cfec60d..32ca206 100644
long_description=long_description,
long_description_content_type="text/markdown",
diff --git a/src/debugpy/__init__.py b/src/debugpy/__init__.py
index baa5a7c..5355327 100644
index baa5a7c5..53553272 100644
--- a/src/debugpy/__init__.py
+++ b/src/debugpy/__init__.py
@@ -27,7 +27,6 @@ __all__ = [