All of lore.kernel.org
 help / color / mirror / Atom feed
* [master][dunfell] Revert "prservice.py: fix do_package with newer Python in Ubuntu 20.04"
@ 2020-06-05 15:50 Peter Kjellerstedt
  2020-06-09 12:22 ` [OE-core] " Richard Purdie
       [not found] ` <1616DF96BBE13D68.17072@lists.openembedded.org>
  0 siblings, 2 replies; 3+ messages in thread
From: Peter Kjellerstedt @ 2020-06-05 15:50 UTC (permalink / raw)
  To: openembedded-core

This reverts commit 4b26eaf7152fb712aba47a0c746333578f58ee8d.

Since the problem occurred while importing prserv, the solution has
been moved into it instead so it is solved for all cases where prserv
is imported, most notably when using devtool.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
---
 meta/lib/oe/prservice.py | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/meta/lib/oe/prservice.py b/meta/lib/oe/prservice.py
index 2d3c9c7e50..fcdbe66c19 100644
--- a/meta/lib/oe/prservice.py
+++ b/meta/lib/oe/prservice.py
@@ -3,10 +3,6 @@
 #
 
 def prserv_make_conn(d, check = False):
-    # Otherwise this fails when called from recipes which e.g. inherit python3native (which sets _PYTHON_SYSCONFIGDATA_NAME) with:
-    # No module named '_sysconfigdata'
-    if '_PYTHON_SYSCONFIGDATA_NAME' in os.environ:
-        del os.environ['_PYTHON_SYSCONFIGDATA_NAME']
     import prserv.serv
     host_params = list([_f for _f in (d.getVar("PRSERV_HOST") or '').split(':') if _f])
     try:

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-06-09 12:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-05 15:50 [master][dunfell] Revert "prservice.py: fix do_package with newer Python in Ubuntu 20.04" Peter Kjellerstedt
2020-06-09 12:22 ` [OE-core] " Richard Purdie
     [not found] ` <1616DF96BBE13D68.17072@lists.openembedded.org>
2020-06-09 12:26   ` Richard Purdie

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.