* [PR PATCH] New packages: python3-debugpy-1.8.9, python3-untangle-1.2.1
@ 2024-12-13 3:50 zackattackz
2024-12-13 4:01 ` zackattackz
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: zackattackz @ 2024-12-13 3:50 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1513 bytes --]
There is a new pull request by zackattackz against master on the void-packages repository
https://github.com/zackattackz/void-packages debugpy
https://github.com/void-linux/void-packages/pull/53505
New packages: python3-debugpy-1.8.9, python3-untangle-1.2.1
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
#### Notes
- python3-untangle is needed only as a check dependency of python3-debugpy. Could skip those tests and not add python3-untangle, but it is not a very complicated package and seems pretty stable anyways so might as well add it I think.
A patch file from https://github.com/void-linux/void-packages/pull/53505.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-debugpy-53505.patch --]
[-- Type: text/x-diff, Size: 7581 bytes --]
From a3d7948955734086e144e0df334c02d0ca50c07a Mon Sep 17 00:00:00 2001
From: Zachary Hanham <z@zmhanham.com>
Date: Thu, 12 Dec 2024 22:31:23 -0500
Subject: [PATCH 1/2] New package: python3-untangle-1.2.1
---
srcpkgs/python3-untangle/template | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
create mode 100644 srcpkgs/python3-untangle/template
diff --git a/srcpkgs/python3-untangle/template b/srcpkgs/python3-untangle/template
new file mode 100644
index 00000000000000..a45369851180a4
--- /dev/null
+++ b/srcpkgs/python3-untangle/template
@@ -0,0 +1,22 @@
+# Template file for 'python3-untangle'
+pkgname=python3-untangle
+version=1.2.1
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-defusedxml"
+depends="python3-defusedxml"
+short_desc="Converts XML to Python objects"
+maintainer="Zachary Hanham <z@zmhanham.com>"
+license="MIT"
+homepage="https://github.com/stchris/untangle"
+changelog="https://raw.githubusercontent.com/stchris/untangle/refs/heads/main/CHANGELOG.md"
+distfiles="https://github.com/stchris/untangle/archive/refs/tags/${version}.tar.gz"
+checksum=696643dd2879c1af55c592e07bf0de48d330157d2def66993abaa0169661dadc
+
+do_check() {
+ python -m unittest discover -s tests
+}
+
+post_install() {
+ vlicense LICENSE
+}
From eaebbcc4408706a8c100811d008e36dd5addd65b Mon Sep 17 00:00:00 2001
From: Zachary Hanham <z@zmhanham.com>
Date: Thu, 12 Dec 2024 22:31:52 -0500
Subject: [PATCH 2/2] New package: python3-debugpy-1.8.9
---
.../patches/fix_pythonpath_test.patch | 11 +++++
.../patches/skip_attach_pid_test.patch | 24 +++++++++++
.../patches/skip_django_tests.patch | 35 ++++++++++++++++
srcpkgs/python3-debugpy/template | 41 +++++++++++++++++++
4 files changed, 111 insertions(+)
create mode 100644 srcpkgs/python3-debugpy/patches/fix_pythonpath_test.patch
create mode 100644 srcpkgs/python3-debugpy/patches/skip_attach_pid_test.patch
create mode 100644 srcpkgs/python3-debugpy/patches/skip_django_tests.patch
create mode 100644 srcpkgs/python3-debugpy/template
diff --git a/srcpkgs/python3-debugpy/patches/fix_pythonpath_test.patch b/srcpkgs/python3-debugpy/patches/fix_pythonpath_test.patch
new file mode 100644
index 00000000000000..ec4e5fee99b80e
--- /dev/null
+++ b/srcpkgs/python3-debugpy/patches/fix_pythonpath_test.patch
@@ -0,0 +1,11 @@
+Fix importing of debugpy in test_nodebug
+--- a/tests/debug/session.py
++++ b/tests/debug/session.py
+@@ -704,6 +704,7 @@ class Session(object):
+ if "PYTHONPATH" in self.config.env:
+ # If specified, launcher will use it in lieu of PYTHONPATH it inherited
+ # from the adapter when spawning debuggee, so we need to adjust again.
++ self.config.env.prepend_to("PYTHONPATH", os.environ["PYTHONPATH"])
+ self.config.env.prepend_to("PYTHONPATH", DEBUGGEE_PYTHONPATH.strpath)
+
+ # Adapter is going to start listening for server and spawn the launcher at
diff --git a/srcpkgs/python3-debugpy/patches/skip_attach_pid_test.patch b/srcpkgs/python3-debugpy/patches/skip_attach_pid_test.patch
new file mode 100644
index 00000000000000..ac7a77424afb5d
--- /dev/null
+++ b/srcpkgs/python3-debugpy/patches/skip_attach_pid_test.patch
@@ -0,0 +1,24 @@
+Disable attach_pid tests because they are flaky, they are disabled by default in MacOS and Windows anyways.
+--- a/tests/debug/runners.py
++++ b/tests/debug/runners.py
+@@ -163,7 +163,7 @@ def _attach_common_config(session, target, cwd):
+ @_runner
+ @contextlib.contextmanager
+ def attach_pid(session, target, cwd=None, wait=True):
+- if wait and not sys.platform.startswith("linux"):
++ if wait:
+ pytest.skip("https://github.com/microsoft/ptvsd/issues/1926")
+
+ log.info("Attaching {0} to {1} by PID.", session, target)
+--- a/tests/debugpy/test_attach.py
++++ b/tests/debugpy/test_attach.py
+@@ -153,8 +153,7 @@ def test_reattach(pyfile, target, run):
+
+
+ @pytest.mark.parametrize("pid_type", ["int", "str"])
+-@pytest.mark.skipif(
+- not sys.platform.startswith("linux"),
++@pytest.mark.skip(
+ reason="https://github.com/microsoft/debugpy/issues/311",
+ )
+ @pytest.mark.flaky(retries=2, delay=1)
diff --git a/srcpkgs/python3-debugpy/patches/skip_django_tests.patch b/srcpkgs/python3-debugpy/patches/skip_django_tests.patch
new file mode 100644
index 00000000000000..b70a1dc5637b27
--- /dev/null
+++ b/srcpkgs/python3-debugpy/patches/skip_django_tests.patch
@@ -0,0 +1,35 @@
+Skip django tests as it is not in void-packages
+--- a/tests/debugpy/test_django.py
++++ b/tests/debugpy/test_django.py
+@@ -45,6 +45,7 @@
+
+
+ @pytest.mark.parametrize("bp_target", ["code", "template"])
++@pytest.mark.skip(reason="django is not packaged by void")
+ def test_django_breakpoint_no_multiproc(start_django, bp_target):
+ bp_file, bp_line, bp_name = {
+ "code": (paths.app_py, lines.app_py["bphome"], "home"),
+@@ -90,6 +91,7 @@
+ assert bp_var_content in home_request.response_text()
+
+
++@pytest.mark.skip(reason="django is not packaged by void")
+ def test_django_template_exception_no_multiproc(start_django):
+ with debug.Session() as session:
+ with start_django(session):
+@@ -136,6 +138,7 @@
+
+
+ @pytest.mark.parametrize("exc_type", ["handled", "unhandled"])
++@pytest.mark.skip(reason="django is not packaged by void")
+ def test_django_exception_no_multiproc(start_django, exc_type):
+ exc_line = lines.app_py["exc_" + exc_type]
+
+@@ -186,6 +189,7 @@
+ session.request_continue()
+
+
++@pytest.mark.skip(reason="django is not packaged by void")
+ def test_django_breakpoint_multiproc(start_django):
+ bp_line = lines.app_py["bphome"]
+ bp_var_content = "Django-Django-Test"
diff --git a/srcpkgs/python3-debugpy/template b/srcpkgs/python3-debugpy/template
new file mode 100644
index 00000000000000..2dfa4ec6b01c4a
--- /dev/null
+++ b/srcpkgs/python3-debugpy/template
@@ -0,0 +1,41 @@
+# Template file for 'python3-debugpy'
+pkgname=python3-debugpy
+version=1.8.9
+revision=1
+archs="i686* x86_64* aarch64*"
+build_style=python3-pep517
+make_check_args="--timeout=0"
+hostmakedepends="python3-setuptools python3-devel python3-wheel"
+depends="python3"
+checkdepends="python3-pytest python3-pytest-xdist python3-pytest-timeout python3-importlib_metadata python3-psutil python3-untangle python3-Flask python3-gevent python3-numpy python3-requests python3-typing_extensions"
+short_desc="Implementation of the Debug Adapter Protocol for Python"
+maintainer="Zachary Hanham <z@zmhanham.com>"
+license="MIT"
+homepage="https://github.com/microsoft/debugpy/"
+distfiles="https://github.com/microsoft/debugpy/archive/refs/tags/v${version}.tar.gz"
+checksum=5bfe7303e21d6cf7bfc9f81931303924ce27873e23d08699568bde52c35a405c
+
+# Suffix for attach lib compiled in pre_build
+case "$XBPS_TARGET_MACHINE" in
+ i686*) _attach_lib_suffix='x86';;
+ x86_64*) _attach_lib_suffix='amd64';;
+ aarch64*) _attach_lib_suffix='arm64';;
+ *) broken='unsupported platform for pydevd_attach_to_process';;
+esac
+
+pre_build() {
+ # Compile pydevd_attach_to_process's attach_linux_*.so lib
+ # Based on contents of linux_and_mac/compile_linux.sh
+ cd src/debugpy/_vendored/pydevd/pydevd_attach_to_process
+ ${CXX} ${CXXFLAGS} linux_and_mac/attach.cpp -Ilinux_and_mac -std=c++11 -fPIC -nostartfiles -shared -o "attach_linux_${_attach_lib_suffix}.so"
+}
+
+pre_check() {
+ # Do not wait for spawns/exits
+ export DEBUGPY_PROCESS_SPAWN_TIMEOUT=0
+ export DEBUGPY_PROCESS_EXIT_TIMEOUT=0
+}
+
+post_install() {
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: New packages: python3-debugpy-1.8.9, python3-untangle-1.2.1
2024-12-13 3:50 [PR PATCH] New packages: python3-debugpy-1.8.9, python3-untangle-1.2.1 zackattackz
@ 2024-12-13 4:01 ` zackattackz
2024-12-13 18:15 ` zackattackz
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: zackattackz @ 2024-12-13 4:01 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 352 bytes --]
New comment by zackattackz on void-packages repository
https://github.com/void-linux/void-packages/pull/53505#issuecomment-2540502797
Comment:
Needs testing on musl. Also, I'm unsure if debugpy could work on other architectures besides the three I have listed, but those three are what debugpy is listed as supporting on pypi, as well as in nixpkgs.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: New packages: python3-debugpy-1.8.9, python3-untangle-1.2.1
2024-12-13 3:50 [PR PATCH] New packages: python3-debugpy-1.8.9, python3-untangle-1.2.1 zackattackz
2024-12-13 4:01 ` zackattackz
@ 2024-12-13 18:15 ` zackattackz
2024-12-13 18:21 ` zackattackz
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: zackattackz @ 2024-12-13 18:15 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 328 bytes --]
New comment by zackattackz on void-packages repository
https://github.com/void-linux/void-packages/pull/53505#issuecomment-2542001953
Comment:
It seems like the tests are either taking way too long or hanging. They build for me on x86_64 4 workers on both my void machine and also in the void-buildroot container in ~10 mins.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: New packages: python3-debugpy-1.8.9, python3-untangle-1.2.1
2024-12-13 3:50 [PR PATCH] New packages: python3-debugpy-1.8.9, python3-untangle-1.2.1 zackattackz
2024-12-13 4:01 ` zackattackz
2024-12-13 18:15 ` zackattackz
@ 2024-12-13 18:21 ` zackattackz
2024-12-13 19:18 ` [PR PATCH] [Updated] " zackattackz
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: zackattackz @ 2024-12-13 18:21 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 459 bytes --]
New comment by zackattackz on void-packages repository
https://github.com/void-linux/void-packages/pull/53505#issuecomment-2542001953
Comment:
It seems like the tests are either taking way too long or hanging. They build for me on x86_64 4 workers on both my void machine and also in the void-buildroot container in ~10 mins.
EDIT: Yeah looks like hanging, because up to 93% of the tests finish in 10 mins and then they get stuck for the rest of the tim
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PR PATCH] [Updated] New packages: python3-debugpy-1.8.9, python3-untangle-1.2.1
2024-12-13 3:50 [PR PATCH] New packages: python3-debugpy-1.8.9, python3-untangle-1.2.1 zackattackz
` (2 preceding siblings ...)
2024-12-13 18:21 ` zackattackz
@ 2024-12-13 19:18 ` zackattackz
2024-12-13 19:19 ` zackattackz
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: zackattackz @ 2024-12-13 19:18 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1518 bytes --]
There is an updated pull request by zackattackz against master on the void-packages repository
https://github.com/zackattackz/void-packages debugpy
https://github.com/void-linux/void-packages/pull/53505
New packages: python3-debugpy-1.8.9, python3-untangle-1.2.1
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
#### Notes
- python3-untangle is needed only as a check dependency of python3-debugpy. Could skip those tests and not add python3-untangle, but it is not a very complicated package and seems pretty stable anyways so might as well add it I think.
A patch file from https://github.com/void-linux/void-packages/pull/53505.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-debugpy-53505.patch --]
[-- Type: text/x-diff, Size: 7607 bytes --]
From a3d7948955734086e144e0df334c02d0ca50c07a Mon Sep 17 00:00:00 2001
From: Zachary Hanham <z@zmhanham.com>
Date: Thu, 12 Dec 2024 22:31:23 -0500
Subject: [PATCH 1/2] New package: python3-untangle-1.2.1
---
srcpkgs/python3-untangle/template | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
create mode 100644 srcpkgs/python3-untangle/template
diff --git a/srcpkgs/python3-untangle/template b/srcpkgs/python3-untangle/template
new file mode 100644
index 00000000000000..a45369851180a4
--- /dev/null
+++ b/srcpkgs/python3-untangle/template
@@ -0,0 +1,22 @@
+# Template file for 'python3-untangle'
+pkgname=python3-untangle
+version=1.2.1
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-defusedxml"
+depends="python3-defusedxml"
+short_desc="Converts XML to Python objects"
+maintainer="Zachary Hanham <z@zmhanham.com>"
+license="MIT"
+homepage="https://github.com/stchris/untangle"
+changelog="https://raw.githubusercontent.com/stchris/untangle/refs/heads/main/CHANGELOG.md"
+distfiles="https://github.com/stchris/untangle/archive/refs/tags/${version}.tar.gz"
+checksum=696643dd2879c1af55c592e07bf0de48d330157d2def66993abaa0169661dadc
+
+do_check() {
+ python -m unittest discover -s tests
+}
+
+post_install() {
+ vlicense LICENSE
+}
From e6efc1fe18336546a4a76e59d2241563631e0cf6 Mon Sep 17 00:00:00 2001
From: Zachary Hanham <z@zmhanham.com>
Date: Thu, 12 Dec 2024 22:31:52 -0500
Subject: [PATCH 2/2] New package: python3-debugpy-1.8.9
---
.../patches/fix_pythonpath_test.patch | 11 +++++
.../patches/skip_attach_pid_test.patch | 24 +++++++++++
.../patches/skip_django_tests.patch | 35 ++++++++++++++++
srcpkgs/python3-debugpy/template | 41 +++++++++++++++++++
4 files changed, 111 insertions(+)
create mode 100644 srcpkgs/python3-debugpy/patches/fix_pythonpath_test.patch
create mode 100644 srcpkgs/python3-debugpy/patches/skip_attach_pid_test.patch
create mode 100644 srcpkgs/python3-debugpy/patches/skip_django_tests.patch
create mode 100644 srcpkgs/python3-debugpy/template
diff --git a/srcpkgs/python3-debugpy/patches/fix_pythonpath_test.patch b/srcpkgs/python3-debugpy/patches/fix_pythonpath_test.patch
new file mode 100644
index 00000000000000..ec4e5fee99b80e
--- /dev/null
+++ b/srcpkgs/python3-debugpy/patches/fix_pythonpath_test.patch
@@ -0,0 +1,11 @@
+Fix importing of debugpy in test_nodebug
+--- a/tests/debug/session.py
++++ b/tests/debug/session.py
+@@ -704,6 +704,7 @@ class Session(object):
+ if "PYTHONPATH" in self.config.env:
+ # If specified, launcher will use it in lieu of PYTHONPATH it inherited
+ # from the adapter when spawning debuggee, so we need to adjust again.
++ self.config.env.prepend_to("PYTHONPATH", os.environ["PYTHONPATH"])
+ self.config.env.prepend_to("PYTHONPATH", DEBUGGEE_PYTHONPATH.strpath)
+
+ # Adapter is going to start listening for server and spawn the launcher at
diff --git a/srcpkgs/python3-debugpy/patches/skip_attach_pid_test.patch b/srcpkgs/python3-debugpy/patches/skip_attach_pid_test.patch
new file mode 100644
index 00000000000000..ac7a77424afb5d
--- /dev/null
+++ b/srcpkgs/python3-debugpy/patches/skip_attach_pid_test.patch
@@ -0,0 +1,24 @@
+Disable attach_pid tests because they are flaky, they are disabled by default in MacOS and Windows anyways.
+--- a/tests/debug/runners.py
++++ b/tests/debug/runners.py
+@@ -163,7 +163,7 @@ def _attach_common_config(session, target, cwd):
+ @_runner
+ @contextlib.contextmanager
+ def attach_pid(session, target, cwd=None, wait=True):
+- if wait and not sys.platform.startswith("linux"):
++ if wait:
+ pytest.skip("https://github.com/microsoft/ptvsd/issues/1926")
+
+ log.info("Attaching {0} to {1} by PID.", session, target)
+--- a/tests/debugpy/test_attach.py
++++ b/tests/debugpy/test_attach.py
+@@ -153,8 +153,7 @@ def test_reattach(pyfile, target, run):
+
+
+ @pytest.mark.parametrize("pid_type", ["int", "str"])
+-@pytest.mark.skipif(
+- not sys.platform.startswith("linux"),
++@pytest.mark.skip(
+ reason="https://github.com/microsoft/debugpy/issues/311",
+ )
+ @pytest.mark.flaky(retries=2, delay=1)
diff --git a/srcpkgs/python3-debugpy/patches/skip_django_tests.patch b/srcpkgs/python3-debugpy/patches/skip_django_tests.patch
new file mode 100644
index 00000000000000..b70a1dc5637b27
--- /dev/null
+++ b/srcpkgs/python3-debugpy/patches/skip_django_tests.patch
@@ -0,0 +1,35 @@
+Skip django tests as it is not in void-packages
+--- a/tests/debugpy/test_django.py
++++ b/tests/debugpy/test_django.py
+@@ -45,6 +45,7 @@
+
+
+ @pytest.mark.parametrize("bp_target", ["code", "template"])
++@pytest.mark.skip(reason="django is not packaged by void")
+ def test_django_breakpoint_no_multiproc(start_django, bp_target):
+ bp_file, bp_line, bp_name = {
+ "code": (paths.app_py, lines.app_py["bphome"], "home"),
+@@ -90,6 +91,7 @@
+ assert bp_var_content in home_request.response_text()
+
+
++@pytest.mark.skip(reason="django is not packaged by void")
+ def test_django_template_exception_no_multiproc(start_django):
+ with debug.Session() as session:
+ with start_django(session):
+@@ -136,6 +138,7 @@
+
+
+ @pytest.mark.parametrize("exc_type", ["handled", "unhandled"])
++@pytest.mark.skip(reason="django is not packaged by void")
+ def test_django_exception_no_multiproc(start_django, exc_type):
+ exc_line = lines.app_py["exc_" + exc_type]
+
+@@ -186,6 +189,7 @@
+ session.request_continue()
+
+
++@pytest.mark.skip(reason="django is not packaged by void")
+ def test_django_breakpoint_multiproc(start_django):
+ bp_line = lines.app_py["bphome"]
+ bp_var_content = "Django-Django-Test"
diff --git a/srcpkgs/python3-debugpy/template b/srcpkgs/python3-debugpy/template
new file mode 100644
index 00000000000000..ae299244e34ecf
--- /dev/null
+++ b/srcpkgs/python3-debugpy/template
@@ -0,0 +1,41 @@
+# Template file for 'python3-debugpy'
+pkgname=python3-debugpy
+version=1.8.9
+revision=1
+archs="i686* x86_64* aarch64*"
+build_style=python3-pep517
+make_check_args="--timeout=0 -vv --log-cli-level=DEBUG"
+hostmakedepends="python3-setuptools python3-devel python3-wheel"
+depends="python3"
+checkdepends="python3-pytest python3-pytest-xdist python3-pytest-timeout python3-importlib_metadata python3-psutil python3-untangle python3-Flask python3-gevent python3-numpy python3-requests python3-typing_extensions"
+short_desc="Implementation of the Debug Adapter Protocol for Python"
+maintainer="Zachary Hanham <z@zmhanham.com>"
+license="MIT"
+homepage="https://github.com/microsoft/debugpy/"
+distfiles="https://github.com/microsoft/debugpy/archive/refs/tags/v${version}.tar.gz"
+checksum=5bfe7303e21d6cf7bfc9f81931303924ce27873e23d08699568bde52c35a405c
+
+# Suffix for attach lib compiled in pre_build
+case "$XBPS_TARGET_MACHINE" in
+ i686*) _attach_lib_suffix='x86';;
+ x86_64*) _attach_lib_suffix='amd64';;
+ aarch64*) _attach_lib_suffix='arm64';;
+ *) broken='unsupported platform for pydevd_attach_to_process';;
+esac
+
+pre_build() {
+ # Compile pydevd_attach_to_process's attach_linux_*.so lib
+ # Based on contents of linux_and_mac/compile_linux.sh
+ cd src/debugpy/_vendored/pydevd/pydevd_attach_to_process
+ ${CXX} ${CXXFLAGS} linux_and_mac/attach.cpp -Ilinux_and_mac -std=c++11 -fPIC -nostartfiles -shared -o "attach_linux_${_attach_lib_suffix}.so"
+}
+
+pre_check() {
+ # Do not wait for spawns/exits
+ export DEBUGPY_PROCESS_SPAWN_TIMEOUT=0
+ export DEBUGPY_PROCESS_EXIT_TIMEOUT=0
+}
+
+post_install() {
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: New packages: python3-debugpy-1.8.9, python3-untangle-1.2.1
2024-12-13 3:50 [PR PATCH] New packages: python3-debugpy-1.8.9, python3-untangle-1.2.1 zackattackz
` (3 preceding siblings ...)
2024-12-13 19:18 ` [PR PATCH] [Updated] " zackattackz
@ 2024-12-13 19:19 ` zackattackz
2025-03-14 2:02 ` github-actions
2025-03-28 2:05 ` [PR PATCH] [Closed]: " github-actions
6 siblings, 0 replies; 8+ messages in thread
From: zackattackz @ 2024-12-13 19:19 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 203 bytes --]
New comment by zackattackz on void-packages repository
https://github.com/void-linux/void-packages/pull/53505#issuecomment-2542096731
Comment:
Amended with verbose logging to try to figure out problem
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: New packages: python3-debugpy-1.8.9, python3-untangle-1.2.1
2024-12-13 3:50 [PR PATCH] New packages: python3-debugpy-1.8.9, python3-untangle-1.2.1 zackattackz
` (4 preceding siblings ...)
2024-12-13 19:19 ` zackattackz
@ 2025-03-14 2:02 ` github-actions
2025-03-28 2:05 ` [PR PATCH] [Closed]: " github-actions
6 siblings, 0 replies; 8+ messages in thread
From: github-actions @ 2025-03-14 2:02 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 305 bytes --]
New comment by github-actions[bot] on void-packages repository
https://github.com/void-linux/void-packages/pull/53505#issuecomment-2723136435
Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PR PATCH] [Closed]: New packages: python3-debugpy-1.8.9, python3-untangle-1.2.1
2024-12-13 3:50 [PR PATCH] New packages: python3-debugpy-1.8.9, python3-untangle-1.2.1 zackattackz
` (5 preceding siblings ...)
2025-03-14 2:02 ` github-actions
@ 2025-03-28 2:05 ` github-actions
6 siblings, 0 replies; 8+ messages in thread
From: github-actions @ 2025-03-28 2:05 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1354 bytes --]
There's a closed pull request on the void-packages repository
New packages: python3-debugpy-1.8.9, python3-untangle-1.2.1
https://github.com/void-linux/void-packages/pull/53505
Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
#### Notes
- python3-untangle is needed only as a check dependency of python3-debugpy. Could skip those tests and not add python3-untangle, but it is not a very complicated package and seems pretty stable anyways so might as well add it I think.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2025-03-28 2:05 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-12-13 3:50 [PR PATCH] New packages: python3-debugpy-1.8.9, python3-untangle-1.2.1 zackattackz
2024-12-13 4:01 ` zackattackz
2024-12-13 18:15 ` zackattackz
2024-12-13 18:21 ` zackattackz
2024-12-13 19:18 ` [PR PATCH] [Updated] " zackattackz
2024-12-13 19:19 ` zackattackz
2025-03-14 2:02 ` github-actions
2025-03-28 2:05 ` [PR PATCH] [Closed]: " github-actions
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).