On Sat, 2021-10-23 at 23:03 +0100, Andreas Sandberg wrote:
>
> [ ... ]
>
> I have hit this issue when building with newer Python versions. It'd be
> useful to have the fallback since all Python versions that distinguish
> between the embedding and library cases provide python3-embed.pc.
>
> The commit [1] python3.8-embed.pc also introduced a symlink to
> python3-embed.pc. This is consistent with the usage described in PEP-394
> [2] which recommends that command line tools have a toolX -> toolX.Y
> symlink. This PEP doesn't specifically mention pkg-config interactions, but
> it does list the script-based tool (pythonX.Y-config) that achieves the
> same thing.
>
> Is there any chance we can merge this to avoid constant build issues
> whenever there is a new version of Python?
>
> Thanks,
> Andreas
>
> [1] 
> https://github.com/python/cpython/commit/0a8e57248b913851640c64375600f05157c997df
> [2] https://www.python.org/dev/peps/pep-0394/

Have rebased the commit provided by Evangelos Foutras, see
libsigrokdecode a6a5e2c8b0e9. Hope this will transparently
cover 3.11 and other Python versions.

Thank you for the research and for providing the references.


virtually yours
Gerhard Sittig
--
     If you don't understand or are scared by any of the above
             ask your parents or an adult to help you.


_______________________________________________
sigrok-devel mailing list
sigrok-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to