All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Yann E. MORIN" <yann.morin.1998@free.fr>
To: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Cc: Asaf Kahlon <asafka7@gmail.com>,
	Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
	buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/1] package/python-psycopg2: needs python3
Date: Sun, 3 Oct 2021 22:32:05 +0200	[thread overview]
Message-ID: <20211003203205.GZ1504958@scaer> (raw)
In-Reply-To: <20210929163144.1779192-1-fontaine.fabrice@gmail.com>

Fabrice, All,

On 2021-09-29 18:31 +0200, Fabrice Fontaine spake thusly:
> python 2 support has been dropped since version 2.9 and
> https://github.com/psycopg/psycopg2/commit/d956eaa3b1842a14895685be0d6d5e380fd029fc
> resulting in the following build failure since bump to version 2.9.1 in
> commit 09417e47d706e5d7d58c0f886b4679064c5175fa:
> 
>   File "setup.py", line 117
>     f"Unable to find 'pg_config' file in '{self.pg_config_exe}'")
>                                                                ^
> 
> Fixes:
>  - http://autobuild.buildroot.org/results/f8a2cf9eea500e2c617381840b849225f12b56f1
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
>  package/python-psycopg2/Config.in | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/package/python-psycopg2/Config.in b/package/python-psycopg2/Config.in
> index 5ffe179517..fba781c014 100644
> --- a/package/python-psycopg2/Config.in
> +++ b/package/python-psycopg2/Config.in
> @@ -1,5 +1,6 @@
>  config BR2_PACKAGE_PYTHON_PSYCOPG2
>  	bool "python-psycopg2"
> +	depends on BR2_PACKAGE_PYTHON3
>  	depends on BR2_USE_WCHAR # postgresql
>  	select BR2_PACKAGE_POSTGRESQL
>  	help
> @@ -21,5 +22,7 @@ config BR2_PACKAGE_PYTHON_PSYCOPG2
>  	  Psycopg 2 is both Unicode and Python 3 friendly.
>  
>  	  http://initd.org/psycopg/
> +
>  comment "python-psycopg2 needs a toolchain w/ wchar"
> +	depends on BR2_PACKAGE_PYTHON3
>  	depends on !BR2_USE_WCHAR
> -- 
> 2.33.0
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

      reply	other threads:[~2021-10-03 20:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-29 16:31 [Buildroot] [PATCH 1/1] package/python-psycopg2: needs python3 Fabrice Fontaine
2021-10-03 20:32 ` Yann E. MORIN [this message]

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=20211003203205.GZ1504958@scaer \
    --to=yann.morin.1998@free.fr \
    --cc=asafka7@gmail.com \
    --cc=buildroot@buildroot.org \
    --cc=fontaine.fabrice@gmail.com \
    --cc=thomas.petazzoni@bootlin.com \
    /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.