Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/python-sentry-sdk: drop httpx.py for python 2.x to fix pycompile issue
@ 2021-10-20 16:32 Fabrice Fontaine
  2021-10-20 21:35 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2021-10-20 16:32 UTC (permalink / raw)
  To: buildroot; +Cc: Joseph Kogut, Fabrice Fontaine, Asaf Kahlon, Thomas Petazzoni

Drop httpx.py to fix the following build failure with python 2.x raised
since bump to version 1.4.3 in commit
fd684ab9f38ad908013d09fe7e46cebfada4406c and
https://github.com/getsentry/sentry-python/commit/e2d0893824481c9a5dd3141872d90d0888c4c5f8:

error:   File "/usr/lib/python2.7/site-packages/sentry_sdk/integrations/httpx.py", line 69
    async def send(self, request, **kwargs):
            ^

Fixes:
 - http://autobuild.buildroot.org/results/fd651abb3bc2fa33c861238acf1c4ad49fdac160

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/python-sentry-sdk/python-sentry-sdk.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/python-sentry-sdk/python-sentry-sdk.mk b/package/python-sentry-sdk/python-sentry-sdk.mk
index 5ccd2aff5c..556f03e137 100644
--- a/package/python-sentry-sdk/python-sentry-sdk.mk
+++ b/package/python-sentry-sdk/python-sentry-sdk.mk
@@ -15,7 +15,7 @@ ifeq ($(BR2_PACKAGE_PYTHON),y)
 # only needed/valid for python 3.x
 define PYTHON_SENTRY_SDK_RM_PY3_FILES
 	rm -f $(addprefix $(TARGET_DIR)/usr/lib/python*/site-packages/sentry_sdk/integrations/,\
-		aiohttp.py asgi.py django/asgi.py sanic.py tornado.py)
+		aiohttp.py asgi.py django/asgi.py httpx.py sanic.py tornado.py)
 endef
 
 PYTHON_SENTRY_SDK_POST_INSTALL_TARGET_HOOKS += PYTHON_SENTRY_SDK_RM_PY3_FILES
-- 
2.33.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH 1/1] package/python-sentry-sdk: drop httpx.py for python 2.x to fix pycompile issue
  2021-10-20 16:32 [Buildroot] [PATCH 1/1] package/python-sentry-sdk: drop httpx.py for python 2.x to fix pycompile issue Fabrice Fontaine
@ 2021-10-20 21:35 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2021-10-20 21:35 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: Joseph Kogut, Asaf Kahlon, buildroot

On Wed, 20 Oct 2021 18:32:37 +0200
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:

> Drop httpx.py to fix the following build failure with python 2.x raised
> since bump to version 1.4.3 in commit
> fd684ab9f38ad908013d09fe7e46cebfada4406c and
> https://github.com/getsentry/sentry-python/commit/e2d0893824481c9a5dd3141872d90d0888c4c5f8:
> 
> error:   File "/usr/lib/python2.7/site-packages/sentry_sdk/integrations/httpx.py", line 69
>     async def send(self, request, **kwargs):
>             ^
> 
> Fixes:
>  - http://autobuild.buildroot.org/results/fd651abb3bc2fa33c861238acf1c4ad49fdac160
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
>  package/python-sentry-sdk/python-sentry-sdk.mk | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2021-10-20 21:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-20 16:32 [Buildroot] [PATCH 1/1] package/python-sentry-sdk: drop httpx.py for python 2.x to fix pycompile issue Fabrice Fontaine
2021-10-20 21:35 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox