Test: python312-3.12.8-1

Jon Turney jon.turney@dronecode.org.uk
Thu Jan 8 20:45:21 GMT 2026


On 30/12/2024 13:53, Marco Atzeri via Cygwin-announce wrote:
> New test release for
> 
>      python312    3.12.8-1
> 
Hi Marco,

Just came across something a bit odd when trying to update the libsolv 
package:

That uses sysconfig.get_path('platlib') to determine where to install 
the python binding, which returns a path in /usr/local.

> $ python3.12 -m sysconfig | head -n 14 -
> Platform: "cygwin-3.7.0-x86_64"
> Python version: "3.12"
> Current installation scheme: "posix_prefix"
> 
> Paths:
>         data = "/usr/local"
>         include = "/usr/include/python3.12"
>         platinclude = "/usr/include/python3.12"
>         platlib = "/usr/local/lib/python3.12/site-packages"
>         platstdlib = "/usr/local/lib/python3.12"
>         purelib = "/usr/local/lib/python3.12/site-packages"
>         scripts = "/usr/local/bin"
>         stdlib = "/usr/lib/python3.12"

which seems strange when compared with:

> $ python3.9 -m sysconfig | head -n 14 -
> Platform: "cygwin-3.7.0-x86_64"
> Python version: "3.9"
> Current installation scheme: "posix_prefix"
> 
> Paths:
>         data = "/usr"
>         include = "/usr/include/python3.9"
>         platinclude = "/usr/include/python3.9"
>         platlib = "/usr/lib/python3.9/site-packages"
>         platstdlib = "/usr/lib/python3.9"
>         purelib = "/usr/lib/python3.9/site-packages"
>         scripts = "/usr/bin"
>         stdlib = "/usr/lib/python3.9"

Is this change intentional?



More information about the Cygwin mailing list