All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/python-beautifulsoup4: needs python3
@ 2021-09-27  5:38 Fabrice Fontaine
  2021-09-27 14:36 ` Arnout Vandecappelle
  0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2021-09-27  5:38 UTC (permalink / raw)
  To: buildroot; +Cc: Fabrice Fontaine, Asaf Kahlon, Thomas Petazzoni

python2 support has been removed since version 4.9.3 resulting in the
following build failure since bump to version 4.10.0 in commit
109ea1a4a2f9154c5d9502ba814a09e1e1bbd9f5:

  File "/tmp/instance-1/output-1/build/python-beautifulsoup4-4.10.0/bs4/__init__.py", line 36, in <module>
    raise ImportError('You are trying to use a Python 3-specific version of Beautiful Soup under Python 2. This will not work. The final version of Beautiful Soup to support Python 2 was 4.9.3.')

Fixes:
 - http://autobuild.buildroot.org/results/57e6677932f587c279cc0ed671895740d0cf2304

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/python-beautifulsoup4/Config.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/python-beautifulsoup4/Config.in b/package/python-beautifulsoup4/Config.in
index eb7d2ba673..93fa540a73 100644
--- a/package/python-beautifulsoup4/Config.in
+++ b/package/python-beautifulsoup4/Config.in
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_PYTHON_BEAUTIFULSOUP4
 	bool "python-beautifulsoup4"
+	depends on BR2_PACKAGE_PYTHON3
 	select BR2_PACKAGE_PYTHON_SOUPSIEVE # runtime
 	help
 	  Beautiful Soup is a Python library for pulling data out of
-- 
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-beautifulsoup4: needs python3
  2021-09-27  5:38 [Buildroot] [PATCH 1/1] package/python-beautifulsoup4: needs python3 Fabrice Fontaine
@ 2021-09-27 14:36 ` Arnout Vandecappelle
  0 siblings, 0 replies; 2+ messages in thread
From: Arnout Vandecappelle @ 2021-09-27 14:36 UTC (permalink / raw)
  To: Fabrice Fontaine, buildroot; +Cc: Thomas Petazzoni, Asaf Kahlon



On 27/09/2021 07:38, Fabrice Fontaine wrote:
> python2 support has been removed since version 4.9.3 resulting in the
> following build failure since bump to version 4.10.0 in commit
> 109ea1a4a2f9154c5d9502ba814a09e1e1bbd9f5:
> 
>    File "/tmp/instance-1/output-1/build/python-beautifulsoup4-4.10.0/bs4/__init__.py", line 36, in <module>
>      raise ImportError('You are trying to use a Python 3-specific version of Beautiful Soup under Python 2. This will not work. The final version of Beautiful Soup to support Python 2 was 4.9.3.')
> 
> Fixes:
>   - http://autobuild.buildroot.org/results/57e6677932f587c279cc0ed671895740d0cf2304
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

  I've also updated the comment in the reverse dependency.

  Applied to master, thanks.

  Regards,
  Arnout

> ---
>   package/python-beautifulsoup4/Config.in | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/package/python-beautifulsoup4/Config.in b/package/python-beautifulsoup4/Config.in
> index eb7d2ba673..93fa540a73 100644
> --- a/package/python-beautifulsoup4/Config.in
> +++ b/package/python-beautifulsoup4/Config.in
> @@ -1,5 +1,6 @@
>   config BR2_PACKAGE_PYTHON_BEAUTIFULSOUP4
>   	bool "python-beautifulsoup4"
> +	depends on BR2_PACKAGE_PYTHON3
>   	select BR2_PACKAGE_PYTHON_SOUPSIEVE # runtime
>   	help
>   	  Beautiful Soup is a Python library for pulling data out of
> 
_______________________________________________
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-09-27 14:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-27  5:38 [Buildroot] [PATCH 1/1] package/python-beautifulsoup4: needs python3 Fabrice Fontaine
2021-09-27 14:36 ` Arnout Vandecappelle

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.