From: Peter Korsgaard <peter@korsgaard.com>
To: buildroot@buildroot.org
Subject: [Buildroot] [git commit branch/2021.02.x] package/python-txtorcon: drop python2 support
Date: Thu, 24 Mar 2022 20:42:19 +0100 [thread overview]
Message-ID: <20220324193927.1676385BB9@busybox.osuosl.org> (raw)
commit: https://git.buildroot.net/buildroot/commit/?id=7a6448f1aaef2f1da7fa2016b5f473d5e9aeec64
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2021.02.x
Txtorcon is built on top of twisted, which is python3 only since commit
f1db1922e460d4f (package/python-twisted: Needs python 3), so propagate the
python3 dependency.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
package/python-txtorcon/Config.in | 1 +
support/testing/tests/package/test_python_txtorcon.py | 11 -----------
2 files changed, 1 insertion(+), 11 deletions(-)
diff --git a/package/python-txtorcon/Config.in b/package/python-txtorcon/Config.in
index 4f91e7b048..09166a26bb 100644
--- a/package/python-txtorcon/Config.in
+++ b/package/python-txtorcon/Config.in
@@ -1,6 +1,7 @@
config BR2_PACKAGE_PYTHON_TXTORCON
bool "python-txtorcon"
depends on BR2_INSTALL_LIBSTDCPP # python-pyopenssl, python-service-identity
+ depends on BR2_PACKAGE_PYTHON3 # python-twisted
select BR2_PACKAGE_PYTHON_AUTOMAT # runtime
select BR2_PACKAGE_PYTHON_IDNA # runtime
select BR2_PACKAGE_PYTHON_INCREMENTAL # runtime
diff --git a/support/testing/tests/package/test_python_txtorcon.py b/support/testing/tests/package/test_python_txtorcon.py
index 1ac2f6919a..8e74190ee1 100644
--- a/support/testing/tests/package/test_python_txtorcon.py
+++ b/support/testing/tests/package/test_python_txtorcon.py
@@ -1,17 +1,6 @@
from tests.package.test_python import TestPythonPackageBase
-class TestPythonPy2Txtorcon(TestPythonPackageBase):
- __test__ = True
- config = TestPythonPackageBase.config + \
- """
- BR2_PACKAGE_PYTHON=y
- BR2_PACKAGE_PYTHON_TXTORCON=y
- """
- sample_scripts = ["tests/package/sample_python_txtorcon.py"]
- timeout = 30
-
-
class TestPythonPy3Txtorcon(TestPythonPackageBase):
__test__ = True
config = TestPythonPackageBase.config + \
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
reply other threads:[~2022-03-24 19:49 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220324193927.1676385BB9@busybox.osuosl.org \
--to=peter@korsgaard.com \
--cc=buildroot@buildroot.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.