All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [git commit branch/2021.02.x] package/python-treq: drop python2 support
@ 2022-03-24 19:36 Peter Korsgaard
  0 siblings, 0 replies; only message in thread
From: Peter Korsgaard @ 2022-03-24 19:36 UTC (permalink / raw)
  To: buildroot

commit: https://git.buildroot.net/buildroot/commit/?id=294b6e050d2aaf164770d05ececc270da845088f
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2021.02.x

Fixes:
http://autobuild.buildroot.net/results/94e/94e009e322787bbcaac3704b64218cefe77b0f56/

Treq 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-treq/Config.in                     | 1 +
 support/testing/tests/package/test_python_treq.py | 9 ---------
 2 files changed, 1 insertion(+), 9 deletions(-)

diff --git a/package/python-treq/Config.in b/package/python-treq/Config.in
index 23056e72d2..6ca8be8ab7 100644
--- a/package/python-treq/Config.in
+++ b/package/python-treq/Config.in
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_PYTHON_TREQ
 	bool "python-treq"
 	depends on BR2_INSTALL_LIBSTDCPP # python-pyopenssl
+	depends on BR2_PACKAGE_PYTHON3 # python-twisted
 	select BR2_PACKAGE_PYTHON_ATTRS # runtime
 	select BR2_PACKAGE_PYTHON_IDNA # runtime
 	select BR2_PACKAGE_PYTHON_INCREMENTAL # runtime
diff --git a/support/testing/tests/package/test_python_treq.py b/support/testing/tests/package/test_python_treq.py
index e24ae845be..d7a23829ea 100644
--- a/support/testing/tests/package/test_python_treq.py
+++ b/support/testing/tests/package/test_python_treq.py
@@ -12,15 +12,6 @@ class TestPythonTreq(TestPythonPackageBase):
         self.assertEqual(exit_code, 0)
 
 
-class TestPythonPy2Treq(TestPythonTreq):
-    __test__ = True
-    config = TestPythonTreq.config + \
-        """
-        BR2_PACKAGE_PYTHON=y
-        BR2_PACKAGE_PYTHON_TREQ=y
-        """
-
-
 class TestPythonPy3Treq(TestPythonTreq):
     __test__ = True
     config = TestPythonTreq.config + \
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-03-24 19:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-24 19:36 [Buildroot] [git commit branch/2021.02.x] package/python-treq: drop python2 support Peter Korsgaard

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.